From 730349607bcce76c0caac0e2e11003702d1eb121 Mon Sep 17 00:00:00 2001 From: Timothée Ravier Date: Mar 01 2024 19:44:27 +0000 Subject: zuul: Fix YAML indentation --- diff --git a/.zuul.yaml b/.zuul.yaml index f070ab8..a271c33 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,15 +1,15 @@ - - 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 - label: cloud-fedora-39-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 + label: cloud-fedora-39-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