generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 4
44 lines (42 loc) · 1.07 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
name: Deploy Demo
on:
workflow_dispatch:
inputs:
tag:
description: "Image tag to deploy"
required: false
type: string
default: "uat"
params:
description: 'Extra parameters to pass to helm upgrade'
default: ''
required: false
type: string
workflow_call:
inputs:
tag:
description: "Image tag to deploy"
required: false
type: string
default: "uat"
params:
description: 'Extra parameters to pass to helm upgrade'
default: ''
required: false
type: string
jobs:
deploy-demo:
name: Deploys (DEMO)
uses: ./.github/workflows/deploy.yml
secrets: inherit
with:
autoscaling: false
environment: demo
tag: ${{inputs.tag}}
release: "demo"
params: |
--set-string global.license='c28f0c' \
--set-string global.zone='test' \
--set-string global.vault.role='nonprod' \
--set-string global.vault.zone='demo' \
--set-string global.pr_num='${{ inputs.tag }}' \