Skip to content

Commit cb96797

Browse files
authored
ci(template): Bump stackabletech/actions to v0.16.3 (#618)
1 parent b2127fb commit cb96797

4 files changed

Lines changed: 24 additions & 15 deletions

File tree

.github/workflows/pr_prek.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
with:
1818
persist-credentials: false
1919
fetch-depth: 0
20-
- uses: stackabletech/actions/run-prek@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
20+
- uses: stackabletech/actions/run-prek@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
2121
with:
2222
hadolint: ${{ env.HADOLINT_VERSION }}

template/.github/workflows/build.yaml.j2

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
- name: Check for changed files
5050
id: check
51-
uses: stackabletech/actions/detect-changes@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
51+
uses: stackabletech/actions/detect-changes@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
5252
with:
5353
patterns: |
5454
- '.github/workflows/build.yaml'
@@ -164,7 +164,7 @@ jobs:
164164

165165
- name: Build Container Image
166166
id: build
167-
uses: stackabletech/actions/build-container-image@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
167+
uses: stackabletech/actions/build-container-image@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
168168
with:
169169
image-name: ${{ env.OPERATOR_NAME }}
170170
image-index-manifest-tag: ${{ steps.version.outputs.OPERATOR_VERSION }}
@@ -173,7 +173,7 @@ jobs:
173173

174174
- name: Publish Container Image to oci.stackable.tech
175175
if: ${{ !github.event.pull_request.head.repo.fork }}
176-
uses: stackabletech/actions/publish-image@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
176+
uses: stackabletech/actions/publish-image@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
177177
with:
178178
image-registry-uri: oci.stackable.tech
179179
image-registry-username: robot$sdp+github-action-build
@@ -184,7 +184,7 @@ jobs:
184184

185185
- name: Publish Container Image to quay.io
186186
if: ${{ !github.event.pull_request.head.repo.fork }}
187-
uses: stackabletech/actions/publish-image@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
187+
uses: stackabletech/actions/publish-image@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
188188
with:
189189
image-registry-uri: quay.io
190190
image-registry-username: stackable+robot_sdp_github_action_build
@@ -216,7 +216,7 @@ jobs:
216216

217217
- name: Publish and Sign Image Index to oci.stackable.tech
218218
id: publish-oci
219-
uses: stackabletech/actions/publish-image-index-manifest@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
219+
uses: stackabletech/actions/publish-image-index-manifest@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
220220
with:
221221
image-registry-uri: oci.stackable.tech
222222
image-registry-username: robot$sdp+github-action-build
@@ -226,7 +226,7 @@ jobs:
226226

227227
- name: Publish and Sign Image Index to quay.io
228228
id: publish-quay
229-
uses: stackabletech/actions/publish-image-index-manifest@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
229+
uses: stackabletech/actions/publish-image-index-manifest@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
230230
with:
231231
image-registry-uri: quay.io
232232
image-registry-username: stackable+robot_sdp_github_action_build
@@ -311,7 +311,7 @@ jobs:
311311
submodules: recursive
312312

313313
- name: Package, Publish, and Sign Helm Chart to oci.stackable.tech
314-
uses: stackabletech/actions/publish-helm-chart@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
314+
uses: stackabletech/actions/publish-helm-chart@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
315315
with:
316316
chart-registry-uri: oci.stackable.tech
317317
chart-registry-username: robot$sdp-charts+github-action-build
@@ -323,7 +323,7 @@ jobs:
323323
publish-and-sign: ${{ !github.event.pull_request.head.repo.fork }}
324324

325325
- name: Package, Publish, and Sign Helm Chart to quay.io
326-
uses: stackabletech/actions/publish-helm-chart@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
326+
uses: stackabletech/actions/publish-helm-chart@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
327327
with:
328328
chart-registry-uri: quay.io
329329
chart-registry-username: stackable+robot_sdp_charts_github_action_build
@@ -354,13 +354,13 @@ jobs:
354354
runs-on: ubuntu-latest
355355
steps:
356356
- name: Run OpenShift Preflight Check for oci.stackable.tech
357-
uses: stackabletech/actions/run-openshift-preflight@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
357+
uses: stackabletech/actions/run-openshift-preflight@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
358358
with:
359359
image-index-uri: oci.stackable.tech/sdp/${{ env.OPERATOR_NAME }}:${{ needs.build-container-image.outputs.operator-version }}
360360
image-architecture: ${{ matrix.arch }}
361361

362362
- name: Run OpenShift Preflight Check for quay.io
363-
uses: stackabletech/actions/run-openshift-preflight@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
363+
uses: stackabletech/actions/run-openshift-preflight@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
364364
with:
365365
image-index-uri: quay.io/stackable/sdp/${{ env.OPERATOR_NAME }}:${{ needs.build-container-image.outputs.operator-version }}
366366
image-architecture: ${{ matrix.arch }}
@@ -402,11 +402,20 @@ jobs:
402402
persist-credentials: false
403403

404404
- name: Send Notification
405-
uses: stackabletech/actions/send-slack-notification@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
405+
uses: stackabletech/actions/send-slack-notification@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
406406
with:
407407
publish-helm-chart-result: ${{ needs.publish-helm-chart.result }}
408408
publish-manifests-result: ${{ needs.publish-index-manifest.result }}
409409
build-result: ${{ needs.build-container-image.result }}
410+
# Provenance is generated per registry, but the notification only has a
411+
# single field for it, so the two results are collapsed into the worst
412+
# one. 'failure' must be reported verbatim, otherwise the notification
413+
# is not marked as failed.
414+
generate-provenance-result: >-
415+
${{ (needs.provenance-oci.result == 'failure' || needs.provenance-quay.result == 'failure') && 'failure'
416+
|| (needs.provenance-oci.result == 'cancelled' || needs.provenance-quay.result == 'cancelled') && 'cancelled'
417+
|| (needs.provenance-oci.result == 'skipped' || needs.provenance-quay.result == 'skipped') && 'skipped'
418+
|| 'success' }}
410419
slack-token: ${{ secrets.SLACK_CONTAINER_IMAGE_TOKEN }}
411420
channel-id: C07UG6JH44F # notifications-container-images
412421
type: container-image-build

template/.github/workflows/integration-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# TODO: Enable the scheduled runs which hard-code what profile to use
4444
- name: Run Integration Test
4545
id: test
46-
uses: stackabletech/actions/run-integration-test@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
46+
uses: stackabletech/actions/run-integration-test@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
4747
with:
4848
replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }}
4949
test-mode-input: ${{ inputs.test-mode-input }}
@@ -53,7 +53,7 @@ jobs:
5353

5454
- name: Send Notification
5555
if: ${{ failure() || github.run_attempt > 1 }}
56-
uses: stackabletech/actions/send-slack-notification@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
56+
uses: stackabletech/actions/send-slack-notification@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
5757
with:
5858
slack-token: ${{ secrets.SLACK_INTEGRATION_TEST_TOKEN }}
5959
failed-tests: ${{ steps.test.outputs.failed-tests }}

template/.github/workflows/pr_prek.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
persist-credentials: false
2929
submodules: recursive
3030
fetch-depth: 0
31-
- uses: stackabletech/actions/run-prek@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
31+
- uses: stackabletech/actions/run-prek@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
3232
with:
3333
rust: ${{ env.RUST_TOOLCHAIN_VERSION }}
3434
hadolint: ${{ env.HADOLINT_VERSION }}

0 commit comments

Comments
 (0)