-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.19 KB
/
e2e-multiple-k8s-clusters.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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