Skip to content

Commit

Permalink
🏃 switch to using Go modules in build tooling
Browse files Browse the repository at this point in the history
Highlights:
 - use Goreleaser with Go 1.12.5
 - Enable Go modules
  • Loading branch information
droot committed May 16, 2019
1 parent 0e13ffa commit 46cdedf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions build/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ builds:
- amd64
env:
- CGO_ENABLED=0
- GO111MODULE=on
archive:
files:
- "/workspace/_output/{{ .Os }}_{{ .Arch }}/kubebuilder/bin/*"
Expand Down
2 changes: 1 addition & 1 deletion build/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ steps:
- name: "gcr.io/kubebuilder/thirdparty-darwin:1.13.1"
args: ["tar", "-xzvf", "/kubebuilder_darwin_amd64.tar.gz"]
dir: "_output/darwin_amd64"
- name: "gcr.io/kubebuilder/goreleaser_with_go_1.11:0.0.1"
- name: "gcr.io/kubebuilder/goreleaser_with_go_1.12.5:0.0.1"
args: ["bash", "build/build_kubebuilder.sh"]
env:
- 'KUBERNETES_VERSION=1.13.1'
Expand Down
2 changes: 1 addition & 1 deletion build/cloudbuild_local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ steps:
- name: "gcr.io/kubebuilder/thirdparty-darwin:1.13.1"
args: ["tar", "-xzvf", "/kubebuilder_darwin_amd64.tar.gz"]
dir: "_output/darwin_amd64"
- name: "gcr.io/kubebuilder/goreleaser_with_go_1.11:0.0.1"
- name: "gcr.io/kubebuilder/goreleaser_with_go_1.12.5:0.0.1"
args: ["bash", "build/build_kubebuilder.sh", "--snapshot"]
env:
- 'KUBERNETES_VERSION=1.13.1'
2 changes: 1 addition & 1 deletion build/cloudbuild_snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ steps:
- name: "gcr.io/kubebuilder/thirdparty-darwin:1.13.1"
args: ["tar", "-xzvf", "/kubebuilder_darwin_amd64.tar.gz"]
dir: "_output/darwin_amd64"
- name: "gcr.io/kubebuilder/goreleaser_with_go_1.11:0.0.1"
- name: "gcr.io/kubebuilder/goreleaser_with_go_1.12.5:0.0.1"
args: ["bash", "build/build_kubebuilder.sh", "--snapshot"]
env:
- 'KUBERNETES_VERSION=1.13.1'
Expand Down

0 comments on commit 46cdedf

Please sign in to comment.