9
9
- ' v*'
10
10
11
11
env :
12
- GO_VERSION : " 1.20.x "
12
+ GO_VERSION : " 1.16.7 "
13
13
14
14
jobs :
15
15
wait-for-checks :
@@ -24,30 +24,59 @@ jobs:
24
24
echo "Tag: ${GITHUB_REF##*/}"
25
25
git fetch origin main
26
26
git merge-base --is-ancestor ${GITHUB_REF##*/} origin/main && echo "${GITHUB_REF##*/} is a commit on main!"
27
+ - name : Build snapshot artifacts
28
+ uses : fountainhead/action-wait-for-check@v1.0.0
29
+ id : snapshot
30
+ with :
31
+ token : ${{ secrets.GITHUB_TOKEN }}
32
+ # This check name is defined as the github actions job name (in .github/workflows/acceptance-test.yaml)
33
+ checkName : " Build-Snapshot-Artifacts"
34
+ ref : ${{ github.event.pull_request.head.sha || github.sha }}
27
35
28
36
- name : Check static analysis
29
37
uses : fountainhead/action-wait-for-check@v1.0.0
30
38
id : static-analysis
31
39
with :
32
40
token : ${{ secrets.GITHUB_TOKEN }}
33
- # This check name is defined as the github actions job name (in .github/workflows/static-analysis-integration .yaml)
34
- checkName : " Static-Analysis (1.20. x, ubuntu-latest)"
41
+ # This check name is defined as the github actions job name (in .github/workflows/acceptance-test .yaml)
42
+ checkName : " Static-Analysis (1.x, ubuntu-latest)"
35
43
ref : ${{ github.event.pull_request.head.sha || github.sha }}
36
44
37
45
- name : Check unit, and integration test results
38
46
uses : fountainhead/action-wait-for-check@v1.0.0
39
47
id : tests-unit-int
40
48
with :
41
49
token : ${{ secrets.GITHUB_TOKEN }}
42
- # This check name is defined as the github actions job name (in .github/workflows/static-analysis-integration.yaml)
43
- checkName : " Tests (1.20.x, ubuntu-latest)"
50
+ # This check name is defined as the github actions job name (in .github/workflows/acceptance-test.yaml)
51
+ checkName : " Tests (1.x, ubuntu-latest)"
52
+ ref : ${{ github.event.pull_request.head.sha || github.sha }}
53
+
54
+ - name : Check acceptance test results (helm v1.13.12)
55
+ uses : fountainhead/action-wait-for-check@v1.0.0
56
+ id : acceptance-helm-1-13-12
57
+ with :
58
+ token : ${{ secrets.GITHUB_TOKEN }}
59
+ # This check name is defined as the github action job name + the kubernetes version (see below) (in .github/workflows/acceptance-test.yaml)
60
+ checkName : " Acceptance-Helm (v1.13.12)"
61
+ ref : ${{ github.event.pull_request.head.sha || github.sha }}
62
+
63
+ - name : Check acceptance test results (helm v1.18.0)
64
+ uses : fountainhead/action-wait-for-check@v1.0.0
65
+ id : acceptance-helm-1-18-0
66
+ with :
67
+ token : ${{ secrets.GITHUB_TOKEN }}
68
+ # This check name is defined as the github action job name + the kubernetes version (see below) (in .github/workflows/acceptance-test.yaml)
69
+ checkName : " Acceptance-Helm (v1.18.0)"
44
70
ref : ${{ github.event.pull_request.head.sha || github.sha }}
45
71
46
72
- name : Quality gate
47
- if : steps.static-analysis.outputs.conclusion != 'success' || steps.tests-unit-int.outputs.conclusion != 'success'
73
+ if : steps.static-analysis.outputs.conclusion != 'success' || steps.tests-unit-int.outputs.conclusion != 'success' || steps.snapshot.outputs.conclusion != 'success' || steps.acceptance-helm-1-13-12.outputs.conclusion != 'success' || steps.acceptance-helm-1-18-0.outputs.conclusion != 'success'
48
74
run : |
49
75
echo "Static-Analysis Status : ${{ steps.static-analysis.outputs.conclusion }}"
50
76
echo "Unit/Integration Status : ${{ steps.tests-unit-int.outputs.conclusion }}"
77
+ echo "Build Snapshot Artifacts Status: ${{ steps.snapshot.outputs.conclusion }}"
78
+ echo "Acceptance Test (Helm v1.13.12) Status: ${{ steps.acceptance-helm-1-13-12.outputs.conclusion }}"
79
+ echo "Acceptance Test (Helm v1.18.0) Status: ${{ steps.acceptance-helm-1-18-0.outputs.conclusion }}"
51
80
false
52
81
53
82
release :
0 commit comments