diff --git a/.github/workflows/arm_test.yaml b/.github/workflows/arm_test.yaml index 2cb1f4edf742..5fa80c154bca 100644 --- a/.github/workflows/arm_test.yaml +++ b/.github/workflows/arm_test.yaml @@ -1,8 +1,7 @@ -name: Test arm64 +name: Integration Test Coverage on: workflow_dispatch: {} - pull_request: - + permissions: contents: read @@ -10,15 +9,14 @@ env: GOCOVERDIR: /tmp/k3scov jobs: - # build: - # uses: ./.github/workflows/build-k3s.yaml - # with: - # arch: arm64 + build: + uses: ./.github/workflows/build-k3s.yaml + with: + arch: arm64 itest: - # needs: build - name: Hello World - runs-on: - group: enterprise/default + needs: build + name: Integration Tests + runs-on: ubuntu-latest timeout-minutes: 45 steps: - name: Checkout @@ -27,6 +25,11 @@ jobs: fetch-depth: 1 - name: Install Go uses: ./.github/actions/setup-go + - name: "Download k3s binary" + uses: actions/download-artifact@v4 + with: + name: k3s + path: ./dist/artifacts - name: Launch Debug Session uses: dereknola/action-upterm@v1.1 with: diff --git a/.github/workflows/build-k3s.yaml b/.github/workflows/build-k3s.yaml index e5b0fc2695db..54dd557a61bb 100644 --- a/.github/workflows/build-k3s.yaml +++ b/.github/workflows/build-k3s.yaml @@ -58,7 +58,7 @@ jobs: build-arm64: # Build using CNCF arm64 custom runners name: Build Arm - if: inputs.arch == 'arm64' + if: github.repository == 'k3s-io/k3s' && inputs.arch == 'arm64' runs-on: oracle-aarch64-4cpu-16gb timeout-minutes: 20 steps: