-
Notifications
You must be signed in to change notification settings - Fork 9
52 lines (48 loc) · 1.19 KB
/
cd-stage.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Deploy to Staging
concurrency: staging
on:
push:
branches: [master, gql]
paths-ignore: ["docs/**"]
jobs:
build-push:
name: Build and Push Images and Charts
uses: ./.github/workflows/cd-build.yaml
with:
image_tag: latest
chart_ver: 0.1.0-stage
secrets: inherit
deploy:
name: SSH and Deploy
needs: [build-push]
uses: ./.github/workflows/cd-deploy.yaml
with:
environment: staging
name: bt-stage-app
version: 0.1.0-stage
values: |
env: stage
frontend:
image:
tag: latest
backend:
image:
tag: latest
datapuller:
courses:
image:
tag: latest
sections:
image:
tag: latest
classes:
image:
tag: latest
grades:
image:
tag: latest
host: staging.stanfurdtime.com
mongoUri: mongodb://bt-stage-mongo-mongodb-0.bt-stage-mongo-mongodb-headless.bt.svc.cluster.local:27017/bt
redisUri: redis://bt-stage-redis-master.bt.svc.cluster.local:6379
host: staging.stanfurdtime.com
secrets: inherit