From e30fa53c5042b1c8f35d6d4d32c7f9dd5cf06881 Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Thu, 7 Apr 2022 09:49:32 +0200 Subject: [PATCH] CI: rotate the used RHSM activation key --- test/cases/api.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cases/api.sh b/test/cases/api.sh index bf67764e7..e1801b8bc 100755 --- a/test/cases/api.sh +++ b/test/cases/api.sh @@ -166,7 +166,7 @@ function checkEnvAzure() { # Check that needed variables are set to register to RHSM (RHEL only) function checkEnvSubscription() { - printenv API_TEST_SUBSCRIPTION_ORG_ID API_TEST_SUBSCRIPTION_ACTIVATION_KEY > /dev/null + printenv API_TEST_SUBSCRIPTION_ORG_ID API_TEST_SUBSCRIPTION_ACTIVATION_KEY_V2 > /dev/null } function checkEnvVSphere() { @@ -541,7 +541,7 @@ if [[ "$ID" == "rhel" ]]; then , "subscription": { "organization": "${API_TEST_SUBSCRIPTION_ORG_ID:-}", - "activation_key": "${API_TEST_SUBSCRIPTION_ACTIVATION_KEY:-}", + "activation_key": "${API_TEST_SUBSCRIPTION_ACTIVATION_KEY_V2:-}", "base_url": "https://cdn.redhat.com/", "server_url": "subscription.rhsm.redhat.com", "insights": true