Added secrets template back in
This commit is contained in:
parent
417425f117
commit
5a1643b5ae
@ -17,8 +17,8 @@ stages:
|
||||
SourceImageRegistryProjectName: development
|
||||
SqlHostName: mssql-server-linux.$(OpenShiftProject).svc
|
||||
jobs:
|
||||
- job: Infrastructure_Containers_Deployment
|
||||
displayName: 'Infrastructure Containers Deployment'
|
||||
- job: Infrastructure_Deployment
|
||||
displayName: 'Infrastructure Deployment'
|
||||
variables:
|
||||
CatalogDbConnection: Server=$(SqlHostName);Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=$(SqlUsername);Password=$(SqlPassword)
|
||||
IdentityDbConnection: Server=$(SqlHostName);Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=$(SqlUsername);Password=$(SqlPassword)
|
||||
@ -40,6 +40,9 @@ stages:
|
||||
- script: 'oc project $(OpenShiftProject)'
|
||||
failOnStderr: true
|
||||
displayName: 'Set OpenShift Project Context'
|
||||
- script: 'oc process -f ./deploy/aro/openshift-templates/infrastructure/secrets-deploy-template.yml -p CATALOG_DB_CONNECTION_SECRET=$(CatalogDbConnection) -p IDENTITY_DB_CONNECTION_SECRET=$(IdentityDbConnection) -p MARKETING_DB_CONNECTION_SECRET=$(MarketingDbConnection) -p ORDERING_DB_CONNECTION_SECRET=$(OrderingDbConnection) -p SQL_PASSWORD_SECRET=$(SqlPassword) -p WEBHOOKS_DB_CONNECTION_SECRET=$(WebhooksDbConnection) | oc apply -f-'
|
||||
failOnStderr: true
|
||||
displayName: 'Secrets Deployment'
|
||||
- script: 'oc process -f ./deploy/aro/openshift-templates/infrastructure/rabbitmq-image-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-'
|
||||
failOnStderr: true
|
||||
displayName: 'RabbitMQ Deployment'
|
Loading…
x
Reference in New Issue
Block a user