Browse Source

Refactored the folders under deploy/aro

pull/1259/head
Tim McCarthy 5 years ago
parent
commit
b69614a66c
39 changed files with 23 additions and 40 deletions
  1. +1
    -2
      deploy/aro/basket-api/azure-pipelines.yml
  2. +0
    -0
      deploy/aro/basket-api/basketapi-deploy-template.yml
  3. +1
    -2
      deploy/aro/catalog-api/azure-pipelines.yml
  4. +0
    -0
      deploy/aro/catalog-api/catalogapi-deploy-template.yml
  5. +1
    -2
      deploy/aro/identity-api/azure-pipelines.yml
  6. +0
    -0
      deploy/aro/identity-api/identityapi-deploy-template.yml
  7. +6
    -7
      deploy/aro/infrastructure/azure-pipelines.yml
  8. +0
    -0
      deploy/aro/infrastructure/mongo-db-deploy-template.yml
  9. +0
    -0
      deploy/aro/infrastructure/mssql-server-deploy-template.yml
  10. +0
    -0
      deploy/aro/infrastructure/rabbitmq-deploy-template.yml
  11. +0
    -0
      deploy/aro/infrastructure/redis-deploy-template.yml
  12. +0
    -0
      deploy/aro/infrastructure/secrets-deploy-template.yml
  13. +0
    -0
      deploy/aro/infrastructure/seq-deploy-template.yml
  14. +1
    -2
      deploy/aro/locations-api/azure-pipelines.yml
  15. +0
    -0
      deploy/aro/locations-api/locationsapi-deploy-template.yml
  16. +1
    -2
      deploy/aro/marketing-api/azure-pipelines.yml
  17. +0
    -0
      deploy/aro/marketing-api/marketingapi-deploy-template.yml
  18. +1
    -2
      deploy/aro/mobileshoppingagg/azure-pipelines.yml
  19. +0
    -0
      deploy/aro/mobileshoppingagg/mobileshoppingagg-deploy-template.yml
  20. +1
    -2
      deploy/aro/ordering-api/azure-pipelines.yml
  21. +0
    -0
      deploy/aro/ordering-api/orderingapi-deploy-template.yml
  22. +1
    -2
      deploy/aro/ordering-backgroundtasks/azure-pipelines.yml
  23. +0
    -0
      deploy/aro/ordering-backgroundtasks/ordering-backgroundtasks-deploy-template.yml
  24. +1
    -2
      deploy/aro/ordering-signalrhub/azure-pipelines.yml
  25. +0
    -0
      deploy/aro/ordering-signalrhub/ordering-signalrhub-deploy-template.yml
  26. +1
    -2
      deploy/aro/payment-api/azure-pipelines.yml
  27. +0
    -0
      deploy/aro/payment-api/paymentapi-deploy-template.yml
  28. +1
    -2
      deploy/aro/web-mvc/azure-pipelines.yml
  29. +0
    -0
      deploy/aro/web-mvc/webmvc-deploy-template.yml
  30. +1
    -2
      deploy/aro/web-spa/azure-pipelines.yml
  31. +0
    -0
      deploy/aro/web-spa/webspa-deploy-template.yml
  32. +1
    -2
      deploy/aro/webhooks-api/azure-pipelines.yml
  33. +0
    -0
      deploy/aro/webhooks-api/webhooksapi-deploy-template.yml
  34. +2
    -3
      deploy/aro/webhooks-client/azure-pipelines.yml
  35. +0
    -0
      deploy/aro/webhooks-client/webhooks-client-deploy-template.yml
  36. +1
    -2
      deploy/aro/webshoppingagg/azure-pipelines.yml
  37. +0
    -0
      deploy/aro/webshoppingagg/webshoppingagg-deploy-template.yml
  38. +1
    -2
      deploy/aro/webstatus/azure-pipelines.yml
  39. +0
    -0
      deploy/aro/webstatus/webstatus-deploy-template.yml

+ 1
- 2
deploy/aro/basket-api/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/basket-api/* - deploy/aro/basket-api/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -31,6 +30,6 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/basketapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) -p IDENTITY_URL=$(IdentityApiUrl) -p REDIS_HOSTNAME=$(RedisHostname) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/basket-api/basketapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) -p IDENTITY_URL=$(IdentityApiUrl) -p REDIS_HOSTNAME=$(RedisHostname) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Basket API OpenShift DeploymentConfig and Service' displayName: 'Ensure Basket API OpenShift DeploymentConfig and Service'

deploy/aro/openshift-templates/basketapi-deploy-template.yml → deploy/aro/basket-api/basketapi-deploy-template.yml View File


+ 1
- 2
deploy/aro/catalog-api/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/catalog-api/* - deploy/aro/catalog-api/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -41,7 +40,7 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/catalogapi-deploy-template.yml
- script: 'oc process -f ./deploy/aro/catalog-api/catalogapi-deploy-template.yml
-p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName)
-p PIC_BASE_URL=$(PicBaseUrl) -p PIC_BASE_URL=$(PicBaseUrl)
-p RABBITMQ_HOSTNAME=$(RabbitMqHostname) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname)


deploy/aro/openshift-templates/catalogapi-deploy-template.yml → deploy/aro/catalog-api/catalogapi-deploy-template.yml View File


+ 1
- 2
deploy/aro/identity-api/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/identity-api/* - deploy/aro/identity-api/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -41,7 +40,7 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/identityapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p WEB_SPA_URL=$(WebSpaUrl) -p WEB_MVC_URL=$(WebMvcUrl) -p LOCATION_API_URL=$(LocationsApiUrl) -p MARKETING_API_URL=$(MarketingApiUrl) -p BASKET_API_URL=$(BasketApiUrl) -p ORDERING_API_URL=$(OrderingApiUrl) -p MOBILE_SHOPPING_AGGREGATOR_URL=$(MobileShoppingAggregatorUrl) -p WEB_SHOPPING_AGGREGATOR_URL=$(WebShoppingAggregatorUrl) -p WEBHOOKS_API_URL=$(WebhooksApiUrl) -p WEBHOOKS_WEB_CLIENT_URL=$(WebhooksWebClientUrl) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/identity-api/identityapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p WEB_SPA_URL=$(WebSpaUrl) -p WEB_MVC_URL=$(WebMvcUrl) -p LOCATION_API_URL=$(LocationsApiUrl) -p MARKETING_API_URL=$(MarketingApiUrl) -p BASKET_API_URL=$(BasketApiUrl) -p ORDERING_API_URL=$(OrderingApiUrl) -p MOBILE_SHOPPING_AGGREGATOR_URL=$(MobileShoppingAggregatorUrl) -p WEB_SHOPPING_AGGREGATOR_URL=$(WebShoppingAggregatorUrl) -p WEBHOOKS_API_URL=$(WebhooksApiUrl) -p WEBHOOKS_WEB_CLIENT_URL=$(WebhooksWebClientUrl) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Identity API OpenShift DeploymentConfig and Service' displayName: 'Ensure Identity API OpenShift DeploymentConfig and Service'
- script: 'oc apply -f ./deploy/aro/identity-api/identity-public-route.json' - script: 'oc apply -f ./deploy/aro/identity-api/identity-public-route.json'


deploy/aro/openshift-templates/identityapi-deploy-template.yml → deploy/aro/identity-api/identityapi-deploy-template.yml View File


+ 6
- 7
deploy/aro/infrastructure/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/infrastructure/* - deploy/aro/infrastructure/*
- deploy/aro/openshift-templates/infrastructure/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -40,21 +39,21 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' 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 failOnStderr: true
displayName: 'Secrets Deployment' 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 failOnStderr: true
displayName: 'RabbitMQ Deployment' 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 failOnStderr: true
displayName: 'Redis Deployment' 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 failOnStderr: true
displayName: 'Seq Deployment' 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 failOnStderr: true
displayName: 'SQL Server Deployment' 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 failOnStderr: true
displayName: 'MongoDB Deployment' displayName: 'MongoDB Deployment'

deploy/aro/openshift-templates/infrastructure/mongo-db-deploy-template.yml → deploy/aro/infrastructure/mongo-db-deploy-template.yml View File


deploy/aro/openshift-templates/infrastructure/mssql-server-deploy-template.yml → deploy/aro/infrastructure/mssql-server-deploy-template.yml View File


deploy/aro/openshift-templates/infrastructure/rabbitmq-deploy-template.yml → deploy/aro/infrastructure/rabbitmq-deploy-template.yml View File


deploy/aro/openshift-templates/infrastructure/redis-deploy-template.yml → deploy/aro/infrastructure/redis-deploy-template.yml View File


deploy/aro/openshift-templates/infrastructure/secrets-deploy-template.yml → deploy/aro/infrastructure/secrets-deploy-template.yml View File


deploy/aro/openshift-templates/infrastructure/seq-deploy-template.yml → deploy/aro/infrastructure/seq-deploy-template.yml View File


+ 1
- 2
deploy/aro/locations-api/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/locations-api/* - deploy/aro/locations-api/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -30,6 +29,6 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/locationsapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p MONGO_DB_CONNECTION_STRING=$(MongoConnectionString) -p LOCATIONS_DB_NAME=$(LocationsDbName) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) -p IDENTITY_URL=$(IdentityApiUrl) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/locations-api/locationsapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p MONGO_DB_CONNECTION_STRING=$(MongoConnectionString) -p LOCATIONS_DB_NAME=$(LocationsDbName) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) -p IDENTITY_URL=$(IdentityApiUrl) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Locations API OpenShift DeploymentConfig and Service' displayName: 'Ensure Locations API OpenShift DeploymentConfig and Service'

deploy/aro/openshift-templates/locationsapi-deploy-template.yml → deploy/aro/locations-api/locationsapi-deploy-template.yml View File


+ 1
- 2
deploy/aro/marketing-api/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/marketing-api/* - deploy/aro/marketing-api/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -30,6 +29,6 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/marketingapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p MONGO_DB_CONNECTION_STRING=$(MongoConnectionString) -p MARKETING_DB_NAME=$(MarketingDbName) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) -p IDENTITY_URL=$(IdentityApiUrl) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) -p PIC_BASE_URL=$(PicBaseUrl) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/marketing-api/marketingapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p MONGO_DB_CONNECTION_STRING=$(MongoConnectionString) -p MARKETING_DB_NAME=$(MarketingDbName) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) -p IDENTITY_URL=$(IdentityApiUrl) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) -p PIC_BASE_URL=$(PicBaseUrl) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Marketing API OpenShift DeploymentConfig and Service' displayName: 'Ensure Marketing API OpenShift DeploymentConfig and Service'

deploy/aro/openshift-templates/marketingapi-deploy-template.yml → deploy/aro/marketing-api/marketingapi-deploy-template.yml View File


+ 1
- 2
deploy/aro/mobileshoppingagg/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/mobileshoppingagg/* - deploy/aro/mobileshoppingagg/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -31,6 +30,6 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/mobileshoppingagg-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p BASKET_API_URL=$(BasketApiUrl) -p CATALOG_API_URL=$(CatalogApiUrl) -p ORDERING_API_URL=$(OrderingApiUrl) -p IDENTITY_API_URL=$(IdentityApiUrl) -p BASKET_API_GRPC_URL=$(BasketApiGrpcUrl) -p CATALOG_API_GRPC_URL=$(CatalogApiGrpcUrl) -p ORDERING_API_GRPC_URL=$(OrderingApiGrpcUrl) -p CATALOG_API_HC_URL=$(CatalogApiHc) -p ORDERING_API_HC_URL=$(OrderingApiHc) -p IDENTITY_API_HC_URL=$(IdentityApiHc) -p BASKET_API_HC_URL=$(BasketApiHc) -p MARKETING_API_HC_URL=$(MarketingApiHc) -p PAYMENT_API_HC_URL=$(PaymentApiHc) -p LOCATION_API_HC_URL=$(LocationsApiHc) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/mobileshoppingagg/mobileshoppingagg-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p BASKET_API_URL=$(BasketApiUrl) -p CATALOG_API_URL=$(CatalogApiUrl) -p ORDERING_API_URL=$(OrderingApiUrl) -p IDENTITY_API_URL=$(IdentityApiUrl) -p BASKET_API_GRPC_URL=$(BasketApiGrpcUrl) -p CATALOG_API_GRPC_URL=$(CatalogApiGrpcUrl) -p ORDERING_API_GRPC_URL=$(OrderingApiGrpcUrl) -p CATALOG_API_HC_URL=$(CatalogApiHc) -p ORDERING_API_HC_URL=$(OrderingApiHc) -p IDENTITY_API_HC_URL=$(IdentityApiHc) -p BASKET_API_HC_URL=$(BasketApiHc) -p MARKETING_API_HC_URL=$(MarketingApiHc) -p PAYMENT_API_HC_URL=$(PaymentApiHc) -p LOCATION_API_HC_URL=$(LocationsApiHc) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Mobile Shopping Aggregator OpenShift DeploymentConfig and Service' displayName: 'Ensure Mobile Shopping Aggregator OpenShift DeploymentConfig and Service'

deploy/aro/openshift-templates/mobileshoppingagg-deploy-template.yml → deploy/aro/mobileshoppingagg/mobileshoppingagg-deploy-template.yml View File


+ 1
- 2
deploy/aro/ordering-api/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/ordering-api/* - deploy/aro/ordering-api/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -31,6 +30,6 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/orderingapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) -p IDENTITY_URL=$(IdentityApiUrl) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/ordering-api/orderingapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) -p IDENTITY_URL=$(IdentityApiUrl) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Ordering API OpenShift DeploymentConfig and Service' displayName: 'Ensure Ordering API OpenShift DeploymentConfig and Service'

deploy/aro/openshift-templates/orderingapi-deploy-template.yml → deploy/aro/ordering-api/orderingapi-deploy-template.yml View File


+ 1
- 2
deploy/aro/ordering-backgroundtasks/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/ordering-backgroundtasks/* - deploy/aro/ordering-backgroundtasks/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -30,6 +29,6 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/ordering-backgroundtasks-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/ordering-backgroundtasks/ordering-backgroundtasks-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Ordering Background Tasks OpenShift DeploymentConfig and Service' displayName: 'Ensure Ordering Background Tasks OpenShift DeploymentConfig and Service'

deploy/aro/openshift-templates/ordering-backgroundtasks-deploy-template.yml → deploy/aro/ordering-backgroundtasks/ordering-backgroundtasks-deploy-template.yml View File


+ 1
- 2
deploy/aro/ordering-signalrhub/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/ordering-signalrhub/* - deploy/aro/ordering-signalrhub/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -31,6 +30,6 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/ordering-signalrhub-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) -p IDENTITY_URL=$(IdentityApiUrl) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/ordering-signalrhub/ordering-signalrhub-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) -p IDENTITY_URL=$(IdentityApiUrl) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Catalog API OpenShift DeploymentConfig and Service' displayName: 'Ensure Catalog API OpenShift DeploymentConfig and Service'

deploy/aro/openshift-templates/ordering-signalrhub-deploy-template.yml → deploy/aro/ordering-signalrhub/ordering-signalrhub-deploy-template.yml View File


+ 1
- 2
deploy/aro/payment-api/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/payment-api/* - deploy/aro/payment-api/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -30,6 +29,6 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/paymentapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/payment-api/paymentapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Payment API OpenShift DeploymentConfig and Service' displayName: 'Ensure Payment API OpenShift DeploymentConfig and Service'

deploy/aro/openshift-templates/paymentapi-deploy-template.yml → deploy/aro/payment-api/paymentapi-deploy-template.yml View File


+ 1
- 2
deploy/aro/web-mvc/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/web-mvc/* - deploy/aro/web-mvc/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -41,7 +40,7 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/webmvc-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p IDENTITY_API_URL=$(IdentityApiUrl) -p WEB_SHOPPING_API_GATEWAY_URL=$(WebShoppingApiGatewayUrl) -p MARKETING_API_URL=$(MarketingApiUrl) -p IDENTITY_API_HC_URL=$(IdentityApiHc) -p ORDERING_SIGNALR_HUB_URL=$(OrderingSignalRHubUrl) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/web-mvc/webmvc-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p IDENTITY_API_URL=$(IdentityApiUrl) -p WEB_SHOPPING_API_GATEWAY_URL=$(WebShoppingApiGatewayUrl) -p MARKETING_API_URL=$(MarketingApiUrl) -p IDENTITY_API_HC_URL=$(IdentityApiHc) -p ORDERING_SIGNALR_HUB_URL=$(OrderingSignalRHubUrl) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Web MVC OpenShift DeploymentConfig and Service' displayName: 'Ensure Web MVC OpenShift DeploymentConfig and Service'
- script: 'oc apply -f ./deploy/aro/web-mvc/webmvc-public-route.json' - script: 'oc apply -f ./deploy/aro/web-mvc/webmvc-public-route.json'


deploy/aro/openshift-templates/webmvc-deploy-template.yml → deploy/aro/web-mvc/webmvc-deploy-template.yml View File


+ 1
- 2
deploy/aro/web-spa/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/web-spa/* - deploy/aro/web-spa/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -31,6 +30,6 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/webspa-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p IDENTITY_API_URL=$(IdentityApiUrl) -p WEB_SHOPPING_API_GATEWAY_URL=$(WebShoppingApiGatewayUrl) -p MARKETING_API_URL=$(MarketingApiUrl) -p IDENTITY_API_HC_URL=$(IdentityApiHc) -p ORDERING_SIGNALR_HUB_URL=$(OrderingSignalRHubUrl) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/web-spa/webspa-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p IDENTITY_API_URL=$(IdentityApiUrl) -p WEB_SHOPPING_API_GATEWAY_URL=$(WebShoppingApiGatewayUrl) -p MARKETING_API_URL=$(MarketingApiUrl) -p IDENTITY_API_HC_URL=$(IdentityApiHc) -p ORDERING_SIGNALR_HUB_URL=$(OrderingSignalRHubUrl) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Web SPA OpenShift DeploymentConfig and Service' displayName: 'Ensure Web SPA OpenShift DeploymentConfig and Service'

deploy/aro/openshift-templates/webspa-deploy-template.yml → deploy/aro/web-spa/webspa-deploy-template.yml View File


+ 1
- 2
deploy/aro/webhooks-api/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/webhooks-api/* - deploy/aro/webhooks-api/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -30,6 +29,6 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/webhooksapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) -p IDENTITY_URL=$(IdentityApiUrl) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/webhooks-api/webhooksapi-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p RABBITMQ_HOSTNAME=$(RabbitMqHostname) -p IDENTITY_URL=$(IdentityApiUrl) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Webhooks API OpenShift DeploymentConfig and Service' displayName: 'Ensure Webhooks API OpenShift DeploymentConfig and Service'

deploy/aro/openshift-templates/webhooksapi-deploy-template.yml → deploy/aro/webhooks-api/webhooksapi-deploy-template.yml View File


+ 2
- 3
deploy/aro/webhooks-client/azure-pipelines.yml View File

@ -7,8 +7,7 @@ trigger:
- dev - dev
paths: paths:
include: include:
- deploy/aro/web-mvc/*
- deploy/aro/openshift-templates/*
- deploy/aro/webhooks-client/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -31,6 +30,6 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/webhooks-client-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p WEBHOOKS_TOKEN=$(WebhooksToken) -p IDENTITY_API_URL=$(IdentityApiUrl) -p WEBHOOKS_WEB_CLIENT_URL=$(WebhooksWebClientUrl) -p WEBHOOKS_API_URL=$(WebhooksApiUrl) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/webhooks-client/webhooks-client-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p WEBHOOKS_TOKEN=$(WebhooksToken) -p IDENTITY_API_URL=$(IdentityApiUrl) -p WEBHOOKS_WEB_CLIENT_URL=$(WebhooksWebClientUrl) -p WEBHOOKS_API_URL=$(WebhooksApiUrl) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Webhooks Client OpenShift DeploymentConfig and Service' displayName: 'Ensure Webhooks Client OpenShift DeploymentConfig and Service'

deploy/aro/openshift-templates/webhooks-client-deploy-template.yml → deploy/aro/webhooks-client/webhooks-client-deploy-template.yml View File


+ 1
- 2
deploy/aro/webshoppingagg/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/webshoppingagg/* - deploy/aro/webshoppingagg/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -31,6 +30,6 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/webshoppingagg-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p BASKET_API_URL=$(BasketApiUrl) -p CATALOG_API_URL=$(CatalogApiUrl) -p ORDERING_API_URL=$(OrderingApiUrl) -p IDENTITY_API_URL=$(IdentityApiUrl) -p BASKET_API_GRPC_URL=$(BasketApiGrpcUrl) -p CATALOG_API_GRPC_URL=$(CatalogApiGrpcUrl) -p ORDERING_API_GRPC_URL=$(OrderingApiGrpcUrl) -p CATALOG_API_HC_URL=$(CatalogApiHc) -p ORDERING_API_HC_URL=$(OrderingApiHc) -p IDENTITY_API_HC_URL=$(IdentityApiHc) -p BASKET_API_HC_URL=$(BasketApiHc) -p MARKETING_API_HC_URL=$(MarketingApiHc) -p PAYMENT_API_HC_URL=$(PaymentApiHc) -p LOCATION_API_HC_URL=$(LocationsApiHc) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/webshoppingagg/webshoppingagg-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p BASKET_API_URL=$(BasketApiUrl) -p CATALOG_API_URL=$(CatalogApiUrl) -p ORDERING_API_URL=$(OrderingApiUrl) -p IDENTITY_API_URL=$(IdentityApiUrl) -p BASKET_API_GRPC_URL=$(BasketApiGrpcUrl) -p CATALOG_API_GRPC_URL=$(CatalogApiGrpcUrl) -p ORDERING_API_GRPC_URL=$(OrderingApiGrpcUrl) -p CATALOG_API_HC_URL=$(CatalogApiHc) -p ORDERING_API_HC_URL=$(OrderingApiHc) -p IDENTITY_API_HC_URL=$(IdentityApiHc) -p BASKET_API_HC_URL=$(BasketApiHc) -p MARKETING_API_HC_URL=$(MarketingApiHc) -p PAYMENT_API_HC_URL=$(PaymentApiHc) -p LOCATION_API_HC_URL=$(LocationsApiHc) -p IDENTITY_URL_EXTERNAL=$(IdentityUrlExternal) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Web Shopping Aggregator OpenShift DeploymentConfig and Service' displayName: 'Ensure Web Shopping Aggregator OpenShift DeploymentConfig and Service'

deploy/aro/openshift-templates/webshoppingagg-deploy-template.yml → deploy/aro/webshoppingagg/webshoppingagg-deploy-template.yml View File


+ 1
- 2
deploy/aro/webstatus/azure-pipelines.yml View File

@ -8,7 +8,6 @@ trigger:
paths: paths:
include: include:
- deploy/aro/webstatus/* - deploy/aro/webstatus/*
- deploy/aro/openshift-templates/*
stages: stages:
- stage: development - stage: development
displayName: Development displayName: Development
@ -31,6 +30,6 @@ stages:
- script: 'oc project $(OpenShiftProject)' - script: 'oc project $(OpenShiftProject)'
failOnStderr: true failOnStderr: true
displayName: 'Set OpenShift Project Context' displayName: 'Set OpenShift Project Context'
- script: 'oc process -f ./deploy/aro/openshift-templates/webstatus-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p WEB_MVC_HC_URL=$(WebMvcHc) -p WEB_SPA_HC_URL=$(WebSpaHc) -p WEB_SHOPPING_AGGREGATOR_HC_URL=$(WebShoppingAggregatorHc) -p MOBILE_SHOPPING_AGGREGATOR_HC_URL=$(MobileShoppingAggregatorHc) -p ORDERING_API_HC_URL=$(OrderingApiHc) -p BASKET_API_HC_URL=$(BasketApiHc) -p CATALOG_API_HC_URL=$(CatalogApiHc) -p IDENTITY_API_HC_URL=$(IdentityApiHc) -p MARKETING_API_HC_URL=$(MarketingApiHc) -p LOCATIONS_API_HC_URL=$(LocationsApiHc) -p PAYMENT_API_HC_URL=$(PaymentApiHc) -p ORDERING_SIGNALR_HUB_HC_URL=$(OrderingSignalRHubHc) -p ORDERING_BACKGROUND_TASKS_HC_URL=$(OrderingBackgroundTasksHc) | oc apply -f-'
- script: 'oc process -f ./deploy/aro/webstatus/webstatus-deploy-template.yml -p IMAGE_REGISTRY_PROJECT_NAME=$(SourceImageRegistryProjectName) -p WEB_MVC_HC_URL=$(WebMvcHc) -p WEB_SPA_HC_URL=$(WebSpaHc) -p WEB_SHOPPING_AGGREGATOR_HC_URL=$(WebShoppingAggregatorHc) -p MOBILE_SHOPPING_AGGREGATOR_HC_URL=$(MobileShoppingAggregatorHc) -p ORDERING_API_HC_URL=$(OrderingApiHc) -p BASKET_API_HC_URL=$(BasketApiHc) -p CATALOG_API_HC_URL=$(CatalogApiHc) -p IDENTITY_API_HC_URL=$(IdentityApiHc) -p MARKETING_API_HC_URL=$(MarketingApiHc) -p LOCATIONS_API_HC_URL=$(LocationsApiHc) -p PAYMENT_API_HC_URL=$(PaymentApiHc) -p ORDERING_SIGNALR_HUB_HC_URL=$(OrderingSignalRHubHc) -p ORDERING_BACKGROUND_TASKS_HC_URL=$(OrderingBackgroundTasksHc) | oc apply -f-'
failOnStderr: true failOnStderr: true
displayName: 'Ensure Web Status OpenShift DeploymentConfig and Service' displayName: 'Ensure Web Status OpenShift DeploymentConfig and Service'

deploy/aro/openshift-templates/webstatus-deploy-template.yml → deploy/aro/webstatus/webstatus-deploy-template.yml View File


Loading…
Cancel
Save