Skip to content

Commit

Permalink
zuul: Verify that the comps and manifests are synced
Browse files Browse the repository at this point in the history
Best effort (as it will only run on PRs) check for comps / manifests
sync.
  • Loading branch information
travier committed Apr 12, 2024
1 parent e9b9621 commit 8c73219
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ci/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
chdir: "{{ zuul.project.src_dir }}"
cmd: just validate

- name: Verify that the comps and manifests are synced
ansible.builtin.shell:
chdir: "{{ zuul.project.src_dir }}"
cmd: "just validate comps-sync-check && touch .zuulci.comps"
# Still run the next step if this one fails
ignore_errors: true

- name: Perform dependency resolution for Silverblue
ansible.builtin.shell:
chdir: "{{ zuul.project.src_dir }}"
Expand Down Expand Up @@ -53,4 +60,4 @@
- name: Check if any previous dependency resolution steps failed
ansible.builtin.shell:
chdir: "{{ zuul.project.src_dir }}"
cmd: "[[ -f .zuulci.silverblue ]] && [[ -f .zuulci.kinoite ]] && [[ -f .zuulci.sericea ]] && [[ -f .zuulci.onyx ]]"
cmd: "[[ -f .zuulci.comps ]] && [[ -f .zuulci.silverblue ]] && [[ -f .zuulci.kinoite ]] && [[ -f .zuulci.sericea ]] && [[ -f .zuulci.onyx ]]"

0 comments on commit 8c73219

Please sign in to comment.