See https://lists.fedoraproject.org/archives/list/ci@lists.fedoraproject.org/thread/OW4XVKIFP2PPZB342LXTIOR2XG3PWXPF/ for context.
I'd like to do something like:
repositories: - repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git" version: "{{ branch }}" dest: "pyproject-rpm-macros"
Where {{ branch }} evaluates to master, f32, epel8 etc. based on what branch is the tested PR on.
{{ branch }}
master
f32
epel8
@mvadkert @astepano I don't know if this is something we can solve on STR level, or would be better to change STI definition and allow the pipelines to set this as ansible variable when running the test playbook.
@churchyard we are now exporting git_branch as variable to the playbook.
git_branch
STI[1] got updated to contain this information.
[1] https://docs.fedoraproject.org/en-US/ci/standard-test-interface/
Thanks, I'll test it soon.
Let's close it now, in case of problem just reopen it.
Metadata Update from @bgoncalv: - Issue status updated to: Closed (was: Open)