| author | 2025-03-12 15:29:38 +0100 | |
|---|---|---|
| committer | 2025-05-01 00:41:01 +0000 | |
| commit | 28f7cf0cf656e6be60018ae88c848841ed96bfbd (patch) | |
| tree | 0405a9f4d127f8ac5524672063ece4fbbc47b434 /.zuul.yaml.j2 | |
| parent | c3e509d22eb177a1bbf99c4a1e73669048598bfc (diff) | |
| download | kiwi-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.j2 | 26 |
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 %} |