From 28f7cf0cf656e6be60018ae88c848841ed96bfbd Mon Sep 17 00:00:00 2001 From: Miroslav Vadkerti Date: Wed, 12 Mar 2025 15:29:38 +0100 Subject: Split tmt plans into separate zuul jobs This should improve the experience by having separate clickable links for each test matrix item and see the pass/fail more early. Also make Testing Farm scale better as it uses separate TF requests for testing. Signed-off-by: Miroslav Vadkerti --- .zuul.yaml.j2 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .zuul.yaml.j2 (limited to '.zuul.yaml.j2') diff --git a/.zuul.yaml.j2 b/.zuul.yaml.j2 new file mode 100644 index 0000000..3e7b118 --- /dev/null +++ b/.zuul.yaml.j2 @@ -0,0 +1,26 @@ +--- +{% set arches = arches.split() -%} +{% set plans = plans.split() -%} +{% for arch in arches -%} + {% for plan in plans %} +- job: + name: build-images-{{ arch }}{{ plan | replace("/tmt/plans", "") }} + parent: tmt-test + vars: + tmt_url: "https://pagure.io/{{ '{{' }} zuul.project.name {{ '}}' }}" + tmt_ref: "{{ '{{' }} zuul.ref {{ '}}' }}" + tmt_plan: "{{ plan }}" + distro: fedora-rawhide + compose: Fedora-latest + tf_arch: {{ arch }} + {%- endfor %} +{%- endfor %} + +- project: + check: + jobs: +{% for arch in arches -%} + {% for plan in plans %} + - build-images-{{ arch }}{{ plan | replace("/tmt/plans", "") }} + {%- endfor %} +{%- endfor %} -- cgit v1.3.1+17