Skip to content

Commit

Permalink
Merge pull request #22 from Azure-Samples/btr-updates
Browse files Browse the repository at this point in the history
Updated GH workflows and YAML
  • Loading branch information
jschluchter committed Jun 19, 2023
2 parents f56c9b5 + 7517708 commit 77d8be2
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/package-ai-service.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: package-ai-service

on:
push:
branches:
- 'main'
paths:
- 'ai-service/**'

workflow_dispatch:

jobs:
Expand All @@ -21,6 +27,7 @@ jobs:
echo ::set-output name=project::ai-service
echo ::set-output name=image::ai-service
echo ::set-output name=repository::ghcr.io/azure-samples/aks-store-demo
echo "{project}={ai-service}" >> $GITHUB_STATE
package-service:
name: Package Service
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/package-makeline-service.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: package-makeline-service

on:
push:
branches:
- 'main'
paths:
- 'makeline-service/**'

workflow_dispatch:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/package-order-service.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: package-order-service

on:
push:
branches:
- 'main'
paths:
- 'order-service/**'

workflow_dispatch:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/package-product-service.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: package-product-service

on:
push:
branches:
- 'main'
paths:
- 'product-service/**'

workflow_dispatch:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/package-store-back-service.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: package-store-admin

on:
push:
branches:
- 'main'
paths:
- 'store-admin/**'

workflow_dispatch:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/package-store-front-service.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: package-store-front

on:
push:
branches:
- 'main'
paths:
- 'store-front/**'

workflow_dispatch:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/package-virtual-customer-service.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: package-virtual-customer

on:
push:
branches:
- 'main'
paths:
- 'virtual-customer/**'

workflow_dispatch:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/package-virtual-worker-service.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: package-virtual-worker

on:
push:
branches:
- 'main'
paths:
- 'virtual-worker/**'

workflow_dispatch:

jobs:
Expand Down
8 changes: 6 additions & 2 deletions aks-store-all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ spec:
- name: FASTIFY_ADDRESS
value: "0.0.0.0"
resources: {}
initContainers:
- name: wait-for-rabbitmq
image: busybox
command: ['sh', '-c', 'until nc -zv rabbitmq 5672; do echo waiting for rabbitmq; sleep 2; done;']
---
apiVersion: v1
kind: Service
Expand Down Expand Up @@ -234,10 +238,10 @@ spec:
ports:
- containerPort: 8080
name: store-front
env:
env:aks-store-all-in-one.yaml
- name: VUE_APP_ORDER_SERVICE_URL
value: "http://order-service:3000/"
- name: PRODUCT_SERVICE_URL
- name: VUE_APP_PRODUCT_SERVICE_URL
value: "http://product-service:3002/"
resources: {}
---
Expand Down

0 comments on commit 77d8be2

Please sign in to comment.