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

View file

@ -1,25 +1,25 @@
- hosts: all - hosts: all
tasks: tasks:
- name: Install dependencies - name: Install dependencies
package: package:
name: name:
- 'jq' - 'jq'
- 'just' - 'just'
- 'ostree' - 'ostree'
- 'python3-pyyaml' - 'python3-pyyaml'
- 'rpm-ostree' - 'rpm-ostree'
- 'selinux-policy-targeted' - 'selinux-policy-targeted'
state: present state: present
become: yes become: yes
- name: Validate manifests and scripts syntax - name: Validate manifests and scripts syntax
ansible.builtin.command: ansible.builtin.command:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
cmd: just validate cmd: just validate
- name: Perform dependency resolution for all variants - name: Perform dependency resolution for all variants
ansible.builtin.command: ansible.builtin.command:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
cmd: just compose-dry-run cmd: just compose-dry-run
- name: Compose the base variant - name: Compose the base variant
ansible.builtin.command: ansible.builtin.command:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
cmd: just compose-legacy base cmd: just compose-legacy base