systemtap/plans/ci.fmf
Martin Cermak 91acc811a1 CI Tests: Set DEBUGINFOD_URLS based on test FMF context.
Tests are supposed to be executed within defined context, such as e.g.
tmt --root . -c arch=x86_64 -c distro=fedora-38 -c trigger=build run ...

FTR: https://tmt.readthedocs.io/en/stable/spec/plans.html#context

This update sets DEBUGINFOD_URLS based on the provided distro
via the ci.fmf file.
2023-05-19 10:34:46 +02:00

22 lines
475 B
Plaintext

summary: CI Gating Plan
adjust:
- when: distro == fedora
discover+:
filter: 'tier: 1'
environment+:
DEBUGINFOD_URLS: https://debuginfod.fedoraproject.org/
DEBUGINFOD_TIMEOUT: 300
- when: distro == rhel
environment+:
DEBUGINFOD_URLS: https://debuginfod.usersys.redhat.com/
DEBUGINFOD_TIMEOUT: 300
discover:
how: fmf
directory: tests
prepare:
- name: prepare
how: shell
script: ./plans/prepare.sh
execute:
how: tmt