This commit is contained in:
Xavier Pillons 2020-05-07 12:42:28 +02:00
Родитель cc01cdf9b8
Коммит 45c57508c8
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -10,13 +10,16 @@ steps:
set -x
fi
# Create the RG to host test resources
az group create --name $AZHPC_RESOURCEGROUP --location $AZHPC_VARIABLES_LOCATION --output table
# extract the random value from the resource group
random=$(echo $AZHPC_RESOURCEGROUP | cut -d '-' -f2)
# Create a KeyVault and add a secret in it
az keyvault create --name $AZHPC_RESOURCEGROUP --resource-group $AZHPC_RESOURCEGROUP --output table
az keyvault secret set --vault-name $AZHPC_RESOURCEGROUP --name "secret" --value "secretvalue" --output table
failOnStandardError: false
continueOnError: false