6b449c657f
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.
25 lines
769 B
YAML
25 lines
769 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Install dependencies
|
|
package:
|
|
name:
|
|
- 'jq'
|
|
- 'just'
|
|
- 'ostree'
|
|
- 'python3-pyyaml'
|
|
- 'rpm-ostree'
|
|
- 'selinux-policy-targeted'
|
|
state: present
|
|
become: yes
|
|
- name: Validate manifests and scripts syntax
|
|
ansible.builtin.command:
|
|
chdir: "{{ zuul.project.src_dir }}"
|
|
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
|