diff --git a/ci-operator/config/Azure/ARO-HCP/Azure-ARO-HCP-main.yaml b/ci-operator/config/Azure/ARO-HCP/Azure-ARO-HCP-main.yaml index 6912ba3124f4..17958cd069ac 100644 --- a/ci-operator/config/Azure/ARO-HCP/Azure-ARO-HCP-main.yaml +++ b/ci-operator/config/Azure/ARO-HCP/Azure-ARO-HCP-main.yaml @@ -710,6 +710,7 @@ tests: ARO_HCP_CLOUD: dev ARO_HCP_DEPLOY_ENV: ci01 LOCATION_WEIGHTS: westus3=1,canadacentral=1,centralus=1 + RUN_COST_TAG_VALUE: "BUILD_ID" workflow: aro-hcp-local-e2e - always_run: false as: e2e-parallel-inplace-upgrade @@ -724,6 +725,7 @@ tests: ARO_HCP_CLOUD: dev ARO_HCP_DEPLOY_ENV: ci01 MULTISTAGE_PARAM_OVERRIDE_LOCATION: canadacentral + RUN_COST_TAG_VALUE: "BUILD_ID" workflow: aro-hcp-local-e2e-upgrade - always_run: false as: e2e-parallel-ocp-nightly @@ -740,6 +742,7 @@ tests: ARO_HCP_OPENSHIFT_CHANNEL_GROUP: nightly ARO_HCP_OPENSHIFT_NODEPOOL_CHANNEL_GROUP: nightly LOCATION_WEIGHTS: westus3=1,canadacentral=1,centralus=1 + RUN_COST_TAG_VALUE: "BUILD_ID" workflow: aro-hcp-local-e2e - always_run: false as: e2e-parallel-slow @@ -755,6 +758,7 @@ tests: ARO_HCP_DEPLOY_ENV: ci01 ARO_HCP_E2E_SUITE: rp-api-compat-all/parallel/slow LOCATION_WEIGHTS: westus3=1,canadacentral=1,centralus=1 + RUN_COST_TAG_VALUE: "BUILD_ID" workflow: aro-hcp-local-e2e - as: global-pipeline-postsubmit capabilities: diff --git a/ci-operator/step-registry/aro-hcp/provision/environment/aro-hcp-provision-environment-ref.yaml b/ci-operator/step-registry/aro-hcp/provision/environment/aro-hcp-provision-environment-ref.yaml index 4fc503a0f7bd..dc4ee9bed176 100644 --- a/ci-operator/step-registry/aro-hcp/provision/environment/aro-hcp-provision-environment-ref.yaml +++ b/ci-operator/step-registry/aro-hcp/provision/environment/aro-hcp-provision-environment-ref.yaml @@ -22,6 +22,13 @@ ref: - name: USE_OC_LOGIN_REGISTRIES default: "" documentation: Space-separated list of registries that require oc registry login for authentication + - name: RUN_COST_TAG_VALUE + default: "" + documentation: |- + Value for the jobID.aro-hcp-ci.redhat.com run cost tag on the + resource groups this job creates. The literal "BUILD_ID" resolves + to this job's Prow build ID; any other value is used verbatim. + Empty (the default) disables run cost attribution. - name: ARO_HCP_DEPLOY_ENV default: "ci00" documentation: |-