forked from topolvm/topolvm
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (34 loc) · 973 Bytes
/
e2e-k8s-workflow.yaml
File metadata and controls
35 lines (34 loc) · 973 Bytes
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
on:
workflow_call:
inputs:
test_scheduler_extender_type:
type: string
test_legacy:
type: string
jobs:
e2e-k8s:
name: "e2e-k8s"
runs-on: "ubuntu-20.04"
strategy:
fail-fast: false
matrix:
kubernetes_versions: ["1.28.0", "1.27.3", "1.26.6"]
env:
KUBERNETES_VERSION: ${{ matrix.kubernetes_versions }}
TEST_SCHEDULER_EXTENDER_TYPE: ${{ inputs.test_scheduler_extender_type }}
TEST_LEGACY: ${{ inputs.test_legacy }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- uses: actions/cache/restore@v4
with:
path: |
bin
test/e2e/bin
test/e2e/topolvm.img
key: e2e-cache-${{ github.sha }}
- run: touch test/e2e/topolvm.img # update timestamp not to rebuild image
- run: make -C test/e2e start-lvmd
- run: make -C test/e2e test