chore: use go install in 1.17+ (#123)
This commit is contained in:
parent
e1e32e61c1
commit
8d57beb5ba
@ -21,7 +21,6 @@ jobs:
|
||||
build:
|
||||
docker:
|
||||
- <<: *golang_image
|
||||
working_directory: /go/src/github.com/ory/hydra-maester
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
@ -30,7 +29,6 @@ jobs:
|
||||
test:
|
||||
docker:
|
||||
- <<: *golang_image
|
||||
working_directory: /go/src/github.com/ory/hydra-maester
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
@ -68,7 +66,6 @@ jobs:
|
||||
release:
|
||||
docker:
|
||||
- <<: *golang_image
|
||||
working_directory: /go/src/github.com/ory/hydra-maester
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
|
4
Makefile
4
Makefile
@ -54,7 +54,7 @@ kind-deploy: manager manifests docker-build-notest kind-start
|
||||
.PHONY: kind-test
|
||||
kind-test: kind-deploy
|
||||
kubectl config set-context kind-kind
|
||||
go get github.com/onsi/ginkgo/ginkgo
|
||||
go install github.com/onsi/ginkgo/ginkgo@latest
|
||||
ginkgo -v ./controllers/...
|
||||
|
||||
# Run integration tests on local KIND cluster
|
||||
@ -124,7 +124,7 @@ docker-push:
|
||||
.PHONY: controller-gen
|
||||
controller-gen:
|
||||
ifeq (, $(shell which controller-gen))
|
||||
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.5.0
|
||||
go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.5.0
|
||||
CONTROLLER_GEN=$(shell which controller-gen)
|
||||
else
|
||||
CONTROLLER_GEN=$(shell which controller-gen)
|
||||
|
Loading…
x
Reference in New Issue
Block a user