-
Notifications
You must be signed in to change notification settings - Fork 149
61 lines (57 loc) · 1.44 KB
/
e2e-k8s.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: "e2e-k8s"
on:
pull_request:
paths-ignore:
- "**/*.md"
- "CODEOWNERS"
push:
paths-ignore:
- "**/*.md"
- "CODEOWNERS"
branches:
- "main"
jobs:
build:
runs-on: "ubuntu-20.04"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: cache e2e sidecar binaries
uses: actions/cache@v4
with:
path: |
test/e2e/tmpbin
key: e2e-sidecars-${{ hashFiles('csi-sidecars.mk', 'versions.mk') }}
restore-keys: |
e2e-sidecars-
- run: make -C test/e2e setup
- run: make -C test/e2e topolvm.img
- uses: actions/cache/save@v4
with:
path: |
bin
test/e2e/bin
test/e2e/topolvm.img
key: e2e-cache-${{ github.sha }}
default:
needs: build
uses: ./.github/workflows/e2e-k8s-workflow.yaml
with:
test_scheduler_extender_type: "daemonset"
test_legacy: "false"
scheduler-manifest:
needs: build
uses: ./.github/workflows/e2e-k8s-workflow.yaml
with:
test_scheduler_extender_type: "deployment"
test_legacy: "false"
use-legacy:
needs: build
uses: ./.github/workflows/e2e-k8s-workflow.yaml
with:
test_scheduler_extender_type: "deployment"
test_legacy: "true"