This commit is contained in:
Jim Minter 2020-05-11 13:45:27 -05:00 коммит произвёл Mangirdas Judeikis
Родитель 78160aa202
Коммит 72be804c35
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: AA071F630E926BBD
5 изменённых файлов: 24 добавлений и 0 удалений

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

@ -6,6 +6,9 @@ parameters:
- name: location
- name: vsoConfigBuildID
- name: vsoDeployerBuildID
- name: fullDeploy
type: boolean
default: false
jobs:
- template: ./templates/template-job-deploy-azure-env.yml
@ -24,3 +27,4 @@ jobs:
e2eSubscription: $(e2e-subscription)
billingE2EPipelineName: $(billing-e2e-pipeline-name)
billingE2EBranchName: $(billing-e2e-branch-name)
fullDeploy: ${{ parameters.fullDeploy }}

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

@ -2,6 +2,11 @@
pr: none
trigger: none
parameters:
- name: fullDeploy
type: boolean
default: false
stages:
- stage: Deploy_INT
dependsOn: []
@ -21,3 +26,4 @@ stages:
e2eSubscription: $(e2e-subscription)
billingE2EPipelineName: $(billing-e2e-pipeline-name)
billingE2EBranchName: $(billing-e2e-branch-name)
fullDeploy: ${{ parameters.fullDeploy }}

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

@ -5,6 +5,9 @@ trigger: none
parameters:
- name: vsoConfigBuildID
- name: vsoDeployerBuildID
- name: fullDeploy
type: boolean
default: false
stages:
- stage: Deploy_LowTrafficSector
@ -27,6 +30,7 @@ stages:
e2eSubscription: $(e2e-subscription)
billingE2EPipelineName: $(billing-e2e-pipeline-name)
billingE2EBranchName: $(billing-e2e-branch-name)
fullDeploy: ${{ parameters.fullDeploy }}
- stage: Deploy_USSector
condition: succeededOrFailed()
dependsOn: [Deploy_LowTrafficSector]
@ -51,6 +55,7 @@ stages:
e2eSubscription: $(e2e-subscription)
billingE2EPipelineName: $(billing-e2e-pipeline-name)
billingE2EBranchName: $(billing-e2e-branch-name)
fullDeploy: ${{ parameters.fullDeploy }}
- stage: Deploy_EuropeSector
dependsOn: [Deploy_USSector]
condition: succeededOrFailed()
@ -73,6 +78,7 @@ stages:
e2eSubscription: $(e2e-subscription)
billingE2EPipelineName: $(billing-e2e-pipeline-name)
billingE2EBranchName: $(billing-e2e-branch-name)
fullDeploy: ${{ parameters.fullDeploy }}
- stage: Deploy_ROWSector
dependsOn: [Deploy_EuropeSector]
condition: succeededOrFailed()
@ -96,3 +102,4 @@ stages:
e2eSubscription: $(e2e-subscription)
billingE2EPipelineName: $(billing-e2e-pipeline-name)
billingE2EBranchName: $(billing-e2e-branch-name)
fullDeploy: ${{ parameters.fullDeploy }}

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

@ -5,6 +5,7 @@ parameters:
deployerDirectory: ''
configFileName: ''
azureDevOpsJSONSPN: ''
fullDeploy: ''
steps:
- script: |
set -eu
@ -17,6 +18,10 @@ steps:
export AZURE_TENANT_ID=$(cat devops-spn.json | jq -r '.tenantId')
rm devops-spn.json
if [[ "${{ parameters.fullDeploy }}" == "true" ]]; then
export FULL_DEPLOY=true
fi
chmod +x ${{ parameters.deployerDirectory }}/aro
${{ parameters.deployerDirectory }}/aro deploy ${{ parameters.configDirectory }}/${{ parameters.configFileName }} ${{ parameters.location }}
displayName: 🚀 Buildout/Deploy ${{ parameters.location }} env

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

@ -13,6 +13,7 @@ parameters:
e2eSubscription: ''
billingE2EPipelineName: ''
billingE2EBranchName: ''
fullDeploy: ''
jobs:
- ${{ each location in parameters.locations }}:
@ -68,6 +69,7 @@ jobs:
configFileName: ${{ parameters.configFileName }}
location: ${{ location }}
azureDevOpsJSONSPN: ${{ parameters.azureDevOpsJSONSPN }}
fullDeploy: ${{ parameters.fullDeploy }}
- job: RP_E2E_${{ location }}
dependsOn: Deploy_${{ location }}
variables: