Fix env
This commit is contained in:
Родитель
d4490bc3bd
Коммит
5aa88227fe
|
@ -20,7 +20,7 @@ env:
|
|||
ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }}
|
||||
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}
|
||||
ARM_PARTNER_ID: "f85b2775-ec1d-4fef-949e-bbd6957082af"
|
||||
TF_VAR_environment: ${{ github.run_id }}
|
||||
ENVIRONMENT: ${{ github.run_id }}
|
||||
|
||||
jobs:
|
||||
deploy-launchpad:
|
||||
|
|
|
@ -4,7 +4,7 @@ variables:
|
|||
- group: iac-secure-caf
|
||||
- name: "ARM_PARTNER_ID"
|
||||
value: "f85b2775-ec1d-4fef-949e-bbd6957082af"
|
||||
- name: "TF_VAR_environment"
|
||||
- name: "ENVIRONMENT"
|
||||
value: "$(Build.BuildNumber)"
|
||||
|
||||
resources:
|
||||
|
@ -29,8 +29,8 @@ stages:
|
|||
scriptLocation: inlineScript
|
||||
scriptType: bash
|
||||
inlineScript: |
|
||||
echo "ARM_PARTNER_ID"
|
||||
echo $ARM_PARTNER_ID
|
||||
echo "ENVIRONMENT"
|
||||
echo $ENVIRONMENT
|
||||
cp -rs $(Build.SourcesDirectory)/* /tf/caf && cp -r $(Build.SourcesDirectory)/.devcontainer /tf/caf/
|
||||
/tf/caf/enterprise_scale/construction_sets/aks/online/aks_secure_baseline/landingzone/scripts/launchpad.sh
|
||||
env:
|
||||
|
|
|
@ -11,7 +11,7 @@ LEVEL_NAME=$1
|
|||
LZ_NAME=$2
|
||||
ADDON_NAME=$3
|
||||
export ACTION=${ACTION:="apply"}
|
||||
export TF_VAR_environment=${TF_VAR_environment:="sandpit"}
|
||||
export TF_VAR_environment=${ENVIRONMENT:="sandpit"}
|
||||
|
||||
|
||||
if [ -d "/tf/caf/landingzones" ]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
export ACTION=${ACTION:="apply"}
|
||||
export TF_VAR_environment=${TF_VAR_environment:="sandpit"}
|
||||
export TF_VAR_environment=${ENVIRONMENT:="sandpit"}
|
||||
|
||||
if [ -d "/tf/caf/landingzones" ]
|
||||
then
|
||||
|
|
Загрузка…
Ссылка в новой задаче