move to go 1.17.4 and update dependencies (#1717)

* move to go 1.17.4 and update dependencies
* use go install for mockgen and kind
This commit is contained in:
Felix Kunde
2021-12-16 15:13:30 +01:00
committed by GitHub
parent 07fd4ec00b
commit 087c379687
13 changed files with 506 additions and 167 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ features and tests.
Postgres Operator is written in Go. Use the [installation instructions](https://golang.org/doc/install#install)
if you don't have Go on your system. You won't be able to compile the operator
with Go older than 1.16. We recommend installing [the latest one](https://golang.org/dl/).
with Go older than 1.17. We recommend installing [the latest one](https://golang.org/dl/).
Go projects expect their source code and all the dependencies to be located
under the [GOPATH](https://github.com/golang/go/wiki/GOPATH). Normally, one
@@ -176,7 +176,7 @@ go get -u github.com/derekparker/delve/cmd/dlv
```
RUN apk --no-cache add go git musl-dev
RUN go get github.com/derekparker/delve/cmd/dlv
RUN go get -d github.com/derekparker/delve/cmd/dlv
```
* Update the `Makefile` to build the project with debugging symbols. For that