aboutsummaryrefslogtreecommitdiffci
path: root/.zuul.yaml.j2
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
authorGravatar Miroslav Vadkerti <mvadkert@redhat.com> 2025-03-12 15:29:38 +0100
committerGravatar ngompa <ngompa13@gmail.com> 2025-05-01 00:41:01 +0000
commit28f7cf0cf656e6be60018ae88c848841ed96bfbd (patch)
tree0405a9f4d127f8ac5524672063ece4fbbc47b434 /.zuul.yaml.j2
parentc3e509d22eb177a1bbf99c4a1e73669048598bfc (diff)
downloadkiwi-descriptions-28f7cf0cf656e6be60018ae88c848841ed96bfbd.tar.gz
kiwi-descriptions-28f7cf0cf656e6be60018ae88c848841ed96bfbd.zip
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 <mvadkert@redhat.com>
Diffstat (limited to '.zuul.yaml.j2')
-rw-r--r--.zuul.yaml.j226
1 files changed, 26 insertions, 0 deletions
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 %}