Skip to content

Commit a9a4cd1

Browse files
authored
Merge pull request #146 from CS3219-AY2425S1/feat/add-manifest-update
test new actions file
2 parents 66351ac + 6a35107 commit a9a4cd1

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

.github/workflows/deploy.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,28 @@ jobs:
2323
filters: |
2424
fe:
2525
- 'peerprep-fe/**'
26+
- 'k8s/peerprep*'
27+
- 'cloudbuilds/fe'
2628
api:
2729
- 'api-gateway/**'
30+
- 'k8s/api-gateway*'
31+
- 'cloudbuilds/'
2832
question:
2933
- 'question-service/**'
34+
- 'k8s/question-service*'
35+
- 'cloudbuilds/question-service.yaml'
3036
user:
3137
- 'user-service/**'
38+
- 'k8s/user-service*'
39+
- 'cloudbuilds/user-service.yaml'
3240
matching:
3341
- 'matching-service/**'
42+
- 'k8s/matching-service*'
43+
- 'cloudbuilds/matching-service.yaml'
3444
session:
3545
- 'session-service/**'
46+
- 'k8s/session-service*'
47+
- 'cloudbuilds/session-service.yaml'
3648
3749
deploy-fe:
3850
needs: check-changes

k8s/peerprep-config.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

k8s/peerprep-fe.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,14 @@ spec:
6666
target:
6767
type: Utilization
6868
averageUtilization: 80
69+
---
70+
apiVersion: v1
71+
kind: Secret
72+
metadata:
73+
name: peerprep-config
74+
type: Opaque
75+
stringData:
76+
NEXT_PUBLIC_API_GATEWAY_URL: "${_NEXT_PUBLIC_API_GATEWAY_URL}"
77+
NEXT_PUBLIC_GITHUB_CLIENT_ID: "${_NEXT_PUBLIC_GITHUB_CLIENT_ID}"
78+
NEXT_PUBLIC_SOCK_SERVER_URL: "${_NEXT_PUBLIC_SOCK_SERVER_URL}"
79+
NEXT_PUBLIC_AUDIO_SERVER_URL: "${_NEXT_PUBLIC_AUDIO_SERVER_URL}"

0 commit comments

Comments
 (0)