[Release-1.28] Support PR testing installs (#9469)

* Upload sha256sum artifact for k3s binary during GH Actions build
* Trigger integration test on changes to build-k3s workflow

Signed-off-by: Derek Nola <derek.nola@suse.com>
pull/9508/head
Derek Nola 2024-02-12 12:56:28 -08:00 committed by GitHub
parent 45860105bb
commit 1ca64a81be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@ jobs:
- name: Build K3s binary
run: |
DOCKER_BUILDKIT=1 SKIP_IMAGE=1 SKIP_AIRGAP=1 SKIP_VALIDATE=1 GOCOVER=1 make
sha256sum dist/artifacts/k3s | sed 's|dist/artifacts/||' > dist/artifacts/k3s.sha256sum
- name: bundle repo
if: inputs.upload-repo == true
run: |
@ -39,4 +39,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: k3s
path: dist/artifacts/k3s
path: dist/artifacts/k3s*

View File

@ -19,6 +19,7 @@ on:
- "!tests/e2e**"
- ".github/**"
- "!.github/workflows/integration.yaml"
- "!.github/workflows/build-k3s.yaml"
workflow_dispatch: {}
permissions: