forked from kubeedge/kubeedge
-
Notifications
You must be signed in to change notification settings - Fork 1
122 lines (106 loc) · 2.67 KB
/
main-doc.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
name: Main CI WorkFlow
on:
push:
branches:
- master
tags:
paths:
- '**.md'
- 'docs/**'
- '**/OWNERS'
- '**/MAINTAINERS'
pull_request:
paths:
- '**.md'
- 'docs/**'
- '**/OWNERS'
- '**/MAINTAINERS'
jobs:
lint:
runs-on: ubuntu-22.04
timeout-minutes: 30
name: Verify vendor, licenses, do lint
env:
GOPATH: /home/runner/work/${{ github.repository }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.19.x
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
path: ./src/github.com/${{ github.repository }}
# For docs, we run `make lint` just for checking white noise.
- name: Run lint test
run: make lint
working-directory: ./src/github.com/${{ github.repository }}
image-prepare:
runs-on: ubuntu-22.04
timeout-minutes: 30
name: Prepare kubeedge/build-tools image
steps:
- run: 'echo "only docs modified, no need to trigger CI"'
build:
runs-on: ubuntu-22.04
timeout-minutes: 30
name: Multiple build
needs: image-prepare
steps:
- run: 'echo "only docs modified, no need to trigger CI"'
basic_test:
runs-on: ubuntu-22.04
timeout-minutes: 30
name: Unit test, integration test edge
env:
GO111MODULE: on
steps:
- run: 'echo "only docs modified, no need to trigger CI"'
e2e_test:
runs-on: ubuntu-22.04
strategy:
matrix:
cases:
- protocol: WebSocket
version: v1.26.0
- protocol: WebSocket
version: v1.25.0
- protocol: WebSocket
version: v1.24.0
- protocol: QUIC
version: v1.26.0
- protocol: QUIC
version: v1.25.0
- protocol: QUIC
version: v1.24.0
timeout-minutes: 30
name: E2e test
needs: image-prepare
env:
GO111MODULE: on
steps:
- run: 'echo "only docs modified, no need to trigger CI"'
keadm_deprecated_e2e_test:
runs-on: ubuntu-22.04
timeout-minutes: 30
name: Keadm deprecated e2e test
needs: image-prepare
env:
GO111MODULE: on
steps:
- run: 'echo "only docs modified, no need to trigger CI"'
keadm_e2e_test:
runs-on: ubuntu-22.04
timeout-minutes: 30
name: Keadm e2e test
env:
GO111MODULE: on
steps:
- run: 'echo "only docs modified, no need to trigger CI"'
docker_build:
runs-on: ubuntu-22.04
timeout-minutes: 30
name: Multiple docker image build
steps:
- run: 'echo "only docs modified, no need to trigger CI"'