From f9511ad796ea4154c4e4fc9c9b32c639e47b8044 Mon Sep 17 00:00:00 2001 From: Sayan Chowdhury Date: Thu, 19 Oct 2023 11:19:08 +0530 Subject: [PATCH] ci-automation: Switch to managed identity on azure Switch to using a managed identity instead of file based credentials for running kola/ore (not plume). This covers our test subscription, but not our publishing subscription. Co-authored-by: Jeremi Piotrowski Signed-off-by: Sayan Chowdhury --- ci-automation/vendor-testing/azure.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ci-automation/vendor-testing/azure.sh b/ci-automation/vendor-testing/azure.sh index 17081b3598..822cdb9816 100755 --- a/ci-automation/vendor-testing/azure.sh +++ b/ci-automation/vendor-testing/azure.sh @@ -18,11 +18,6 @@ azure_instance_type_var="AZURE_${CIA_ARCH}_MACHINE_SIZE" azure_instance_type="${!azure_instance_type_var}" azure_vnet_subnet_name="jenkins-vnet-${AZURE_LOCATION}" -azure_profile_config_file='' -secret_to_file azure_profile_config_file "${AZURE_PROFILE}" -azure_auth_config_file='' -secret_to_file azure_auth_config_file "${AZURE_AUTH_CREDENTIALS}" - # Fetch the Azure image if not present if [ -f "${AZURE_IMAGE_NAME}" ] ; then echo "++++ ${CIA_TESTSCRIPT}: Using existing ${AZURE_IMAGE_NAME} for testing ${CIA_VERNUM} (${CIA_ARCH}) ++++" @@ -57,8 +52,7 @@ run_kola_tests() { --platform=azure \ --azure-image-file="${AZURE_IMAGE_NAME}" \ --azure-location="${AZURE_LOCATION}" \ - --azure-profile="${azure_profile_config_file}" \ - --azure-auth="${azure_auth_config_file}" \ + --azure-identity \ --torcx-manifest="${CIA_TORCX_MANIFEST}" \ --tapfile="${instance_tapfile}" \ --azure-size="${instance_type}" \