-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tudor Marcu <[email protected]>
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 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 |
---|---|---|
|
@@ -12,7 +12,7 @@ on: | |
release: | ||
types: | ||
- created | ||
|
||
# jobs to run | ||
jobs: | ||
build: | ||
|
@@ -21,10 +21,12 @@ jobs: | |
- name: Set up Go 1.17 | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17 | ||
go-version: '1.17.8' | ||
id: go | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
- name: get go version | ||
run: go version | ||
- name: Gofmt and License checks | ||
run: make check | ||
- name: unit tests | ||
|
@@ -33,7 +35,7 @@ jobs: | |
uses: codecov/[email protected] | ||
- name: Set env | ||
run: | | ||
echo "KUBERNETES_VERSION=v1.20.13" >> $GITHUB_ENV | ||
echo "KUBERNETES_VERSION=v1.23.1" >> $GITHUB_ENV | ||
echo "OPERATOR_SDK_VERSION=v0.19.4" >> $GITHUB_ENV | ||
echo "MINIKUBE_VERSION=v1.24.0" >> $GITHUB_ENV | ||
echo "KUBERNETES_CONFIG_FILE=$HOME/.kube/config" >> $GITHUB_ENV | ||
|
@@ -60,6 +62,7 @@ jobs: | |
sudo kubectl -n kube-system get pod -o wide | ||
sudo kubectl create secret docker-registry regcred --docker-server=https://index.docker.io/v1/ --docker-username="testanisha" --docker-password="123456789" [email protected] | ||
- name: E2E | ||
uses: actions/setup-go@v2 | ||
run: sudo make test-e2e | ||
publish: | ||
name: Publish docker image | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
language: go | ||
go: | ||
- '1.13.8' | ||
- '1.17.8' | ||
sudo: required | ||
env: | ||
global: | ||
|