zuul: Fix YAML indentation

This commit is contained in:
Timothée Ravier 2024-03-01 19:32:37 +01:00
parent 760544f466
commit 44ba47cd29
2 changed files with 41 additions and 41 deletions

View file

@ -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

View file

@ -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