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