-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (44 loc) · 1.31 KB
/
deploy.yml
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
name: Deploy to Test Cluster
on:
push:
branches:
- main
jobs:
node-operation:
uses: akvo/main-github-workflow/.github/workflows/node-operation.yml@main
secrets: inherit
with:
node-version: "18"
node-command: "yarn install --no-progress --frozen-lock && yarn build && rm -rf node_modules"
build-push-frontend:
needs: node-operation
uses: akvo/main-github-workflow/.github/workflows/build-push.yml@main
secrets: inherit
with:
app-name: "akvo-form-service"
service-name: "frontend"
dockerfile-location: "frontend"
build-push-backend:
needs: node-operation
uses: akvo/main-github-workflow/.github/workflows/build-push.yml@main
secrets: inherit
with:
app-name: "akvo-form-service"
service-name: "backend"
dockerfile-location: "backend"
rollout-frontend:
needs: build-push-frontend
uses: akvo/main-github-workflow/.github/workflows/rollout.yml@main
secrets: inherit
with:
app-name: "akvo-form-service"
service-name: "frontend"
cluster-name: "test"
rollout-backend:
needs: build-push-backend
uses: akvo/main-github-workflow/.github/workflows/rollout.yml@main
secrets: inherit
with:
app-name: "akvo-form-service"
service-name: "backend"
cluster-name: "test"