Skip to content

Commit

Permalink
Update go to 1.15 (#24)
Browse files Browse the repository at this point in the history
* Update go to 1.15
* Update go dependencies
  • Loading branch information
aledbf authored Oct 29, 2020
1 parent 5c964d0 commit f34fedf
Show file tree
Hide file tree
Showing 654 changed files with 91,316 additions and 110,670 deletions.
6 changes: 3 additions & 3 deletions .cicd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ set -eox pipefail
. .cicd/env.sh

build() {
ldflags="-X $mod/core.Version=$vers -X $mod/core.BuildTime=$buildTime"
ldflags="-X $mod/core.Version=$vers -X $mod/core.BuildTime=$buildTime -buildid= -w -s"
docker run --rm \
-v "$(pwd):/go/src/$mod" \
-w "/go/src/$mod" \
-e CGO_ENABLED=0 \
-e GOOS=linux \
-e GOARCH=$1 \
golang:1.14-stretch \
go build -mod=vendor -o kube-webhook-certgen-$1 -ldflags "$ldflags"
golang:1.15-buster \
go build -mod=vendor -o kube-webhook-certgen-$1 -trimpath -ldflags="$ldflags"
}

build amd64
Expand Down
2 changes: 1 addition & 1 deletion .cicd/checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ docker run --rm \
-e CGO_ENABLED=0 \
-e GOOS=linux \
-e GOARCH=amd64 \
golang:1.14-stretch \
golang:1.15-buster \
/bin/bash -c "$command"
2 changes: 1 addition & 1 deletion .cicd/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ docker run --rm \
-e CGO_ENABLED=0 \
-e GOOS=linux \
-e GOARCH=amd64 \
golang:1.14-stretch \
golang:1.15-buster \
/bin/bash -c "$command"
9 changes: 4 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
module github.com/jet/kube-webhook-certgen

go 1.14
go 1.15

require (
github.com/googleapis/gnostic v0.2.0 // indirect
github.com/imdario/mergo v0.3.7 // indirect
github.com/onrik/logrus v0.3.0
github.com/sirupsen/logrus v1.4.2
github.com/spf13/cobra v0.0.4
k8s.io/api v0.18.5
k8s.io/apimachinery v0.18.5
k8s.io/client-go v0.18.5
k8s.io/api v0.19.2
k8s.io/apimachinery v0.19.2
k8s.io/client-go v0.19.2
)
221 changes: 180 additions & 41 deletions go.sum

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions vendor/github.com/evanphx/json-patch/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/evanphx/json-patch/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions vendor/github.com/evanphx/json-patch/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 8 additions & 5 deletions vendor/github.com/evanphx/json-patch/merge.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f34fedf

Please sign in to comment.