Cleaning up the build pipeline file.

This commit is contained in:
Jeremy Zimmerman 2023-08-11 12:44:32 -04:00
parent 5ac78fc496
commit 4744262e41

View file

@ -88,7 +88,12 @@ stages:
indexDeployVariables: indexDeployVariables:
__VUE_APP_GOOGLE_TAG_MANAGER_SCRIPT_BODY__: $(__VUE_APP_GOOGLE_TAG_MANAGER_SCRIPT_BODY__) __VUE_APP_GOOGLE_TAG_MANAGER_SCRIPT_BODY__: $(__VUE_APP_GOOGLE_TAG_MANAGER_SCRIPT_BODY__)
__VUE_APP_GOOGLE_TAG_MANAGER_NOSCRIPT_FRAME_SRC__: $(__VUE_APP_GOOGLE_TAG_MANAGER_NOSCRIPT_FRAME_SRC__) __VUE_APP_GOOGLE_TAG_MANAGER_NOSCRIPT_FRAME_SRC__: $(__VUE_APP_GOOGLE_TAG_MANAGER_NOSCRIPT_FRAME_SRC__)
cfDistributionId: $(cfDistributionId) - template: templates/digital/invalidate-cloudfront-cache.yml@AzureDevOps
parameters:
awsCliContainer: awscli
distributionId: $(cfDistributionId)
paths: /*
awsProfile: $(qaDeploymentProfile)
# Test Build/Deploy # Test Build/Deploy
- stage: Test - stage: Test
@ -190,7 +195,7 @@ stages:
# Prod Build/Deploy # Prod Build/Deploy
- stage: Prod - stage: Prod
condition: succeeded('Qa') condition: succeeded('QA')
variables: variables:
- group: ISS-Prod - group: ISS-Prod
jobs: jobs:
@ -236,10 +241,10 @@ stages:
distributionId: $(cfDistributionId) distributionId: $(cfDistributionId)
paths: /* paths: /*
awsProfile: $(prodDeploymentProfile) awsProfile: $(prodDeploymentProfile)
- template: templates/digital/auto-tag.yml@AzureDevOps - template: templates/digital/auto-tag.yml@AzureDevOps
parameters: parameters:
dependsOn: prodBuildDeployment dependsOn: prodBuildDeployment
userName: SafeliteAzureDevops userName: SafeliteAzureDevops
userEmail: githubazuredevops@safelite.com userEmail: githubazuredevops@safelite.com