aboutsummaryrefslogtreecommitdiff
path: root/.zuul.yaml.j2
blob: 3e7b11861adbbb58b99d6303031380f527a25153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 %}