@@ -2,7 +2,7 @@ name: Update Docker Images
2
2
3
3
on :
4
4
schedule :
5
- - cron : ' 0 1 * * *'
5
+ - cron : ' 0 1 * * *'
6
6
workflow_dispatch :
7
7
8
8
defaults :
75
75
with :
76
76
base-image : ${{ matrix.base_image.version}}
77
77
image : nginx/nginx-ingress:${{ steps.dist.outputs.tag }}
78
+ env :
79
+ DEBUG : ${{ secrets.ACTIONS_STEP_DEBUG }}
78
80
- id : needs
79
81
run : echo "${{ matrix.base_image.distro }}=${{ steps.update.outputs.needs-updating }}" >> $GITHUB_OUTPUT
80
82
@@ -111,49 +113,6 @@ jobs:
111
113
path : ${{ github.workspace }}/dist
112
114
key : nginx-ingress-${{ github.run_id }}-${{ github.run_number }}-multi
113
115
114
- test :
115
- name : Run tests
116
- runs-on : ubuntu-22.04
117
- needs : [check, variables, binary]
118
- strategy :
119
- matrix :
120
- include :
121
- - image : debian
122
- marker : ingresses
123
- needs-updating : ${{ needs.check.outputs.needs-updating-debian }}
124
- - image : alpine
125
- marker : " vs vsr"
126
- needs-updating : ${{ needs.check.outputs.needs-updating-alpine }}
127
- - image : ubi
128
- marker : " policies ts"
129
- needs-updating : ${{ needs.check.outputs.needs-updating-ubi }}
130
- steps :
131
- - name : Checkout Repository
132
- uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
133
- with :
134
- ref : refs/tags/v${{ needs.variables.outputs.kic-tag }}
135
- if : ${{ matrix.needs-updating == 'true' }}
136
- - name : Fetch Cached Artifacts
137
- uses : actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3
138
- with :
139
- path : ${{ github.workspace }}/dist
140
- key : nginx-ingress-${{ github.run_id }}-${{ github.run_number }}-multi
141
- if : ${{ matrix.needs-updating == 'true' }}
142
- - name : Run Smoke Tests
143
- id : smoke-tests
144
- uses : ./.github/actions/smoke-tests
145
- with :
146
- image : ${{ matrix.image }}
147
- marker : ${{ matrix.marker }}
148
- k8s-version : ${{ needs.variables.outputs.k8s_version }}
149
- if : ${{ matrix.needs-updating == 'true' }}
150
- - name : Upload Test Results
151
- uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
152
- with :
153
- name : ${{ steps.smoke-tests.outputs.test-results-name }}
154
- path : ${{ github.workspace }}/tests/${{ steps.smoke-tests.outputs.test-results-name }}.html
155
- if : always()
156
-
157
116
release-docker-debian :
158
117
name : Release Debian Image
159
118
needs : [binary, check, variables]
0 commit comments