diff --git a/.zuul.yaml b/.zuul.yaml index ddd3bf5..7c7f530 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,17 +1,17 @@ - - project: - check: - jobs: - - validate +- project: + check: + jobs: + - validate - - job: - name: validate - description: Validate manifests, scripts, dependencies and compose the base image - # Increased timeout as builds can take a while - timeout: 3600 - run: ci/validate.yaml - nodeset: - nodes: - - name: vm - # Replace by a fixed version label after branching, once available: - # https://fedora.softwarefactory-project.io/zuul/labels - label: cloud-fedora-rawhide-medium +- job: + name: validate + description: Validate manifests, scripts, dependencies and compose the base image + # Increased timeout as builds can take a while + timeout: 3600 + run: ci/validate.yaml + nodeset: + nodes: + - name: vm + # Replace by a fixed version label after branching, once available: + # https://fedora.softwarefactory-project.io/zuul/labels + label: cloud-fedora-rawhide-medium diff --git a/ci/validate.yaml b/ci/validate.yaml index 928cbc2..691695a 100644 --- a/ci/validate.yaml +++ b/ci/validate.yaml @@ -1,25 +1,25 @@ - - 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 +- 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