ci-test/ci/validate.yaml

26 lines
769 B
YAML
Raw Normal View History

2022-10-26 09:11:02 +00:00
- hosts: all
tasks:
- name: Install dependencies
package:
name:
- 'jq'
- 'just'
- 'ostree'
- 'python3-pyyaml'
- 'rpm-ostree'
- 'selinux-policy-targeted'
state: present
become: yes
2022-10-26 09:11:02 +00:00
- name: Validate manifests and scripts syntax
ansible.builtin.command:
chdir: "{{ zuul.project.src_dir }}"
2024-02-26 23:20:55 +00:00
cmd: just validate
- name: Perform dependency resolution for all variants
ansible.builtin.command:
chdir: "{{ zuul.project.src_dir }}"
cmd: just compose-dry-run
- name: Compose the base variant
ansible.builtin.command:
chdir: "{{ zuul.project.src_dir }}"
cmd: just compose-legacy base