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>
This commit is contained in:
committed by
ngompa
parent
c3e509d22e
commit
28f7cf0cf6
@@ -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 %}
|
||||
Reference in New Issue
Block a user