Skip to content
Snippets Groups Projects
aum-tpl.yaml 1.08 KiB
Newer Older
job_name: Ostree updater test {{aum_test}} on {{release_version}} {{pretty}} {{image_date}}
{% if device_type == 'qemu' %}
{% include 'common-qemu-boot-tpl.yaml' %}
{% else %}
{% include 'common-boot-tpl.yaml' %}
{% endif %}
{% macro run_test(test_name, phase, last) %}
{% include 'common-boot-tpl-reboot.yaml' %}
  - test:
      timeout:
        minutes: 15
      namespace: system
      name: {{test_name}}
      definitions:
        - repository: https://gitlab.apertis.org/tests/apertis-test-cases.git
Ritesh Raj Sarraf's avatar
Ritesh Raj Sarraf committed
          revision: 'apertis/v2022dev0'
          from: git
          path: test-cases/{{test_name}}.yaml
{% if phase == last %}
          name: {{test_name}}
{% else %}
          name: {{test_name}}-phase-{{phase}}
{% endif %}
          params:
            RELEASE: {{release_version}}
            ARCH: {{arch}}
            BASEURL: {{baseurl}}
            IMGPATH: {{imgpath}}
            IMGDATE: {{image_date}}
            IMGTYPE: {{image_type}}
            IMGNAME: {{image_name}}
            BOARD: {{board}}
{% endmacro %}
{% for i in range(0,7) %}
{{ run_test(aum_test, i, 6) }}
{% endfor %}