Skip to content

Commit

Permalink
Remove rollback tests (#3639)
Browse files Browse the repository at this point in the history
+semver: skip
  • Loading branch information
LTA-Thinking authored Dec 15, 2023
1 parent c83c20d commit fccb7a4
Showing 1 changed file with 4 additions and 148 deletions.
152 changes: 4 additions & 148 deletions build/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,42 +156,6 @@ stages:
keyVaultName: $(DeploymentEnvironmentName)
appServiceName: $(DeploymentEnvironmentName)

- stage: rollbackStu3
displayName: 'Rollback STU3 CosmosDB Site'
dependsOn:
- testStu3
jobs:
- template: ./jobs/redeploy-webapp.yml
parameters:
version: Stu3
webAppName: $(DeploymentEnvironmentName)
subscription: $(ConnectedServiceName)
imageTag: release

- stage: rollbackStu3Sql
displayName: 'Rollback STU3 SQL Site'
dependsOn:
- testStu3
jobs:
- template: ./jobs/redeploy-webapp.yml
parameters:
version: Stu3
webAppName: $(DeploymentEnvironmentNameSql)
subscription: $(ConnectedServiceName)
imageTag: release

- stage: testStu3Rollback
displayName: 'Run Stu3 Rollback Tests'
dependsOn:
- rollbackStu3
- rollbackStu3Sql
jobs:
- template: ./jobs/run-tests.yml
parameters:
version: Stu3
keyVaultName: $(DeploymentEnvironmentName)
appServiceName: $(DeploymentEnvironmentName)

# *********************** R4 ***********************
- stage: redeployR4
displayName: 'Redeploy R4 CosmosDB Site'
Expand Down Expand Up @@ -230,42 +194,6 @@ stages:
keyVaultName: $(DeploymentEnvironmentNameR4)
appServiceName: $(DeploymentEnvironmentNameR4)

- stage: rollbackR4
displayName: 'Rollback R4 CosmosDB Site'
dependsOn:
- testR4
jobs:
- template: ./jobs/redeploy-webapp.yml
parameters:
version: R4
webAppName: $(DeploymentEnvironmentNameR4)
subscription: $(ConnectedServiceName)
imageTag: release

- stage: rollbackR4Sql
displayName: 'Rollback R4 SQL Site'
dependsOn:
- testR4
jobs:
- template: ./jobs/redeploy-webapp.yml
parameters:
version: R4
webAppName: $(DeploymentEnvironmentNameR4Sql)
subscription: $(ConnectedServiceName)
imageTag: release

- stage: testR4Rollback
displayName: 'Run R4 Rollback Tests'
dependsOn:
- rollbackR4
- rollbackR4Sql
jobs:
- template: ./jobs/run-tests.yml
parameters:
version: R4
keyVaultName: $(DeploymentEnvironmentNameR4)
appServiceName: $(DeploymentEnvironmentNameR4)

# *********************** R4B ***********************
- stage: redeployR4B
displayName: 'Redeploy R4B CosmosDB Site'
Expand Down Expand Up @@ -304,42 +232,6 @@ stages:
keyVaultName: $(DeploymentEnvironmentNameR4B)
appServiceName: $(DeploymentEnvironmentNameR4B)

- stage: rollbackR4B
displayName: 'Rollback R4B CosmosDB Site'
dependsOn:
- testR4B
jobs:
- template: ./jobs/redeploy-webapp.yml
parameters:
version: R4B
webAppName: $(DeploymentEnvironmentNameR4B)
subscription: $(ConnectedServiceName)
imageTag: release

- stage: rollbackR4BSql
displayName: 'Rollback R4B SQL Site'
dependsOn:
- testR4B
jobs:
- template: ./jobs/redeploy-webapp.yml
parameters:
version: R4B
webAppName: $(DeploymentEnvironmentNameR4BSql)
subscription: $(ConnectedServiceName)
imageTag: release

- stage: testR4BRollback
displayName: 'Run R4B Rollback Tests'
dependsOn:
- rollbackR4B
- rollbackR4BSql
jobs:
- template: ./jobs/run-tests.yml
parameters:
version: R4B
keyVaultName: $(DeploymentEnvironmentNameR4B)
appServiceName: $(DeploymentEnvironmentNameR4B)

# *********************** R5 ***********************
- stage: redeployR5
displayName: 'Redeploy R5 CosmosDB Site'
Expand Down Expand Up @@ -378,50 +270,14 @@ stages:
keyVaultName: $(DeploymentEnvironmentNameR5)
appServiceName: $(DeploymentEnvironmentNameR5)

- stage: rollbackR5
displayName: 'Rollback R5 CosmosDB Site'
dependsOn:
- testR5
jobs:
- template: ./jobs/redeploy-webapp.yml
parameters:
version: R5
webAppName: $(DeploymentEnvironmentNameR5)
subscription: $(ConnectedServiceName)
imageTag: release

- stage: rollbackR5Sql
displayName: 'Rollback R5 SQL Site'
dependsOn:
- testR5
jobs:
- template: ./jobs/redeploy-webapp.yml
parameters:
version: R5
webAppName: $(DeploymentEnvironmentNameR5Sql)
subscription: $(ConnectedServiceName)
imageTag: release

- stage: testR5Rollback
displayName: 'Run R5 Rollback Tests'
dependsOn:
- rollbackR5
- rollbackR5Sql
jobs:
- template: ./jobs/run-tests.yml
parameters:
version: R5
keyVaultName: $(DeploymentEnvironmentNameR5)
appServiceName: $(DeploymentEnvironmentNameR5)

# *********************** Finalize ***********************
- stage: DockerAddTag
displayName: 'Docker add main tag'
dependsOn:
- testStu3Rollback
- testR4Rollback
- testR4BRollback
- testR5Rollback
- testStu3
- testR4
- testR4B
- testR5
jobs:
- template: ./jobs/docker-add-tag.yml
parameters:
Expand Down

0 comments on commit fccb7a4

Please sign in to comment.