зеркало из https://github.com/Azure/azurehpc.git
fix UUID variable export
This commit is contained in:
Родитель
8f9558662d
Коммит
7a4bee7e36
|
@ -28,7 +28,7 @@ echo "********************************************************************"
|
|||
echo "* INIT CONFIG VARIABLES *"
|
||||
echo "********************************************************************"
|
||||
# AZHPC_UUID is set when creating the RG unique name when starting the pipeline
|
||||
AZHPC_VARIABLES_UUID=${AZHPC_UUID-foo}
|
||||
export AZHPC_VARIABLES_UUID=${AZHPC_UUID-azhpc}
|
||||
azhpc_variables=$(printenv | grep AZHPC_VARIABLES)
|
||||
init_variables="-v resource_group=$AZHPC_RESOURCEGROUP"
|
||||
for item in $azhpc_variables; do
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"uuid": "<NOT-SET>",
|
||||
"key_vault": "variables.resource_group",
|
||||
"la_workspace": "variables.resource_group",
|
||||
"acrname": "acrrepo{{variables.uuid}}"
|
||||
"acrname": "azhpc{{variables.uuid}}"
|
||||
},
|
||||
"vnet": {
|
||||
"name": "hpcvnet",
|
||||
|
|
|
@ -25,7 +25,7 @@ steps:
|
|||
az monitor log-analytics workspace create -n $AZHPC_RESOURCEGROUP -g $AZHPC_RESOURCEGROUP
|
||||
|
||||
# Create an Azure Container Registry
|
||||
az acr create -n "acrrepo$AZHPC_UUID" -g $AZHPC_RESOURCEGROUP --sku Standard
|
||||
az acr create -n "azhpc$AZHPC_UUID" -g $AZHPC_RESOURCEGROUP --sku Standard
|
||||
failOnStandardError: false
|
||||
continueOnError: false
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче