File tree 3 files changed +5
-9
lines changed
3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 59
59
deploy_db :
60
60
runs-on : ubuntu-24.04
61
61
if : ${{ inputs.enabled }}
62
- name : Helm (Crunchy )
62
+ name : Crunchy (db )
63
63
environment : ${{ inputs.environment }}
64
64
steps :
65
65
# Check triggers (omitted or matched) for deployment
Original file line number Diff line number Diff line change 81
81
triggers : ${{ inputs.triggers }}
82
82
83
83
deployer :
84
- name : Helm (stack)
84
+ name : Stack
85
85
needs : deployer-db
86
86
environment : ${{ inputs.environment }}
87
87
runs-on : ubuntu-24.04
Original file line number Diff line number Diff line change 11
11
workflow_dispatch :
12
12
inputs :
13
13
tag :
14
- description : " Tag set to deploy; e.g. PR number, latest or prod (default) "
14
+ description : " Image tag set to deploy; e.g. PR number or prod"
15
15
type : string
16
16
default : ' prod'
17
17
@@ -36,16 +36,12 @@ jobs:
36
36
37
37
- name : Set Tag
38
38
id : tag
39
- run : |
40
- if [ -z "${{ inputs.pr_no }}" ]; then
41
- echo "tag=${{ steps.pr.outputs.pr }}" >> $GITHUB_OUTPUT
42
- else
43
- echo "tag=${{ inputs.tag }}" >> $GITHUB_OUTPUT
44
- fi
39
+ run : echo "tag=${{ inputs.tag || steps.pr.outputs.pr }}" >> $GITHUB_OUTPUT
45
40
46
41
# https://github.com/bcgov/quickstart-openshift-helpers
47
42
deploy-test :
48
43
name : Deploy (test, tag=${{ needs.vars.outputs.tag }})
44
+ needs : [vars]
49
45
uses : ./.github/workflows/.deployer.yml
50
46
secrets :
51
47
oc_namespace : ${{ secrets.OC_NAMESPACE }}
You can’t perform that action at this time.
0 commit comments