|
|
@ -8,7 +8,6 @@ trigger: |
|
|
|
paths: |
|
|
|
include: |
|
|
|
- deploy/aro/infrastructure/* |
|
|
|
- deploy/aro/openshift-templates/infrastructure/* |
|
|
|
stages: |
|
|
|
- stage: development |
|
|
|
displayName: Development |
|
|
@ -40,21 +39,21 @@ 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-' |
|
|
|
- script: 'oc process -f ./deploy/aro/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-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-' |
|
|
|
- script: 'oc process -f ./deploy/aro/infrastructure/rabbitmq-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-' |
|
|
|
failOnStderr: true |
|
|
|
displayName: 'RabbitMQ Deployment' |
|
|
|
- script: 'oc process -f ./deploy/aro/openshift-templates/infrastructure/redis-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-' |
|
|
|
- script: 'oc process -f ./deploy/aro/infrastructure/redis-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-' |
|
|
|
failOnStderr: true |
|
|
|
displayName: 'Redis Deployment' |
|
|
|
- script: 'oc process -f ./deploy/aro/openshift-templates/infrastructure/seq-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-' |
|
|
|
- script: 'oc process -f ./deploy/aro/infrastructure/seq-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-' |
|
|
|
failOnStderr: true |
|
|
|
displayName: 'Seq Deployment' |
|
|
|
- script: 'oc process -f ./deploy/aro/openshift-templates/infrastructure/mssql-server-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-' |
|
|
|
- script: 'oc process -f ./deploy/aro/infrastructure/mssql-server-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-' |
|
|
|
failOnStderr: true |
|
|
|
displayName: 'SQL Server Deployment' |
|
|
|
- script: 'oc process -f ./deploy/aro/openshift-templates/infrastructure/mongo-db-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-' |
|
|
|
- script: 'oc process -f ./deploy/aro/infrastructure/mongo-db-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) | oc apply -f-' |
|
|
|
failOnStderr: true |
|
|
|
displayName: 'MongoDB Deployment' |