Automated cherry pick of #18764: assets: cache file hashes instead of nodeup assets #18765: nodeup: make nodeup.xz the canonical release artifact #5095
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: e2e | |
| 'on': | |
| - push | |
| - pull_request | |
| env: | |
| GOPROXY: https://proxy.golang.org | |
| GOPATH: ${{ github.workspace }}/go | |
| permissions: | |
| contents: read | |
| jobs: | |
| tests-e2e-scenarios-bare-metal: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 70 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | |
| with: | |
| path: ${{ env.GOPATH }}/src/k8s.io/kops | |
| fetch-depth: 3 | |
| - name: Set up go | |
| uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e | |
| with: | |
| go-version-file: '${{ env.GOPATH }}/src/k8s.io/kops/go.mod' | |
| - name: dev/tasks/free-disk-space-on-github-actions-runner | |
| working-directory: ${{ env.GOPATH }}/src/k8s.io/kops | |
| run: | | |
| dev/tasks/free-disk-space-on-github-actions-runner | |
| - name: tests/e2e/scenarios/bare-metal/run-test | |
| working-directory: ${{ env.GOPATH }}/src/k8s.io/kops | |
| run: | | |
| CHANGED_VERSION=$(git diff --name-only HEAD~2 | grep -E '^kops-version\.go$' || true) | |
| if [ -z "${CHANGED_VERSION}" ] | |
| then | |
| timeout 60m tests/e2e/scenarios/bare-metal/run-test | |
| else | |
| echo "kops-version.go has been modified, skipping test" | |
| fi | |
| env: | |
| ARTIFACTS: /tmp/artifacts | |
| - name: Archive production artifacts | |
| if: always() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a | |
| with: | |
| name: tests-e2e-scenarios-bare-metal | |
| path: /tmp/artifacts/ | |
| tests-e2e-scenarios-bare-metal-ipv6: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 70 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | |
| with: | |
| path: ${{ env.GOPATH }}/src/k8s.io/kops | |
| fetch-depth: 3 | |
| - name: Set up go | |
| uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e | |
| with: | |
| go-version-file: '${{ env.GOPATH }}/src/k8s.io/kops/go.mod' | |
| - name: dev/tasks/free-disk-space-on-github-actions-runner | |
| working-directory: ${{ env.GOPATH }}/src/k8s.io/kops | |
| run: | | |
| dev/tasks/free-disk-space-on-github-actions-runner | |
| - name: tests/e2e/scenarios/bare-metal/run-test | |
| working-directory: ${{ env.GOPATH }}/src/k8s.io/kops | |
| run: | | |
| CHANGED_VERSION=$(git diff --name-only HEAD~2 | grep -E '^kops-version\.go$' || true) | |
| if [ -z "${CHANGED_VERSION}" ] | |
| then | |
| timeout 60m tests/e2e/scenarios/bare-metal/scenario-ipv6 | |
| else | |
| echo "kops-version.go has been modified, skipping test" | |
| fi | |
| env: | |
| ARTIFACTS: /tmp/artifacts | |
| - name: Archive production artifacts | |
| if: always() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a | |
| with: | |
| name: tests-e2e-scenarios-bare-metal-ipv6 | |
| path: /tmp/artifacts/ |