Skip to content

Commit

Permalink
Prod pipeline fix (#983)
Browse files Browse the repository at this point in the history
* Fixing a typo in the prod pipeline

* adding essential variables to prod pipeline

* typos
  • Loading branch information
andr0272 authored Dec 18, 2023
1 parent 0cde335 commit 3f11f61
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .azuredevops/build-and-push-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ variables:
azureContainerRegistry.domain: 'dtsshared.azurecr.io'
app.environment: production
app.buildDate: $[ format('{0:yyyy}-{0:MM}-{0:dd}', pipeline.startTime) ]
app.domain: 'https://app-eligibilityestimator-prod.azurewebsites.net/'
image.tag: '$(Build.SourceVersion)'

stages:
Expand Down Expand Up @@ -45,7 +46,7 @@ stages:
inputs:
azureSubscription: 'id-eligibilityestimator-prod'
KeyVaultName: 'kv-oas-ee-prod'
SecretsFilter: 'PROD-ADOBE-ANALYTICS-URL'
SecretsFilter: 'PROD-ADOBE-ANALYTICS-URL, NEXT-AUTH-PASSWORD, NEXT-AUTH-USERCODE'
RunAsPreJob: false

- task: Docker@2
Expand All @@ -63,7 +64,11 @@ stages:
--cache-from $(azureContainerRegistry.domain)/$(azureContainerRegistry.repository):latest
--build-arg home=/app
--build-arg NEXT_BUILD_DATE=$(app.buildDate)
--build-arg ADOBE_ANALYTICS_URL=$(DEV-ADOBE-ANALYTICS-URL)
--build-arg NEXTAUTH_URL=$(app.domain)
--build-arg NEXT_AUTH_USERNAME=$(NEXT-AUTH-USERCODE)
--build-arg NEXT_AUTH_PASSWORD=$(NEXT-AUTH-PASSWORD)
--build-arg NEXTAUTH_SECRET=$(NEXT_AUTH_SECRET)
--build-arg ADOBE_ANALYTICS_URL=$(PROD-ADOBE-ANALYTICS-URL)
--build-arg APP_ENV=$(app.environment)
--build-arg LOGGING_LEVEL=$(app.logLevel)
Expand Down

0 comments on commit 3f11f61

Please sign in to comment.