From d848239b31a946816b60d1aacf43985be4ff3fdd Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Feb 14 2023 11:40:21 +0000 Subject: [PATCH 1/2] Zuul: Explicitely set Zuul job nodeset See: https://pagure.io/fedora-ci/general/issue/388 --- diff --git a/.zuul.yaml b/.zuul.yaml index 6bf4c36..9345f6a 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -7,3 +7,7 @@ name: validate description: Validate manifests and scripts syntax run: ci/validate.yaml + nodeset: + nodes: + - name: container + label: zuul-worker-f37 diff --git a/ci/validate.yaml b/ci/validate.yaml index 70d6489..9a44caa 100644 --- a/ci/validate.yaml +++ b/ci/validate.yaml @@ -2,5 +2,5 @@ tasks: - name: Validate manifests and scripts syntax ansible.builtin.command: - chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}" + chdir: "{{ zuul.project.src_dir }}" cmd: ci/validate From 6cdb6d90d8d0da4271fb2332f99d36e03a2e9d49 Mon Sep 17 00:00:00 2001 From: Timothée Ravier Date: Feb 14 2023 11:40:21 +0000 Subject: [PATCH 2/2] Zuul: Install python3-pyyaml dependency --- diff --git a/ci/validate.yaml b/ci/validate.yaml index 9a44caa..4d8d78c 100644 --- a/ci/validate.yaml +++ b/ci/validate.yaml @@ -1,5 +1,10 @@ - hosts: all tasks: + - name: Install dependencies + package: + name: ['python3-pyyaml'] + state: present + become: yes - name: Validate manifests and scripts syntax ansible.builtin.command: chdir: "{{ zuul.project.src_dir }}"