зеркало из https://github.com/Azure/ARO-RP.git
add pipelines
This commit is contained in:
Родитель
78160aa202
Коммит
72be804c35
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче