-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,110 +13,6 @@ env: | |
|
||
jobs: | ||
|
||
fastTests: | ||
name: Fast Tests and Lints | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ env.DEFAULT_GO_VERSION }} | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Unit Tests | ||
run: make unit-test | ||
|
||
- name: Lints | ||
run: make spellcheck shellcheck helm-lint | ||
|
||
- name: License Check | ||
run: make license-test | ||
|
||
- name: Run golangci-lint | ||
uses: golangci/[email protected] | ||
|
||
- name: Generate K8s YAML | ||
run: make generate-k8s-yaml | ||
|
||
buildLinux: | ||
name: Build Linux Binaries | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ env.DEFAULT_GO_VERSION }} | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
- name: Build Linux Binaries | ||
run: make build-binaries | ||
|
||
buildLinuxDocker: | ||
name: Build Linux Docker Images | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ env.DEFAULT_GO_VERSION }} | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build Linux Docker Images | ||
run: make build-docker-images | ||
|
||
buildWindows: | ||
name: Build Windows Binaries | ||
runs-on: windows-2019 | ||
steps: | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ env.DEFAULT_GO_VERSION }} | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build Windows Binaries | ||
run: choco install make && choco install zip && RefreshEnv.cmd && make build-binaries-windows | ||
|
||
buildWindowsDocker: | ||
name: Build Windows Docker Images | ||
runs-on: windows-2019 | ||
steps: | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ env.DEFAULT_GO_VERSION }} | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build Windows Docker Images | ||
run: choco install make && RefreshEnv.cmd && make build-docker-images-windows | ||
|
||
e2e: | ||
name: E2E Tests | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
k8sVersion: ["1.16", "1.17", "1.18", "1.19", "1.20", "1.21"] | ||
steps: | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ env.DEFAULT_GO_VERSION }} | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: E2E Tests | ||
run: test/k8s-local-cluster-test/run-test -v ${{ matrix.k8sVersion }} | ||
|
||
releaseLinux: | ||
name: Release Linux | ||
runs-on: ubuntu-20.04 | ||
|