Skip to content

Commit 7ed1ce0

Browse files
authored
Merge pull request #261 from CecileRobertMichon/azure-env-vars
Add AZURE prefix to e2e environment variables
2 parents 20d2546 + a1c8746 commit 7ed1ce0

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

test/utils/credentials/credentials.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@ const (
4848
defaultAzureChinaCloudLocation = "chinaeast2"
4949

5050
// Env vars
51-
tenantIDEnvVar = "TENANT_ID"
52-
subscriptionIDEnvVar = "SUBSCRIPTION_ID"
53-
aadClientIDEnvVar = "AAD_CLIENT_ID"
54-
aadClientSecretEnvVar = "AAD_CLIENT_SECRET"
55-
resourceGroupEnvVar = "RESOURCE_GROUP"
56-
locationEnvVar = "LOCATION"
57-
58-
tenantIDChinaEnvVar = "TENANT_ID_CHINA"
59-
subscriptionIDChinaEnvVar = "SUBSCRIPTION_ID_CHINA"
60-
aadClientIDChinaEnvVar = "AAD_CLIENT_ID_CHINA"
61-
aadClientSecretChinaEnvVar = "AAD_CLIENT_SECRET_CHINA"
62-
resourceGroupChinaEnvVar = "RESOURCE_GROUP_CHINA"
63-
locationChinaEnvVar = "LOCATION_CHINA"
51+
tenantIDEnvVar = "AZURE_TENANT_ID"
52+
subscriptionIDEnvVar = "AZURE_SUBSCRIPTION_ID"
53+
aadClientIDEnvVar = "AZURE_CLIENT_ID"
54+
aadClientSecretEnvVar = "AZURE_CLIENT_SECRET"
55+
resourceGroupEnvVar = "AZURE_RESOURCE_GROUP"
56+
locationEnvVar = "AZURE_LOCATION"
57+
58+
tenantIDChinaEnvVar = "AZURE_TENANT_ID_CHINA"
59+
subscriptionIDChinaEnvVar = "AZURE_SUBSCRIPTION_ID_CHINA"
60+
aadClientIDChinaEnvVar = "AZURE_CLIENT_ID_CHINA"
61+
aadClientSecretChinaEnvVar = "AZURE_CLIENT_SECRET_CHINA"
62+
resourceGroupChinaEnvVar = "AZURE_RESOURCE_GROUP_CHINA"
63+
locationChinaEnvVar = "AZURE_LOCATION_CHINA"
6464
)
6565

6666
// Config is used in Prow to store Azure credentials

0 commit comments

Comments
 (0)