From f0aa531b28196cf96d72f0ca6911ccd5ac97960a Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Mon, 5 Jan 2026 12:01:15 -0300 Subject: [PATCH] upstream ci: Use version_name for CheckPR labels As the ansible_version variable may contain a version specification, we need a version_name to correctly report the job label in Azure. Signed-off-by: Rafael Guterres Jeffman --- infra/azure/pr-pipeline.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/infra/azure/pr-pipeline.yml b/infra/azure/pr-pipeline.yml index 5e5d4a07..f25a4d45 100644 --- a/infra/azure/pr-pipeline.yml +++ b/infra/azure/pr-pipeline.yml @@ -12,11 +12,11 @@ parameters: - name: "distro_ansible_map" type: object default: - - { distro: "c8s", ansible_version: "<2.17" } + - { distro: "c8s", ansible_version: "<2.17", version_name: "2.16" } # c9s should use 2.14, but this version has an invalid certificate # and so is unsuable against ansible-galaxy. - - { distro: "c9s", ansible_version: "<2.17" } - - { distro: "c10s", ansible_version: "<2.17" } + - { distro: "c9s", ansible_version: "<2.17", version_name: "2.16" } + - { distro: "c10s", ansible_version: "<2.17", version_name: "2.16" } variables: distros: "fedora-latest,c10s,c9s,fedora-rawhide" @@ -55,7 +55,7 @@ stages: # Test with pinned ansible version for the distro - ${{ each config in parameters.distro_ansible_map }}: - - stage: ${{ config.distro }}_distro_ansible_${{ replace(config.ansible_version, '.', '_') }} + - stage: ${{ config.distro }}_distro_ansible_${{ replace(config.version_name, '.', '_') }} dependsOn: [] jobs: - template: templates/run_tests.yml