Skip to content

Commit 925f8e2

Browse files
feature: this commit adds a job to deploy the “orchestrator” service in the production pipeline. the workflow now detects changes in boundaries/comanda.orchestrator and automatically performs the deployment, with the appropriate path settings, docker image, and url secret.
1 parent 972334b commit 925f8e2

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/production-deployment-pipeline.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
profiles: ${{ steps.filter.outputs.profiles }}
1414
payments: ${{ steps.filter.outputs.payments }}
1515
orders: ${{ steps.filter.outputs.orders }}
16+
orchestrator: ${{ steps.filter.outputs.orchestrator }}
1617

1718
steps:
1819
- name: checkout
@@ -33,6 +34,8 @@ jobs:
3334
- 'Boundaries/Comanda.Payments/**'
3435
orders:
3536
- 'Boundaries/Comanda.Orders/**'
37+
orchestrator:
38+
- 'Boundaries/Comanda.Orchestrator/**'
3639
3740
deploy-subscriptions:
3841
needs: changes
@@ -83,3 +86,13 @@ jobs:
8386
image_name: httpsrichardy/comanda.orders
8487
deploy_url_secret: ORDERS_PRODUCTION_DEPLOY_URL
8588
secrets: inherit
89+
90+
deploy-orchestrator:
91+
needs: changes
92+
if: needs.changes.outputs.orchestrator == 'true'
93+
uses: ./.github/workflows/deploy-pipeline.yml
94+
with:
95+
service_path: Boundaries/Comanda.Orchestrator
96+
image_name: httpsrichardy/comanda.orchestrator
97+
deploy_url_secret: ORCHESTRATOR_PRODUCTION_DEPLOY_URL
98+
secrets: inherit

0 commit comments

Comments
 (0)