Commit Graph

55 Commits

Author SHA1 Message Date
Justin Santa Barbara 917d43f7bf Update to golang 1.13.9 to match 1.18.1 2020-04-09 00:46:26 -04:00
Peter Rifel 4179e2c3e3 Update bazel rules 2020-03-24 15:46:51 -05:00
Justin Santa Barbara b10f7a4252 Update golang to 1.13.8
k/k is using 1.13.6, and it looks like there are some potentially
relevant fixes in .7 and .8 (particularly on unpatched Windows).
2020-02-16 11:33:13 -05:00
Justin SB f29f6f9d75
Update gcr.io images 2019-12-24 11:14:24 -05:00
Peter Rifel 024c8a92d7 Upgrade go to 1.13 2019-11-20 09:44:33 -08:00
mikesplain 7ce9b63282
Update rules go and gazelle 2019-11-16 10:23:59 -05:00
Peter Rifel f82faa5c02 Upgrade go version to 1.12.11 2019-10-17 22:51:00 -07:00
Justin SB 2884f027fd
bazel: comment out shallow_since as fails to build with bazel 1.0
Gives an error:

error running 'git reset --hard f905a6636c5106c36cc979bdcc19f0fe4fc01ede' while working with distroless:
fatal: Could not parse object 'f905a6636c5106c36cc979bdcc19f0fe4fc01ede'.
2019-10-11 10:33:03 -04:00
Erick Fejta 8dcb19e6b2 Add optional RBE support for kops 2019-10-07 14:54:38 -07:00
Peter Rifel d6cc9bb38e Load additional dependencies for new version of rules_docker 2019-10-01 18:25:58 -05:00
Peter Rifel 00c6267ec2 Upgrade bazel's rules_go and rules_docker 2019-10-01 16:52:38 -05:00
Justin SB 3ccc84dcf8
kops-controller container image
Based on distroless for security / stability
2019-09-25 12:04:36 -04:00
mikesplain 9980c068f8 Update rules_go with some fixes 2019-09-18 13:11:47 -04:00
Peter Rifel e38558a8fc Update rules_docker and go 2019-09-03 15:54:01 -07:00
Justin SB 8daf1c56d0
Update to golang 1.12.9
We particularly want the http fixes in 1.12.8:

https://golang.org/doc/devel/release.html#go1.12.minor
2019-08-31 07:51:44 -07:00
Peter Rifel 81edef3cb6 Update distroless for latest bazel compatibility 2019-07-31 16:45:02 -07:00
Peter Rifel 407d53fe2e Update repo-infra for bazel fixes
Fixes this error: `'single_file' is no longer supported. use allow_single_file instead. You can use --incompatible_disable_deprecated_attr_params=false to temporarily disable this check.`
2019-07-31 15:31:24 -07:00
mikesplain 3e9d20e58c Update stretch dependencies and kubeup 2019-05-20 14:46:08 +02:00
Justin SB f30e8ccb4d
Update go_version to 1.12.5
Upstream change is https://github.com/kubernetes/kubernetes/pull/77528
2019-05-19 22:28:19 +02:00
Justin SB 4a405dcd8a
bazel: fix distroless imports for latest bazel 2019-05-05 13:18:47 -04:00
Justin SB 0d83057002
Switch to golang 1.12.1
For cherry-picking to 1.14

https://github.com/kubernetes/kubernetes/blob/release-1.14/build/build-image/cross/Dockerfile
2019-04-22 15:49:28 -04:00
Justin SB bf4c4a1a95
Source gofmt from bazel go
Using the approach from k8s.io/repo-infra.  This avoids problems where
we are testing with a different version of go than we are building
with.
2019-04-21 16:41:11 -04:00
Justin SB de581b1b64
Switch to golang 1.11.5
For cherry-picking to 1.13

https://github.com/kubernetes/kubernetes/blob/release-1.13/build/build-image/cross/Dockerfile
2019-04-20 17:36:56 -04:00
mikesplain f424e17bc8 Update rules go 2019-04-11 08:41:34 -04:00
mikesplain 9f79c67856 Upgrade rules go 2019-03-25 19:49:02 -04:00
mikesplain 63c804a5ac Update workflow 2019-03-12 13:59:00 -04:00
mikesplain e6ebf70d9b Update bazel workspace
* Update Rules go to 0.17
* Updates debian_stretch repo
* Update utils tar to official release
2019-01-31 17:32:34 -05:00
Mike Splain 24222fffe8 Update bazel rules files 2019-01-27 21:15:57 -05:00
Justin SB 01088562fb
Update go version to 1.10.8
We pick up the crypto fixes
2019-01-25 10:01:47 -05:00
Justin SB 0b1e6d55ab
Fix prow-postsubmit by copying prebuilt archive in bazel
It's roughly possible to build socat, but conntrack looks much harder
to build in bazel.  For compatability we just reuse the prebuilt
utils.tar.gz (these are utilities that rarely change).
2019-01-12 12:13:26 -08:00
Justin SB 3ebb7a9965 Update distroless
As otherwise we can't build with bazel 0.21
2019-01-03 21:53:22 -05:00
mikesplain ea482fc455 Workspace updates for bazel 2018-12-03 15:15:16 -05:00
Justin Santa Barbara 93f1e26f57 Update golang version to 1.10.3, for k8s 1.11
k8s 1.11 is tested when built with go 1.10.3
2018-09-22 11:52:20 -04:00
Mike Splain a35b0c48df Update rules go and gazelle 2018-09-17 09:56:47 -04:00
Mike Splain c2ebe1499b Update bazel_gazelle 2018-06-05 10:46:55 -04:00
Justin Santa Barbara 3d9fa350e3 Update docker image versions 2018-05-10 15:56:46 -04:00
Mike Splain d1ccb60cbc Update rules go to support go 1.10.2 and 1.9.6 2018-05-03 10:27:13 -04:00
Justin Santa Barbara 0a71fbfa34 gazelle: use separate gazelle 2018-04-19 00:58:21 -04:00
Mike Splain 38cd57ddd3 Update bazel configs for bazel 0.12 go_rules 0.11 2018-04-18 14:53:00 -04:00
Mike Splain 0f26d60339 Update rules go and gazelle 2018-04-18 14:48:42 -04:00
Mike Splain 2547cb07a3 Update rules go and use more recent debian snapshot 2018-04-09 09:12:14 -04:00
Mike Splain 6566ad1cb1 Fix distroless error 2018-03-06 21:43:24 -05:00
chrislovecnm 1927d2be7e Updates for Bazel tests and cleaning up go sdk
Enabling sharded tests for our slower tests, and removing the go
commands to download a specific sdk.
2018-03-01 17:14:10 -07:00
Mike Splain 1bb45c5d52 Update rules go 2018-02-27 11:33:14 -05:00
Mike Splain 7f139caed2 Add packages to protokube and make bazel-upload 2018-02-23 16:45:57 -05:00
Mike Splain f0ad5ed914 Update rules go 2018-02-22 20:02:35 -05:00
Mike Splain 0aafb89202 Update bazel_rules_docker 2018-02-22 20:02:35 -05:00
Tim Hockin 79d5f793e7 Convert registry to k8s.gcr.io 2018-02-14 10:08:41 -08:00
Justin Santa Barbara 1222b7e0a6 bazel: declare golang 1.9.3
1.9.3 isn't included in the bazel rule for go we are using.

Once the next version of those rules ships, we can likely use the
built-in version.
2018-02-03 21:41:26 -05:00
Justin Santa Barbara 1c80999e8c Explicitly set go version in bazel build
So it doesn't float with rules_go updates
2018-02-03 17:37:12 -05:00