From 1ca64a81beeac02b333857ab94182717ac287001 Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Mon, 12 Feb 2024 12:56:28 -0800 Subject: [PATCH] [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 --- .github/workflows/build-k3s.yaml | 4 ++-- .github/workflows/integration.yaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-k3s.yaml b/.github/workflows/build-k3s.yaml index 2c39de9216..518cfcf865 100644 --- a/.github/workflows/build-k3s.yaml +++ b/.github/workflows/build-k3s.yaml @@ -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 \ No newline at end of file + path: dist/artifacts/k3s* \ No newline at end of file diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 35d6ff173b..3887d8d652 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -19,6 +19,7 @@ on: - "!tests/e2e**" - ".github/**" - "!.github/workflows/integration.yaml" + - "!.github/workflows/build-k3s.yaml" workflow_dispatch: {} permissions: