diff --git a/deploy/aro/infrastructure/azure-pipelines.yml b/deploy/aro/infrastructure/azure-pipelines.yml index 40649fd62..d4cdfe67f 100644 --- a/deploy/aro/infrastructure/azure-pipelines.yml +++ b/deploy/aro/infrastructure/azure-pipelines.yml @@ -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' \ No newline at end of file