Commit Graph

338 Commits

Author SHA1 Message Date
Stephen Augustus
2407a70cc7 [go1.15] Update to go1.15.5
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 20:49:56 -05:00
Stephen Augustus
eeb31f1a3c [go1.15] build: Update to k/repo-infra@v0.1.3 (supports go1.15.5)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 20:40:44 -05:00
Tim Hockin
54e2748e13 Pass all packages to conversion-gen
As per #96015 and other reports, conversion-gen does the wrong thing if
dependent packages are not ALSO being re-generated.  It creates new
versions of generated files that have missing conversions.

This change passes all packages as "extras" which will be parsed but not
regenerated (default already does exactly this).
2020-10-30 22:22:57 -07:00
Mike Danese
bdadb2a187 make kube::util::find-binary not dependent on bazel-out/ structure
Implement an aspect that outputs go_build_mode metadata for go binaries,
and use that during binary selection.
2020-09-11 13:19:38 -07:00
Stephen Augustus
bb1855bf11 bazel: Replace --features with Starlark build settings flag
All --features and --define flags
Deprecated in: 0.23.0
To be removed in: 0.25.0

ref: https://github.com/bazelbuild/rules_go/wiki/Deprecation-schedule

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-11 13:19:37 -07:00
Stephen Augustus
a4a98f440c [go1.15] Update to go1.15.2
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-11 13:15:12 -07:00
Stephen Augustus
ebd8ccc6bb [go1.15] build: Update to k/repo-infra@v0.1.1 (supports go1.15.2)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-11 13:14:43 -07:00
Aaron Crickenberger
a69964e3a4 Run unit tests 2 instead of 3 times via bazel 2020-09-10 12:52:28 -07:00
Jordan Liggitt
b4189f4d94 Stop ignoring unit test flakes, require multiple successful passes 2020-09-03 22:43:19 -04:00
Mike Danese
54955f7fa7 remove --verbose_failures from .bazelrc 2020-09-02 12:19:15 -07:00
Sascha Grunert
975b8d352e
Use /usr/bin/env bash in Makefiles and scripts
This allows the execution of the Makefiles from distributions which do
have `bash` in a different path.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-16 21:13:18 +02:00
Benjamin Elder
be6c81597b upgrade rules_docker 2020-08-13 16:03:10 -07:00
Stephen Augustus
aa2bb18a2b [go1.15] Update to go1.15
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-12 14:19:59 -04:00
Stephen Augustus
eaa2bc29b8 [go1.15] build: Update to k/repo-infra@v0.0.12 (supports go1.15.0)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-12 14:19:59 -04:00
Kubernetes Prow Robot
854ef3012f
Merge pull request #93827 from justaugustus/go115
[go1.15] Update to go1.15rc2
2020-08-09 10:22:19 -07:00
Kubernetes Prow Robot
7db8a431da
Merge pull request #93308 from bart0sh/PR0093-update-e2e-node-help
Makefile: update test-e2e-node help
2020-08-09 06:22:19 -07:00
Stephen Augustus
ffcef48b83 [go1.15] Update to go1.15rc2
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-09 02:53:53 -04:00
Stephen Augustus
07c7c9a55b [go1.15] build: Update to k/repo-infra@v0.0.11 (supports go1.15rc2)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-09 02:21:41 -04:00
Stephen Augustus
479249b3a3 [go1.15] dependencies.yaml: Update to go1.15rc1
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-25 16:45:02 -04:00
Stephen Augustus
0aca24df0f [go1.15] build: Update to k/repo-infra@v0.0.10 (supports go1.15rc1)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-25 16:45:01 -04:00
Ed Bartosh
667461ace8 Makefile: update test-e2e-node help 2020-07-22 01:51:06 +03:00
Kubernetes Prow Robot
98814409ba
Merge pull request #93224 from knabben/make-node-e2e
Documenting TEST_ARGS on Node E2E helper
2020-07-21 15:00:37 -07:00
Amim Knabben
1044840f6e Documenting TEST_ARGS on Node E2E helper 2020-07-19 14:37:28 -04:00
Stephen Augustus
3bbcba9b84 Update Golang to v1.14.6
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-17 14:47:21 -04:00
Stephen Augustus
bddd52046d Update repo-infra to v0.0.8 (to support go1.14.6 and go1.13.14)
Includes:
- bazelbuild/bazel-toolchains@3.4.0
- bazelbuild/rules_go@v0.22.8

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-17 14:30:02 -04:00
Stephen Augustus
99c29de8fc Update repo-infra to 0.0.7 (to support go1.14.5 and go1.13.13)
Includes:
- bazelbuild/bazel-toolchains@3.3.2
- bazelbuild/rules_go@v0.22.7

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-15 00:14:32 -04:00
Stephen Augustus
c4b6678757 Update Golang to v1.14.5
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-15 00:10:05 -04:00
Kubernetes Prow Robot
9859793a8b
Merge pull request #92362 from brianpursley/kubernetes-90739
Add bazel_skylib_workspace to fix make bazel-test 'no matching toolchains found' error
2020-06-25 17:51:30 -07:00
Stephen Augustus
236ef23f46 deps: Update Golang to v1.14.4
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-06-22 18:46:51 -04:00
Stephen Augustus
f7dce58176 Update repo-infra to 0.0.6 to support go1.14.4 and go1.13.12
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-06-22 18:46:50 -04:00
Brian Pursley
02742e3450 Add bazel_skylib_workspace to fix make bazel-test 'no matching toolchains found' error 2020-06-21 16:12:15 -04:00
bjrara
5e0bd8a44c Add openapi generation for the kube-aggregator 2020-06-05 11:10:08 +08:00
Stephen Augustus
1a5d9ffac3 build: Update to repo-infra@v0.0.5 to support go1.14.3 and go1.13.11
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-20 18:22:44 -04:00
Tim Hockin
325ea6e3c2 Restructure licenses again (revert cd4474a)
This moves licenses of vendored code from one monolith file into a tree
of individual files for easier reviews.  This fixes both the bash and
bazel paths.
2020-05-07 21:48:59 -07:00
Kubernetes Prow Robot
3e6161883f
Merge pull request #90347 from fejta/own
Update to repo-infra v0.0.4
2020-05-01 18:40:25 -07:00
David Eads
d32fc4e479 fix bug in api lifecycle generator file detection 2020-04-24 09:52:40 -04:00
Erick Fejta
fb0d3124b5 Update to repo-infra v0.0.4
And use repo-infra to configure rules_go and rbe
2020-04-21 15:25:46 -07:00
Davanum Srinivas
12146cb4df
Do not include bazel related deps in root go.mod
- add ./hack/tools/go.mod, this makes ./hack/tools a distinct module
- hack/tools/tools.go undescore imports bazel related tools, over time we
can add others.
- hack/*.sh scripts will cd to hack/tools and go install tools from there

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-19 22:01:50 -04:00
David Eads
1c6210a319 update makefile for prerelease-lifecycle 2020-04-14 16:16:58 -04:00
Mike Danese
59e2a09549 Update bazel to 2.2.0 2020-03-24 13:04:39 -07:00
Stephen Augustus
b6179ac7b9 deps: Update to Golang 1.13.9
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
Co-authored-by: Jeff Grafton <jgrafton@google.com>
2020-03-23 17:10:03 -04:00
Kubernetes Prow Robot
22a4c2cda1
Merge pull request #85804 from weibaohui/patch-1
correction of executable path doc
2020-03-17 22:26:47 -07:00
ialidzhikov
e26fff5cbc Update to golang@1.13.8
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-02-27 09:27:48 +02:00
Davanum Srinivas
598c279ecc
tolerate when bazel shutdown errors out
pull-kubernetes-e2e-gce-rbe are still failing with the following:
```
INFO: Waited 10 seconds for server process (pid=72) to terminate.
FATAL: Attempted to kill stale server process (pid=72) using SIGKILL, but it did not die in a timely fashion.
make: *** [Makefile:626: bazel-release] Error 36
make: Leaving directory '/home/prow/go/src/k8s.io/kubernetes'
```

we have added a pkill just after the line for bazel shutdown, so let's
continue to give the pkill a chance to run.
2020-02-08 21:47:12 -05:00
Davanum Srinivas
36785bedfc
Ensure bazel is really brought down 2020-02-07 13:14:44 -05:00
Kubernetes Prow Robot
7edb849f70
Merge pull request #87585 from justaugustus/rm-specs
build: Remove deb and rpm build definitions/specs
2020-02-07 00:07:43 -08:00
Stephen Augustus
ac9983f43d build: Remove references to debs/rpms in BUILD/dependency files
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-02-06 15:08:52 -08:00
Davanum Srinivas
fc719c13f5
Explicitly shutdown bazel after the target finishes 2020-02-05 18:16:34 -05:00
ialidzhikov
e1f7b16fa6 Update to golang@1.13.6
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-01-12 02:17:40 +02:00
ialidzhikov
f438def93d Update to golang@1.13.5
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-12-30 13:17:17 +02:00