Commit graph

25 commits

Author SHA1 Message Date
Timothée Ravier
cf2612eb87 ci: Manually install python3-libdnf5 first
See: https://pagure.io/fedora-ci/general/issue/474
2024-08-29 19:27:10 +02:00
Timothée Ravier
32f0fa7704 Revert "ci: Temporarily skip building the base variant"
This reverts commit a4d4263ee8.
2024-08-29 19:27:10 +02:00
Timothée Ravier
a4d4263ee8 ci: Temporarily skip building the base variant
The Fedora 40 cloud images are currently limited in disk space in
SoftwareFactory. Let's only check for dependencies for now until this is
fixed.

See: https://pagure.io/fedora-ci/general/issue/488
2024-08-19 19:51:53 +02:00
Timothée Ravier
3587add6e4 ci: Check dependency resolution for classic ostree variants
With the split between classic ostree variants and the Bootable
Container ones, we are starting to diverge in package set for those
images.

Make sure to validate dependency resolution for both variants.
2024-07-26 17:14:41 +02:00
Timothée Ravier
3bd5718f4a ci/validate: Test by building a Bootable Container
Switch to building a bootable container by default.
2024-06-19 18:54:02 +02:00
Timothée Ravier
6b402254c9 Use new Atomic names 2024-06-19 18:54:02 +02:00
Timothée Ravier
6cd2f8437a ci: Update all pacakges on the system first 2024-06-13 11:28:15 +02:00
Timothée Ravier
0667595535 ci/validate: Ignore correctly indented lines starting with [ 2024-06-11 10:36:44 +02:00
Timothée Ravier
fd6487c95f zuul: Verify that the comps and manifests are synced
Best effort (as it will only run on PRs) check for comps / manifests
sync.
2024-04-04 10:17:34 +02:00
Timothée Ravier
4b90deb10d ci: Split dependency check and run checks all on failures
- Split the dependency check into a distinct step for each variant
- If the dependency test failed, still run the compose base test to get
  results about it
- Add a step at the end to make sure that if any step fails, the
  workflow still fail

See: https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_error_handling.html#ignoring-failed-commands
See discussion in: https://pagure.io/workstation-ostree-config/pull-request/493
2024-03-01 20:10:05 +01:00
Timothée Ravier
8e0b7314f9 ci: Fix yaml lint 2024-03-01 20:10:05 +01:00
Timothée Ravier
97c49fdb16 ci/validate: Also validate Zuul YAML config 2024-03-01 20:10:05 +01:00
Timothée Ravier
44ba47cd29 zuul: Fix YAML indentation 2024-03-01 19:32:37 +01:00
Timothée Ravier
6b449c657f Zuul: Unify all jobs to save on CI costs
We need a VM for both the compose-dry-run and the compose-base tests
thus to avoid spawning two VMs in Zuul, let's keep everything in a
single job to save money.
2024-02-29 16:28:33 +01:00
Timothée Ravier
4b1160724f ci: Reformat package lists 2024-02-28 11:05:50 +00:00
Timothée Ravier
1b7d4e8e52 ci: Perform dependency resolution for all variants 2024-02-28 11:05:50 +00:00
Timothée Ravier
a4dc20da5f ci: Use just recipes for all tests 2024-02-28 11:05:50 +00:00
Timothée Ravier
50e2be80b8 Zuul: Add initial compose test (base only)
Test composing the base variant for all PRs. We don't compose all
variants yet as some fail in the Zuul infrastructure for an unknown
reason.

We only compose the base variant as it is the smallest and should give
enough assurance about the builds while not delaying PR merging too
much.

See: https://pagure.io/workstation-ostree-config/pull-request/405
2024-02-09 18:36:17 +01:00
Timothée Ravier
b2ed244868 ci: Validate (best effort) YAML manifests indentation
Best effort validation to catch common mistakes.
2023-02-16 11:49:46 +01:00
Timothée Ravier
e8667aac40 ci: Ignore ci directory & Zuul config in validation script 2023-02-16 11:49:46 +01:00
Timothée Ravier
9991f5b968 Zuul: Install python3-pyyaml dependency 2023-02-14 12:16:24 +01:00
Fabien Boucher
a5c4320806 Zuul: Explicitely set Zuul job nodeset
See: https://pagure.io/fedora-ci/general/issue/388
2023-02-14 12:16:24 +01:00
Timothée Ravier
0e38562e28 zuul: Add initial CI jobs using Zuul 2022-10-31 12:01:34 +01:00
Timothée Ravier
a0c3b97ad8 validate: Skip build directories 2022-09-08 16:52:48 +02:00
Timothée Ravier
f6457f06f0 Add script to validate manifests syntax 2022-08-19 11:35:46 +02:00