notpad
dcf80e31ac
Migrate Kubemark to distroless
2019-11-16 17:49:26 +08:00
Kubernetes Prow Robot
7a1eaa112e
Merge pull request #84696 from dims/BenTheElder-byebyehacke2e
...
Remove hack/e2e.go
2019-11-07 09:05:04 -08:00
Jordan Liggitt
e3ff39ffa0
Update build to go1.13.4
2019-11-06 17:39:05 -05:00
Benjamin Elder
83c56a0373
remove hack/e2e.go
2019-11-03 19:36:59 -05:00
Matt Matejczyk
686245b876
Fix base image discrepancy when building kubemark.
...
There are two ways of building kubemark: 1) via Dockerfile and 2) via
bazel.
In CI/CD tests we use the 1) way and use debian:jessie as the base
image.
But if you build kubemark via bazel it will use the discouraged busybox
base image.
This PR fixes that by using debian:jessie everywehre and pinning exact
sha version to make the kubemark image hermetic.
2019-10-24 10:50:10 +02:00
Christoph Blecker
45bc9a77a6
Use --stamp flag in bazel builds
2019-10-18 13:38:55 -07:00
Christoph Blecker
e570e3e88d
Update to use go1.12.12
2019-10-18 10:37:34 -07:00
Davanum Srinivas
138571b23f
Remove hyperkube from release artifacts
...
Change-Id: Ie09248d6fc688ffffbeb0271824817a5129346a0
2019-10-03 13:33:17 -04:00
Christoph Blecker
15bba1feed
Update to use go1.12.10
2019-09-25 17:13:43 -07:00
Kubernetes Prow Robot
3a55875465
Merge pull request #81512 from odinuge/preemptible-node-tests
...
Add support for preemptible instances in node-e2e
2019-09-20 22:55:24 -07:00
Kubernetes Prow Robot
0a8509d121
Merge pull request #82700 from praseodym/add-bazelversion
...
Add .bazelversion file
2019-09-19 09:17:02 -07:00
Mark Janssen
c9d10d1fef
Add .bazelversion file
...
This will allow developers to use Bazelisk to build Kubernetes with a
known-good Bazel version.
2019-09-19 08:57:12 +02:00
Hongxu Jia
2ab47f95eb
fix compiling failure: execvp: /bin/bash: Argument list too long
...
Use GNU Make 4.2.1(such as fedora-29) to build k8s in a long directory,
it failed with `execvp: /bin/bash: Argument list too long'
[snip]
$ cd /buildarea1/hjia/wrlinux-1019/I_/suspect_/that_/if_/you_/create_/your_/project_/in_/a_/very_/deep_/directory/build_master-wr_qemux86-64_faw_2019090509/build/tmp-glibc/work/core2-64-wrs-linux/kubernetes/v1.16.0-alpha+git7054e3ead7e1a00ca6ac3ec47ea355b76061a35a-r0/kubernetes-v1.16.0-alpha+git7054e3ead7e1a00ca6ac3ec47ea355b76061a35a/src/import
$ make cross KUBE_BUILD_PLATFORMS=linux/amd64 GOLDFLAGS=""
|+++ [0804 16:38:32] Building go targets for linux/amd64:
| ./vendor/k8s.io/code-generator/cmd/deepcopy-gen
|make[1]: execvp: /bin/bash: Argument list too long
|make[1]: *** [Makefile.generated_files:184: pkg/kubectl/cmd/testing/zz_generated.deepcopy.go] Error 127
|make: *** [Makefile:557: generated_files] Error 2
...
[snip]
From make manual [1]
$?
The names of all the prerequisites that are newer than the target, with spaces between them.
While two `$?' was passed to bash in a line, it caused above failure,
drop a duplicated one could workaround the issue.
[1] https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-09-17 14:56:40 +08:00
Kubernetes Prow Robot
de4590e949
Merge pull request #81168 from anthonyrisinger/patch-1
...
Add gen_openapi target to top-level Makefile.
2019-08-29 05:29:55 -07:00
Odin Ugedal
e20c2b1f32
Add support for preemptible instances in node-e2e
...
Preemptible instances are cheaper, and the small chanse of a vm being
killed doesn't matter when running during development. This is a
tradeoff the user should be able to decide on.
More info here:
https://cloud.google.com/compute/docs/instances/preemptible
The default setting is false, so unless setting
PREEMPTIBLE_INSTANCES=true, everything will behave as before.
Signed-off-by: Odin Ugedal <odin@ugedal.com>
2019-08-17 13:09:45 +02:00
Benjamin Elder
54c6744f8c
update go to 1.12.9
2019-08-15 17:37:06 -07:00
Christoph Blecker
f2a4522be1
Update to go 1.12.8
2019-08-13 20:20:45 -07:00
C Anthony Risinger
dd90405b26
Add gen_openapi
target to top-level Makefile.
...
Could be further expanded with `gen_deepcopy`, `gen_defaulter`, `gen_conversion`, and `gen_bindata` targets, if useful.
2019-08-08 09:36:04 -07:00
Jan Safranek
cba7337a5c
Update WORKSPACE to fix symlink permissions
...
Updating to get https://github.com/kubernetes/repo-infra/pull/124
2019-08-07 16:54:08 +02:00
Benjamin Elder
9ed53eb8bf
upgrade repo infra to f85734f673056977d8ba04b0386394b684ca2acb
2019-07-30 11:40:09 -07:00
hui luo
97087c66f7
Allow customize registry name of base and release images
...
default behavior does not change, it uses k8s.gcr.io by default
added two vars: KUBE_DOCKER_REGISTRY, KUBE_BASE_IMAGE_REGISTRY.
KUBE_BASE_IMAGE_REGISTRY is for base image registry of server binaries
KUBE_DOCKER_REGISTRY is for released images registry
user can interact with them by:
`KUBE_DOCKER_REGISTRY=### KUBE_BASE_IMAGE_REGISTRY=### make quick-release`
Signed-off-by: Hui Luo <luoh@vmware.com>
2019-07-25 17:43:01 -07:00
Dr. Stefan Schimanski
e920d9bc14
Makefile.generated_files: build code-generator+sample-apiserver OpenAPI schemas
2019-07-12 20:52:21 +02:00
Jintao Zhang
dfa46f8d47
Update to go 1.12.7
...
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-07-12 07:16:25 +08:00
Davanum Srinivas
3b949f2a43
Add comments as to why we force python2
2019-07-09 16:33:46 -04:00
Davanum Srinivas
c7137aeda6
build_defs/pkg/make_deb.py needs python2
...
Force us to use python2 especially for scenarios where both python2 and
3 are both installed as `make bazel-release` fails currently.
Change-Id: I70bc45909ca87e5cf7ccdbddf60740a8a3e7e58b
2019-07-04 12:22:04 -04:00
Davanum Srinivas
df3f9f1047
updating github.com/go-bindata/go-bindata to v3.1.1
...
Change-Id: I66c047a4e5e72632042f43a9f4b33ab9f5bf7ef1
2019-06-20 11:30:30 -04:00
Jintao Zhang
37f091eadf
update to go 1.12.6
...
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-06-13 10:49:57 +08:00
Erick Fejta
747545c14b
Create tars locally
2019-05-28 10:55:08 -07:00
Erick Fejta
bf09f4ba4f
Update bazel-toolschains for bazel <= 0.25.1 rbe support
2019-05-14 13:22:41 -07:00
Kubernetes Prow Robot
bb8204ef79
Merge pull request #77596 from YoubingLi/bugfix
...
Fixes 77527 - The usage about build unstripped binaries
2019-05-13 10:26:14 -07:00
Youbing Li
359d0e31ea
Fixes 77527 - Update Makefile about the usage of building unstripped binaries
2019-05-08 22:51:11 -04:00
Christoph Blecker
31ffa88a14
Update to go 1.12.5
2019-05-08 15:43:01 -07:00
Erick Fejta
ffaaa90cc6
Add --config=ci for bazel
2019-04-29 14:03:37 -07:00
Erick Fejta
1ae0d95ff6
Use gcr.io/k8s-testimages/bazel-krte during remote execution
2019-04-27 22:15:20 -07:00
Erick Fejta
35683d7342
Use suggested canonical form
2019-04-26 17:27:34 -07:00
Erick Fejta
f33e903885
Run in privileged remote containers
2019-04-24 21:07:52 -07:00
Kubernetes Prow Robot
137aa9f1b2
Merge pull request #76815 from fejta/bzl
...
Add --config=remote and --config=remote-cache modes for bazel
2019-04-23 07:52:39 -07:00
Erick Fejta
8f1d45f750
Add --config=remote and --config=remote-cache modes for bazel
2019-04-19 06:50:40 +00:00
Christoph Blecker
759121309f
Update to go 1.12.4
2019-04-14 21:01:00 -07:00
Kubernetes Prow Robot
0c32c22b2e
Merge pull request #75546 from fabriziopandini/e2e-kubeadm-first-class
...
Implement make test-e2e-kubeadm
2019-04-05 04:59:19 -07:00
Jordan Liggitt
2ea3cbdcbc
Update hack scripts to use go mod
2019-04-03 10:19:39 -04:00
Jeff Grafton
3fed7760f8
bazel: update repo-infra dependency to fix bazel 0.24+ (requires 0.23+)
2019-03-29 14:23:38 -07:00
fabriziopandini
2cb2a979d4
e2e-kubeadm-first-class
2019-03-28 16:29:56 +01:00
Kubernetes Prow Robot
aedafe7435
Merge pull request #75325 from SataQiu/fix-makefile-20190313
...
Fix a minor bug for `make update`
2019-03-20 09:53:50 -07:00
Benjamin Elder
dbae27393f
update bazel to go 1.12.1
2019-03-15 10:58:11 -07:00
SataQiu
e0c8cc172d
fix a minor bug for update
2019-03-13 17:27:37 +08:00
Kubernetes Prow Robot
8fd6342684
Merge pull request #74799 from lubinsz/pr_bazel
...
Add bazel-test-integration support for Arm64
2019-03-12 23:53:31 -07:00
Bin Lu
973a3c7233
Add bazel-test-integration for Arm64
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-03-08 14:01:15 +08:00
Kubernetes Prow Robot
18cc11566f
Merge pull request #75038 from soltysh/makefile_update
...
Add examples how to run make test-cmd specific tests
2019-03-07 08:40:59 -08:00
Kubernetes Prow Robot
0b48018a39
Merge pull request #71192 from roycaihw/crd-publish-openapi
...
Publish CRD openapi
2019-03-07 03:54:58 -08:00
Maciej Szulik
a3fe72b9a8
Add examples how to run make test-cmd specific tests
2019-03-07 10:05:20 +01:00
Kubernetes Prow Robot
bd8eeaaaaf
Merge pull request #74468 from ixdy/bazel-cgo-crossbuild
...
bazel: improve multi-arch support for docker image artifacts
2019-03-06 20:35:11 -08:00
Jeff Grafton
8495f7c9ed
bazel: add docker_push rules
2019-03-06 12:35:33 -08:00
Haowei Cai
301928e1a2
Makefile.generated_files: generate apiextension-apiserver openapi definition
2019-03-05 08:11:33 -08:00
Jeff Grafton
e7888f2cf0
bazel: add a small TODO comment
2019-03-03 21:09:23 -08:00
Kubernetes Prow Robot
36e934d0a9
Merge pull request #74632 from cblecker/go-1.12
...
Update to use golang 1.12
2019-03-01 03:47:06 -08:00
Christoph Blecker
f1d2fee259
Upgrade to go1.12.0
2019-02-28 14:10:08 -08:00
Michael Taufen
98edbf41bc
upload Windows startup scripts to GCS for CI
2019-02-25 16:44:57 -08:00
Kubernetes Prow Robot
0133d14170
Merge pull request #72939 from runyontr/test-cmd-what
...
Test cmd what
2019-02-23 02:54:36 -08:00
Jeff Grafton
4485b5c649
Add lots of comments
2019-02-22 18:50:21 -08:00
Jeff Grafton
0cd986d364
Add config modes to .bazelrc for crossbuilding
2019-02-22 18:50:21 -08:00
Jeff Grafton
6a12517493
Use for_platforms with //:_binary-artifacts-and-hashes
2019-02-22 18:50:21 -08:00
Jeff Grafton
bc316e3dc1
Add auto-defined ALL_PLATFORMS field and support for dicts in for_platforms
2019-02-22 18:50:21 -08:00
Jeff Grafton
52aab6ffef
Refactor CNI, CRI, and image dependencies into workspace.bzl
2019-02-22 18:08:34 -08:00
Jeff Grafton
6bce28c0bc
Update repo-infra dependency
2019-02-22 18:08:34 -08:00
Thomas Runyon
a502b96326
changed cleanup function name to not overwrite actualy cleanup() function
2019-02-22 21:01:54 -05:00
Thomas Runyon
f97170ea38
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-02-21 11:35:23 -05:00
Jeff Grafton
e216995ef1
Update repo-infra, bazel-skylib, rules_docker, and rules_go dependencies
...
Also require bazel 0.18.0+
2019-02-12 17:55:10 -08:00
Tim Allclair
1b9d0c1094
Bump debian-* base image versions to latest
2019-02-04 11:58:51 -08:00
Thomas Runyon
31aac97a85
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-02-01 11:40:18 -05:00
Thomas Runyon
aeb92ee754
Source hack/lib/init.sh for running make test-cmd
2019-01-29 13:10:55 -05:00
Kubernetes Prow Robot
8e69630881
Merge pull request #71821 from MikeSpreitzer/fix-conversion-gen-doc
...
Update doc for k8s.io/code-generator/cmd/conversion-gen
2019-01-29 08:12:13 -08:00
Mike Spreitzer
4982cbb2d8
Update doc for k8s.io/code-generator/cmd/conversion-gen
...
Added explanation of the `k8s:conversion-gen-external-types` comment
tag.
Added explanation of how the developer can selectively override the
generated conversion functions.
Also updated description in Makefile.generated_files.
2019-01-28 13:46:25 -05:00
Thomas Runyon
1a821ff5cf
Merge remote-tracking branch 'upstream/master' into test-cmd-what
...
Conflicts:
test/cmd/legacy-script.sh
2019-01-26 07:40:33 -05:00
Jeff Grafton
e273db831c
Update to go1.11.5
2019-01-25 11:38:58 -08:00
Thomas Runyon
163844cb13
Added ability to execute subsets of cli tests
2019-01-15 16:20:50 -05:00
Jordan Liggitt
ef4983fb52
Update generated files
2019-01-15 13:33:06 -05:00
Jeff Grafton
e34a0619ea
Only build tests with bazel test --config=unit
2019-01-08 14:47:32 -08:00
Jeff Grafton
4503d573d3
Use new codegen config options in kazel and fix boilerplate check for generated bzl
2019-01-08 14:40:56 -08:00
Jeff Grafton
7397a6278b
Update to go1.11.4
2018-12-15 12:25:05 -08:00
Eli Uriegas
d443402f35
bump golang to 1.11.3 (CVE-2018-16875)
...
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2018-12-14 18:27:21 +00:00
Kubernetes Prow Robot
07faaeff6d
Merge pull request #71686 from BenTheElder/cni-version
...
add CNI_VERSION to build/workspace.bzl, use it to dedupe version
2018-12-04 16:03:09 -08:00
Benjamin Elder
4cd93dada4
add CNI_VERSION to build/workspace.bzl, use it to dedupe version
2018-12-03 20:19:47 -08:00
Joe Betz
862b945e5a
Update default etcd server to 3.3.10 for kubernetes 1.13
2018-12-03 11:03:49 -08:00
k8s-ci-robot
c2aa35866c
Merge pull request #70665 from cblecker/go-1.11.2
...
Update to use go1.11.2
2018-11-06 04:54:17 -08:00
Jeff Grafton
3778646d34
Update to rules_go 0.16.2
2018-11-05 15:35:31 -08:00
Christoph Blecker
b71e74626e
Bump golang version to 1.11.2
2018-11-03 14:10:45 -07:00
Haowei Cai
dcc062d812
Add UPDATE_API_KNOWN_VIOLATIONS=true to Makefile.generated_files
...
One can run:
make generated_files UPDATE_API_KNOWN_VIOLATIONS=true
to update the checked-in known API violation exceptions list.
Also updated README and the error message on how to resolve the
failure.
2018-11-01 17:43:16 -07:00
k8s-ci-robot
f29d646210
Merge pull request #70385 from ixdy/bazel-starlark-repo-rules
...
bazel: use starlark implementations of http_archive and http_file
2018-10-29 18:53:13 -07:00
k8s-ci-robot
c1f1cf168d
Merge pull request #70383 from ixdy/update-repo-infra
...
bazel: bump repo-infra dependency
2018-10-29 18:53:04 -07:00
Jeff Grafton
801679ed89
bazel: use starlark implementations of http_archive and http_file
2018-10-29 13:00:45 -07:00
Jeff Grafton
545ae2fcfe
bazel: bump repo-infra dependency
2018-10-29 11:57:15 -07:00
Jeff Grafton
f26048ecb1
Use debian-base instead of busybox as base image for server images
2018-10-25 10:19:40 -07:00
Jeff Grafton
003404685d
Update to use debian-iptables v11.0 and debian-hyperkube-base 0.12.0
2018-10-24 16:18:53 -07:00
Jeff Grafton
2d46adaec4
Use debian-hyperkube-base:0.11.0 and remove qemu registration
2018-10-16 14:01:23 -07:00
Davanum Srinivas
6830bad2a6
upstream heptio/kube-conformance
...
Pick up some code from https://github.com/heptio/kube-conformance
Fix up build scripts for the new conformance image
Fix Header template and Copyright to make verify job go green
update README and add execute permissions for script
Change-Id: Ib6509acd816cc2fb3a516bfb8e0ff9e32bff8f79
2018-10-12 15:33:15 -04:00
Christoph Blecker
962fdbcbca
Bump golang version to 1.11.1
2018-10-05 12:58:56 -07:00
Christoph Blecker
0bde066cc1
Bump repo-infra to e8f2f7c
2018-10-05 12:58:56 -07:00
Christoph Blecker
85843149c9
Bump rules_go to 0.15.4 to support go1.11.1
2018-10-05 12:58:55 -07:00
Pengfei Ni
fa42ba649a
Update crictl to v1.12.0
2018-09-26 09:15:10 +08:00