Skip to content

Commit ea44409

Browse files
merging branch into local fork main
1 parent 40f0251 commit ea44409

24 files changed

+424
-533
lines changed
Lines changed: 186 additions & 186 deletions
Original file line numberDiff line numberDiff line change
@@ -1,191 +1,191 @@
1-
name: Build and Test
2-
3-
on:
4-
push:
5-
branches:
6-
- main
7-
tags-ignore:
8-
- "v*.*.*"
9-
pull_request:
10-
workflow_dispatch:
11-
# Run M-F at 2pm CDT
12-
schedule:
13-
- cron: '0 19 * * 1-5'
14-
15-
env:
16-
DEFAULT_GO_VERSION: ^1.19.3
17-
GITHUB_USERNAME: ${{ secrets.EC2_BOT_GITHUB_USERNAME }}
18-
GITHUB_TOKEN: ${{ secrets.EC2_BOT_GITHUB_TOKEN }}
19-
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
20-
21-
jobs:
22-
fastTests:
23-
name: Fast Test
24-
runs-on: ubuntu-20.04
25-
steps:
26-
- name: Set up Go 1.x
27-
uses: actions/setup-go@v2
28-
with:
29-
go-version: ${{ env.DEFAULT_GO_VERSION }}
30-
31-
- name: Check out code into the Go module directory
32-
uses: actions/checkout@v2
33-
34-
- name: Restore go mod cache
35-
uses: actions/cache@v2
36-
with:
37-
path: |
38-
~/.cache/go-build
39-
~/go/pkg/mod
40-
~/go/bin/
41-
key: gocache
42-
43-
- name: Unit Tests
44-
run: make unit-test
1+
# name: Build and Test
2+
3+
# on:
4+
# push:
5+
# branches:
6+
# - main
7+
# tags-ignore:
8+
# - "v*.*.*"
9+
# pull_request:
10+
# workflow_dispatch:
11+
# # Run M-F at 2pm CDT
12+
# schedule:
13+
# - cron: '0 19 * * 1-5'
14+
15+
# env:
16+
# DEFAULT_GO_VERSION: ^1.19.3
17+
# GITHUB_USERNAME: ${{ secrets.EC2_BOT_GITHUB_USERNAME }}
18+
# GITHUB_TOKEN: ${{ secrets.EC2_BOT_GITHUB_TOKEN }}
19+
# LIKITHA_WEBHOOK_URL: ${{ secrets.LIKITHA_WEBHOOK_URL }}
20+
21+
# jobs:
22+
# fastTests:
23+
# name: Fast Test
24+
# runs-on: ubuntu-20.04
25+
# steps:
26+
# - name: Set up Go 1.x
27+
# uses: actions/setup-go@v2
28+
# with:
29+
# go-version: ${{ env.DEFAULT_GO_VERSION }}
30+
31+
# - name: Check out code into the Go module directory
32+
# uses: actions/checkout@v2
33+
34+
# - name: Restore go mod cache
35+
# uses: actions/cache@v2
36+
# with:
37+
# path: |
38+
# ~/.cache/go-build
39+
# ~/go/pkg/mod
40+
# ~/go/bin/
41+
# key: gocache
42+
43+
# - name: Unit Tests
44+
# run: make unit-test
4545

46-
- name: Lints
47-
run: make spellcheck shellcheck helm-lint
46+
# - name: Lints
47+
# run: make spellcheck shellcheck helm-lint
4848

49-
- name: License Check
50-
run: make license-test
51-
env:
52-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
# - name: License Check
50+
# run: make license-test
51+
# env:
52+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5353

54-
- name: Generate K8s YAML
55-
run: make generate-k8s-yaml
54+
# - name: Generate K8s YAML
55+
# run: make generate-k8s-yaml
5656

57-
golangci:
58-
# this action needs to run in its own job per setup
59-
name: Lint Eastwood
60-
runs-on: ubuntu-20.04
61-
steps:
62-
- uses: actions/checkout@v2
63-
- name: Set up golangci-lint
64-
uses: golangci/[email protected]
65-
with:
66-
version: v1.51.1
67-
args: --timeout=5m
68-
skip-cache: true
57+
# golangci:
58+
# # this action needs to run in its own job per setup
59+
# name: Lint Eastwood
60+
# runs-on: ubuntu-20.04
61+
# steps:
62+
# - uses: actions/checkout@v2
63+
# - name: Set up golangci-lint
64+
# uses: golangci/[email protected]
65+
# with:
66+
# version: v1.51.1
67+
# args: --timeout=5m
68+
# skip-cache: true
6969

70-
buildLinux:
71-
name: Build Linux Binaries
72-
runs-on: ubuntu-20.04
73-
steps:
74-
- name: Set up Go 1.x
75-
uses: actions/setup-go@v2
76-
with:
77-
go-version: ${{ env.DEFAULT_GO_VERSION }}
78-
79-
- name: Check out code into the Go module directory
80-
uses: actions/checkout@v2
81-
82-
- name: Restore go mod cache
83-
uses: actions/cache@v2
84-
with:
85-
path: |
86-
~/.cache/go-build
87-
~/go/pkg/mod
88-
~/go/bin/
89-
key: gocache
90-
91-
- name: Build Linux Binaries
92-
run: make build-binaries
93-
94-
buildLinuxDocker:
95-
name: Build Linux Docker Images
96-
runs-on: ubuntu-20.04
97-
steps:
98-
- name: Set up Go 1.x
99-
uses: actions/setup-go@v2
100-
with:
101-
go-version: ${{ env.DEFAULT_GO_VERSION }}
102-
103-
- name: Restore go mod cache
104-
uses: actions/cache@v2
105-
with:
106-
path: |
107-
~/.cache/go-build
108-
~/go/pkg/mod
109-
~/go/bin/
110-
key: gocache
111-
112-
- name: Check out code into the Go module directory
113-
uses: actions/checkout@v2
114-
115-
- name: Build Linux Docker Images
116-
run: make build-docker-images
117-
118-
buildWindows:
119-
name: Build Windows Binaries
120-
runs-on: windows-2019
121-
steps:
122-
- name: Set up Go 1.x
123-
uses: actions/setup-go@v2
124-
with:
125-
go-version: ${{ env.DEFAULT_GO_VERSION }}
126-
127-
- name: Check out code into the Go module directory
128-
uses: actions/checkout@v2
129-
130-
- name: Restore go mod cache
131-
uses: actions/cache@v2
132-
with:
133-
path: |
134-
~/.cache/go-build
135-
~/go/pkg/mod
136-
~/go/bin/
137-
key: gocache
138-
139-
- name: Build Windows Binaries
140-
run: choco install make && choco install zip && RefreshEnv.cmd && make build-binaries-windows
141-
142-
buildWindowsDocker:
143-
name: Build Windows Docker Images
144-
runs-on: windows-2019
145-
steps:
146-
- name: Set up Go 1.x
147-
uses: actions/setup-go@v2
148-
with:
149-
go-version: ${{ env.DEFAULT_GO_VERSION }}
150-
151-
- name: Check out code into the Go module directory
152-
uses: actions/checkout@v2
153-
154-
- name: Restore go mod cache
155-
uses: actions/cache@v2
156-
with:
157-
path: |
158-
~/.cache/go-build
159-
~/go/pkg/mod
160-
~/go/bin/
161-
key: gocache
162-
163-
- name: Build Windows Docker Images
164-
run: choco install make && RefreshEnv.cmd && make build-docker-images-windows
165-
166-
e2e:
167-
name: E2E Tests
168-
runs-on: ubuntu-20.04
169-
strategy:
170-
matrix:
171-
k8sVersion: ["1.18", "1.19", "1.20", "1.21", "1.22", "1.23", "1.24", "1.25"]
172-
steps:
173-
- name: Set up Go 1.x
174-
uses: actions/setup-go@v2
175-
with:
176-
go-version: ${{ env.DEFAULT_GO_VERSION }}
177-
178-
- name: Check out code into the Go module directory
179-
uses: actions/checkout@v2
180-
181-
- name: Restore go mod cache
182-
uses: actions/cache@v2
183-
with:
184-
path: |
185-
~/.cache/go-build
186-
~/go/pkg/mod
187-
~/go/bin/
188-
key: gocache
189-
190-
- name: E2E Tests
191-
run: test/k8s-local-cluster-test/run-test -v ${{ matrix.k8sVersion }}
70+
# buildLinux:
71+
# name: Build Linux Binaries
72+
# runs-on: ubuntu-20.04
73+
# steps:
74+
# - name: Set up Go 1.x
75+
# uses: actions/setup-go@v2
76+
# with:
77+
# go-version: ${{ env.DEFAULT_GO_VERSION }}
78+
79+
# - name: Check out code into the Go module directory
80+
# uses: actions/checkout@v2
81+
82+
# - name: Restore go mod cache
83+
# uses: actions/cache@v2
84+
# with:
85+
# path: |
86+
# ~/.cache/go-build
87+
# ~/go/pkg/mod
88+
# ~/go/bin/
89+
# key: gocache
90+
91+
# - name: Build Linux Binaries
92+
# run: make build-binaries
93+
94+
# buildLinuxDocker:
95+
# name: Build Linux Docker Images
96+
# runs-on: ubuntu-20.04
97+
# steps:
98+
# - name: Set up Go 1.x
99+
# uses: actions/setup-go@v2
100+
# with:
101+
# go-version: ${{ env.DEFAULT_GO_VERSION }}
102+
103+
# - name: Restore go mod cache
104+
# uses: actions/cache@v2
105+
# with:
106+
# path: |
107+
# ~/.cache/go-build
108+
# ~/go/pkg/mod
109+
# ~/go/bin/
110+
# key: gocache
111+
112+
# - name: Check out code into the Go module directory
113+
# uses: actions/checkout@v2
114+
115+
# - name: Build Linux Docker Images
116+
# run: make build-docker-images
117+
118+
# buildWindows:
119+
# name: Build Windows Binaries
120+
# runs-on: windows-2019
121+
# steps:
122+
# - name: Set up Go 1.x
123+
# uses: actions/setup-go@v2
124+
# with:
125+
# go-version: ${{ env.DEFAULT_GO_VERSION }}
126+
127+
# - name: Check out code into the Go module directory
128+
# uses: actions/checkout@v2
129+
130+
# - name: Restore go mod cache
131+
# uses: actions/cache@v2
132+
# with:
133+
# path: |
134+
# ~/.cache/go-build
135+
# ~/go/pkg/mod
136+
# ~/go/bin/
137+
# key: gocache
138+
139+
# - name: Build Windows Binaries
140+
# run: choco install make && choco install zip && RefreshEnv.cmd && make build-binaries-windows
141+
142+
# buildWindowsDocker:
143+
# name: Build Windows Docker Images
144+
# runs-on: windows-2019
145+
# steps:
146+
# - name: Set up Go 1.x
147+
# uses: actions/setup-go@v2
148+
# with:
149+
# go-version: ${{ env.DEFAULT_GO_VERSION }}
150+
151+
# - name: Check out code into the Go module directory
152+
# uses: actions/checkout@v2
153+
154+
# - name: Restore go mod cache
155+
# uses: actions/cache@v2
156+
# with:
157+
# path: |
158+
# ~/.cache/go-build
159+
# ~/go/pkg/mod
160+
# ~/go/bin/
161+
# key: gocache
162+
163+
# - name: Build Windows Docker Images
164+
# run: choco install make && RefreshEnv.cmd && make build-docker-images-windows
165+
166+
# e2e:
167+
# name: E2E Tests
168+
# runs-on: ubuntu-20.04
169+
# strategy:
170+
# matrix:
171+
# k8sVersion: ["1.18", "1.19", "1.20", "1.21", "1.22", "1.23", "1.24", "1.25"]
172+
# steps:
173+
# - name: Set up Go 1.x
174+
# uses: actions/setup-go@v2
175+
# with:
176+
# go-version: ${{ env.DEFAULT_GO_VERSION }}
177+
178+
# - name: Check out code into the Go module directory
179+
# uses: actions/checkout@v2
180+
181+
# - name: Restore go mod cache
182+
# uses: actions/cache@v2
183+
# with:
184+
# path: |
185+
# ~/.cache/go-build
186+
# ~/go/pkg/mod
187+
# ~/go/bin/
188+
# key: gocache
189+
190+
# - name: E2E Tests
191+
# run: test/k8s-local-cluster-test/run-test -v ${{ matrix.k8sVersion }}

0 commit comments

Comments
 (0)