use go:embed for shell scripts used in export and upload Jobs #210
Workflow file for this run
This file contains 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-multiple-k8s-clusters" | |
on: | |
pull_request: | |
paths-ignore: | |
- "**/*.md" | |
- "CODEOWNERS" | |
push: | |
paths-ignore: | |
- "**/*.md" | |
- "CODEOWNERS" | |
branches: | |
- "main" | |
# Cancel any ongoing workflows on the same branch to avoid unnecessary fees. | |
# cf. https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-and-the-default-behavior | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
#runs-on: "ubuntu-22.04" | |
runs-on: mantle_large_runner_16core | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- run: sudo apt-get update | |
- uses: ./.github/actions/purge-unnecessary-deb-packages | |
- uses: ./.github/actions/set-up-kvm-for-e2e-tests | |
- name: cache go dependencies | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: go-${{ hashFiles('go.sum', 'Makefile', 'versions.mk') }} | |
restore-keys: | | |
go- | |
- run: make -C test/e2e setup | |
- run: make -C test/e2e test-multiple-k8s-clusters |