Skip to content

Commit

Permalink
chore: use go install in 1.17+ (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
andremarianiello authored Mar 27, 2023
1 parent e1e32e6 commit 8d57beb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
build:
docker:
- <<: *golang_image
working_directory: /go/src/github.com/ory/hydra-maester
steps:
- checkout
- run:
Expand All @@ -30,7 +29,6 @@ jobs:
test:
docker:
- <<: *golang_image
working_directory: /go/src/github.com/ory/hydra-maester
steps:
- checkout
- run:
Expand Down Expand Up @@ -68,7 +66,6 @@ jobs:
release:
docker:
- <<: *golang_image
working_directory: /go/src/github.com/ory/hydra-maester
steps:
- checkout
- run:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -124,7 +124,7 @@ docker-push:
.PHONY: controller-gen
controller-gen:
ifeq (, $(shell which controller-gen))
go get sigs.k8s.io/controller-tools/cmd/[email protected]
go install sigs.k8s.io/controller-tools/cmd/[email protected]
CONTROLLER_GEN=$(shell which controller-gen)
else
CONTROLLER_GEN=$(shell which controller-gen)
Expand Down

0 comments on commit 8d57beb

Please sign in to comment.