Sascha Grunert
273fdd7686
Build conformance issue when building via cross
or cross-in-a-container
...
This enables building the conformance image when running `make
cross-in-a-container`, which is being used by the release engineering
tooling.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-03-15 15:29:04 +01:00
Benjamin Elder
b7f1cf7683
remove bazel from the makefile
2021-03-07 13:01:17 -08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Benjamin Elder
a3a650f246
don't default to building conformance image for fastbuilds (quick-release)
...
continue defaulting to building it for release builds
2021-02-23 17:41:27 -08:00
Carlos Panato
8b5bf8ef91
[go1.15] Update to go1.15.8
...
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-02-06 15:55:39 +01:00
Kubernetes Prow Robot
d7cb340bc6
Merge pull request #83268 from odinuge/e2e_node_timeout
...
Add timeout config for node_e2e tests
2021-01-28 19:33:40 -08:00
Carlos Panato
e76fc62258
[go1.15] Update to go1.15.7
...
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-01-27 11:43:01 +01:00
Tim Hockin
6fe6941f2b
'make clean_generated' in staging, too
2021-01-25 10:27:18 -08:00
Tim Hockin
876c9f0d8c
Rename _examples to examples
...
The alternative to this would be to special-case code-generator. Since
it legit wants codegen, it seems wrong to make it be _examples (which tools
should ignore).
Make examples an "internal module" so the main go.mod for
k8s.io/code-generator does not get too polluted.
2021-01-25 10:20:46 -08:00
Tim Hockin
1b04d05423
Makefile: add debug on generated files
2021-01-25 10:15:59 -08:00
Tim Hockin
8703dc6e1c
Makefile: remove redundant line
...
This same dep is expressed a few lines later in the "real" recipe.
2021-01-25 10:15:58 -08:00
Tim Hockin
e46810bca5
Make: $(foo:-) is shell, not makefile syntax
...
Driving towards `make --warn-undefined-variables`.
2021-01-25 10:15:58 -08:00
Tim Hockin
ee170145b2
Make: prefix magic go-deps variables with GODEPS
...
This makes them easier to see and find.
Driving towards `make --warn-undefined-variables`.
2021-01-25 10:15:58 -08:00
Tim Hockin
371d602a05
Make: change $(eval) in a comment
...
Because this comment is in a `define` which is later evaluated, the
syntactical `$(eval)` is treated like a variable exapansion. Just
change the comment.
Driving towards `make --warn-undefined-variables`.
2021-01-25 10:15:58 -08:00
Tim Hockin
83dc781d29
Make: init variables
...
Driving towards the goal of `make --warn-undefined-variables` working.
2021-01-25 10:15:58 -08:00
Jordan Liggitt
8bac4ef9ad
Drop runs-per-test for unit tests
2021-01-21 13:58:00 -05:00
Mike Danese
b624868386
bump repo-infra to 0.2.0
...
Change-Id: Id4fa13ca3cf092867bb0973294605962a8e5019c
2021-01-07 13:51:03 -08:00
Mike Danese
7d7852d3ef
bump bazel to 3.4.1
...
Change-Id: I7ae75acba5518782a99ede2d896a787238d7b744
2021-01-07 13:51:03 -08:00
Tim Hockin
6f0f7aad46
Fix Makfile cut-paste comment errors
2020-12-22 21:37:42 -08:00
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
Odin Ugedal
6dfdf05eaa
Add timeout config for node_e2e tests
...
Some test suits use more than the default 45m, resulting in the test to
crash.
2020-08-09 15:45:56 +02: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