Deploy to both buckets

This commit is contained in:
FrankRua 2022-10-20 10:35:08 -04:00
parent ed29e73b3e
commit a6e0bbde46

View file

@ -1,6 +1,6 @@
trigger: trigger:
branches: branches:
include: [ develop, release/* ] include: [develop, release/*]
paths: paths:
exclude: exclude:
- deployment/* - deployment/*
@ -8,7 +8,7 @@ trigger:
- "*" - "*"
pr: pr:
branches: branches:
include: [ '*' ] include: ["*"]
paths: paths:
exclude: exclude:
- deployment/* - deployment/*
@ -45,8 +45,9 @@ stages:
testResultsFile: junit.xml testResultsFile: junit.xml
summaryFileLocation: $(Build.SourcesDirectory)/coverage/cobertura-coverage.xml summaryFileLocation: $(Build.SourcesDirectory)/coverage/cobertura-coverage.xml
# Dev Build/Deploy
- ${{ else }}: - ${{ else }}:
# Dev Build/Deploy
- stage: Dev - stage: Dev
condition: eq(variables['Build.SourceBranch'], variables['dev-branch'] ) condition: eq(variables['Build.SourceBranch'], variables['dev-branch'] )
variables: variables:
@ -76,8 +77,12 @@ stages:
deployBuckets: deployBuckets:
safelite-dev-fmg-us-east-1: safelite-dev-fmg-us-east-1:
clearFolder: true clearFolder: true
deployFolder: '' deployFolder: ""
region: us-east-1 region: us-east-1
safelite-dev-fmg-us-east-2:
clearFolder: true
deployFolder: ""
region: us-east-2
appDeployVariables: appDeployVariables:
__VUE_APP_CONSUMER_CF_DISTRO__: $(__VUE_APP_CONSUMER_CF_DISTRO__) __VUE_APP_CONSUMER_CF_DISTRO__: $(__VUE_APP_CONSUMER_CF_DISTRO__)
__VUE_APP_GOOGLE_PLACES_API_KEY__: $(__VUE_APP_GOOGLE_PLACES_API_KEY__) __VUE_APP_GOOGLE_PLACES_API_KEY__: $(__VUE_APP_GOOGLE_PLACES_API_KEY__)
@ -118,7 +123,7 @@ stages:
deployBuckets: deployBuckets:
safelite-qa-fmg-us-east-1: safelite-qa-fmg-us-east-1:
clearFolder: true clearFolder: true
deployFolder: '' deployFolder: ""
region: us-east-1 region: us-east-1
appDeployVariables: appDeployVariables:
__VUE_APP_CONSUMER_CF_DISTRO__: $(__VUE_APP_CONSUMER_CF_DISTRO__) __VUE_APP_CONSUMER_CF_DISTRO__: $(__VUE_APP_CONSUMER_CF_DISTRO__)
@ -160,7 +165,7 @@ stages:
deployBuckets: deployBuckets:
safelite-prod-fmg-us-east-1: safelite-prod-fmg-us-east-1:
clearFolder: true clearFolder: true
deployFolder: '' deployFolder: ""
region: us-east-1 region: us-east-1
appDeployVariables: appDeployVariables:
__VUE_APP_CONSUMER_CF_DISTRO__: $(__VUE_APP_CONSUMER_CF_DISTRO__) __VUE_APP_CONSUMER_CF_DISTRO__: $(__VUE_APP_CONSUMER_CF_DISTRO__)