Commit graph

17 commits

Author SHA1 Message Date
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