Repository navigation
63 lines (52 loc) · 1.87 KB
/
Copy pathe2e_hypernode.yaml
File metadata and controls
63 lines (52 loc) · 1.87 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
62
63
name: E2E Hypernode
on:
workflow_call:
permissions: read-all
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@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
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@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
with:
go-version: 1.25.x
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
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@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Download Images
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
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@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: volcano_e2e_hypernode_logs
path: ${{ github.workspace }}/e2e-hypernode-logs