1
0
Форкнуть 0
This commit is contained in:
Hieu Nguyen Nhu 2021-06-22 23:50:34 +08:00
Родитель 483c1b442f
Коммит 8d0b683052
2 изменённых файлов: 5 добавлений и 3 удалений

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

@ -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"
ENVIRONMENT: sandpit
ENVIRONMENT: ${{ github.run_id }}
jobs:
deploy-launchpad:
@ -50,7 +50,7 @@ jobs:
if: contains(github.event.comment.body, '/deploy-all') || contains(github.event.comment.body, '/deploy-launchpad') || github.event_name != 'issue_comment'
run: |
cp -rs ${GITHUB_WORKSPACE}/* /tf/caf && cp -r ${GITHUB_WORKSPACE}/.devcontainer /tf/caf/
. /tf/caf/enterprise_scale/construction_sets/aks/online/aks_secure_baseline/landingzone/scripts/launchpad.sh
/tf/caf/enterprise_scale/construction_sets/aks/online/aks_secure_baseline/landingzone/scripts/launchpad.sh
- name: Test
id: test
if: contains(github.event.comment.body, '/deploy-all') || contains(github.event.comment.body, '/deploy-launchpad') || github.event_name != 'issue_comment'
@ -435,7 +435,7 @@ jobs:
if: contains(github.event.comment.body, '/destroy-all') || contains(github.event.comment.body, '/destroy-launchpad') || github.event_name != 'issue_comment'
run: |
cp -rs ${GITHUB_WORKSPACE}/* /tf/caf && cp -r ${GITHUB_WORKSPACE}/.devcontainer /tf/caf/
. /tf/caf/enterprise_scale/construction_sets/aks/online/aks_secure_baseline/landingzone/scripts/launchpad.sh
/tf/caf/enterprise_scale/construction_sets/aks/online/aks_secure_baseline/landingzone/scripts/launchpad.sh
env:
ACTION: "destroy -auto-approve"

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

@ -4,6 +4,8 @@ variables:
- group: iac-secure-caf
- name: "ARM_PARTNER_ID"
value: "f85b2775-ec1d-4fef-949e-bbd6957082af"
- name: "ENVIRONMENT"
value: "$(Build.BuildNumber)"
resources:
containers: