forked from volcano-sh/volcano
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (51 loc) · 1.57 KB
/
e2e_hypernode.yaml
File metadata and controls
61 lines (51 loc) · 1.57 KB
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 Hypernode
on:
workflow_call:
jobs:
e2e_hypernode:
runs-on: ubuntu-24.04
name: E2E about Hypernode
timeout-minutes: 40
steps:
- name: Free Disk Space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.25.x
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Install dependencies
run: |
GO111MODULE="on" go install sigs.k8s.io/kind@v0.31.0
curl -LO https://dl.k8s.io/release/v1.35.0/bin/linux/amd64/kubectl && sudo install kubectl /usr/local/bin/kubectl
- name: Checkout code
uses: actions/checkout@v3
- name: Download Images
uses: actions/download-artifact@v4
with:
name: volcano-images
path: _output/images
- name: Load Images
run: |
make load-images
- name: Run E2E Tests
run: |
export ARTIFACTS_PATH=${{ github.workspace }}/e2e-hypernode-logs
make e2e-test-hypernode FORCE_REBUILD=false
- name: Upload e2e hypernode logs
if: '!success()'
uses: actions/upload-artifact@v4
with:
name: volcano_e2e_hypernode_logs
path: ${{ github.workspace }}/e2e-hypernode-logs