generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 1
58 lines (53 loc) · 1.58 KB
/
demo.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
51
52
53
54
55
56
57
58
name: DEMO (merge)
on:
push:
branches: demo
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
permissions: {}
jobs:
build:
name: Build
runs-on: ubuntu-24.04
permissions:
packages: write
strategy:
matrix:
package: [admin, api, db, public]
include:
- package: admin
build_context: ./
build_file: admin/Dockerfile
- package: api
build_context: ./
build_file: api/Dockerfile
- package: db
- package: public
build_context: ./
build_file: public/Dockerfile
steps:
- uses: actions/checkout@v4
- uses: bcgov/[email protected]
with:
package: ${{ matrix.package }}
build_context: ${{ matrix.build_context }}
build_file: ${{ matrix.build_file }}
keep_versions: 100
tag: demo
token: ${{ secrets.GITHUB_TOKEN }}
deploy:
name: Deploy (DEMO)
needs: [build]
secrets: inherit
uses: ./.github/workflows/.deploy.yml
with:
aws_user_pools_web_client_id: k3b9ip1vf85o4tkqvu5g4adgj
batch_client_rfsh_api_tkn_op_secret_name: fom-demo-client-app-api
db_testdata: true
environment: demo
email_notify: [email protected]
logout_chain_url: https://logontest7.gov.bc.ca/clp-cgi/logoff.cgi?retnow=1&returl=https://test.loginproxy.gov.bc.ca/auth/realms/standard/protocol/openid-connect/logout?redirect_uri=
tag: demo
target: demo
url: fom-demo.apps.silver.devops.gov.bc.ca