|
13 | 13 |
|
14 | 14 | jobs:
|
15 | 15 |
|
16 |
| - fastTests: |
17 |
| - name: Fast Tests and Lints |
18 |
| - runs-on: ubuntu-20.04 |
19 |
| - steps: |
20 |
| - - name: Set up Go 1.x |
21 |
| - uses: actions/setup-go@v2 |
22 |
| - with: |
23 |
| - go-version: ${{ env.DEFAULT_GO_VERSION }} |
24 |
| - |
25 |
| - - name: Check out code into the Go module directory |
26 |
| - uses: actions/checkout@v2 |
27 |
| - |
28 |
| - - name: Unit Tests |
29 |
| - run: make unit-test |
30 |
| - |
31 |
| - - name: Lints |
32 |
| - run: make spellcheck shellcheck helm-lint |
33 |
| - |
34 |
| - - name: License Check |
35 |
| - run: make license-test |
36 |
| - |
37 |
| - - name: Run golangci-lint |
38 |
| - |
39 |
| - |
40 |
| - - name: Generate K8s YAML |
41 |
| - run: make generate-k8s-yaml |
42 |
| - |
43 |
| - buildLinux: |
44 |
| - name: Build Linux Binaries |
45 |
| - runs-on: ubuntu-20.04 |
46 |
| - steps: |
47 |
| - - name: Set up Go 1.x |
48 |
| - uses: actions/setup-go@v2 |
49 |
| - with: |
50 |
| - go-version: ${{ env.DEFAULT_GO_VERSION }} |
51 |
| - |
52 |
| - - name: Check out code into the Go module directory |
53 |
| - uses: actions/checkout@v2 |
54 |
| - - name: Build Linux Binaries |
55 |
| - run: make build-binaries |
56 |
| - |
57 |
| - buildLinuxDocker: |
58 |
| - name: Build Linux Docker Images |
59 |
| - runs-on: ubuntu-20.04 |
60 |
| - steps: |
61 |
| - - name: Set up Go 1.x |
62 |
| - uses: actions/setup-go@v2 |
63 |
| - with: |
64 |
| - go-version: ${{ env.DEFAULT_GO_VERSION }} |
65 |
| - |
66 |
| - - name: Check out code into the Go module directory |
67 |
| - uses: actions/checkout@v2 |
68 |
| - |
69 |
| - - name: Build Linux Docker Images |
70 |
| - run: make build-docker-images |
71 |
| - |
72 |
| - buildWindows: |
73 |
| - name: Build Windows Binaries |
74 |
| - runs-on: windows-2019 |
75 |
| - steps: |
76 |
| - - name: Set up Go 1.x |
77 |
| - uses: actions/setup-go@v2 |
78 |
| - with: |
79 |
| - go-version: ${{ env.DEFAULT_GO_VERSION }} |
80 |
| - |
81 |
| - - name: Check out code into the Go module directory |
82 |
| - uses: actions/checkout@v2 |
83 |
| - |
84 |
| - - name: Build Windows Binaries |
85 |
| - run: choco install make && choco install zip && RefreshEnv.cmd && make build-binaries-windows |
86 |
| - |
87 |
| - buildWindowsDocker: |
88 |
| - name: Build Windows Docker Images |
89 |
| - runs-on: windows-2019 |
90 |
| - steps: |
91 |
| - - name: Set up Go 1.x |
92 |
| - uses: actions/setup-go@v2 |
93 |
| - with: |
94 |
| - go-version: ${{ env.DEFAULT_GO_VERSION }} |
95 |
| - |
96 |
| - - name: Check out code into the Go module directory |
97 |
| - uses: actions/checkout@v2 |
98 |
| - |
99 |
| - - name: Build Windows Docker Images |
100 |
| - run: choco install make && RefreshEnv.cmd && make build-docker-images-windows |
101 |
| - |
102 |
| - e2e: |
103 |
| - name: E2E Tests |
104 |
| - runs-on: ubuntu-20.04 |
105 |
| - strategy: |
106 |
| - matrix: |
107 |
| - k8sVersion: ["1.16", "1.17", "1.18", "1.19", "1.20", "1.21"] |
108 |
| - steps: |
109 |
| - - name: Set up Go 1.x |
110 |
| - uses: actions/setup-go@v2 |
111 |
| - with: |
112 |
| - go-version: ${{ env.DEFAULT_GO_VERSION }} |
113 |
| - |
114 |
| - - name: Check out code into the Go module directory |
115 |
| - uses: actions/checkout@v2 |
116 |
| - |
117 |
| - - name: E2E Tests |
118 |
| - run: test/k8s-local-cluster-test/run-test -v ${{ matrix.k8sVersion }} |
119 |
| - |
120 | 16 | releaseLinux:
|
121 | 17 | name: Release Linux
|
122 | 18 | runs-on: ubuntu-20.04
|
|
0 commit comments