mirror of https://github.com/k3s-io/k3s
[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
parent
45860105bb
commit
1ca64a81be
|
@ -22,7 +22,7 @@ jobs:
|
||||||
- name: Build K3s binary
|
- name: Build K3s binary
|
||||||
run: |
|
run: |
|
||||||
DOCKER_BUILDKIT=1 SKIP_IMAGE=1 SKIP_AIRGAP=1 SKIP_VALIDATE=1 GOCOVER=1 make
|
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
|
- name: bundle repo
|
||||||
if: inputs.upload-repo == true
|
if: inputs.upload-repo == true
|
||||||
run: |
|
run: |
|
||||||
|
@ -39,4 +39,4 @@ jobs:
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: k3s
|
name: k3s
|
||||||
path: dist/artifacts/k3s
|
path: dist/artifacts/k3s*
|
|
@ -19,6 +19,7 @@ on:
|
||||||
- "!tests/e2e**"
|
- "!tests/e2e**"
|
||||||
- ".github/**"
|
- ".github/**"
|
||||||
- "!.github/workflows/integration.yaml"
|
- "!.github/workflows/integration.yaml"
|
||||||
|
- "!.github/workflows/build-k3s.yaml"
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|
Loading…
Reference in New Issue