Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated GH workflows and YAML #22

Merged
merged 2 commits into from
Jun 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading