Automated cherry pick of #17144: Normalize the hardcoded images used for warmpool pre-pulling #17861: Feature: pull user defined images for warm pool instances #2784
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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| with: | |
| path: ${{ env.GOPATH }}/src/k8s.io/kops | |
| fetch-depth: 3 | |
| - name: Set up go | |
| uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 | |
| 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@v4 | |
| with: | |
| name: tests-e2e-scenarios-bare-metal | |
| path: /tmp/artifacts/ |