Commit Graph

1249 Commits (7e1badd7fd228c27cd1aacf6e2ede2c95ab32fe7)

Author SHA1 Message Date
Jeff Grafton e7888f2cf0 bazel: add a small TODO comment 2019-03-03 21:09:23 -08:00
Jeff Grafton 84a5a176a5 bazel: add target for multi-arch docker tags on server images
These aren't used in the images saved in the release tars, but could be
used for images that are pushed to gcr.io.
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
Jeff Grafton cbea3c3108 Always build the full kubernetes-src tarball 2019-02-25 15:33:53 -08:00
Jeff Grafton e2ebf254ea Create vendor->staging symlinks in kubernetes-src.tar.gz 2019-02-25 15:33:53 -08:00
Jeff Grafton a92c26d843 bazel: create genrules to produce debs and RPMs without arch-specific names 2019-02-23 15:44:34 -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 02987016cc Mark lots of things with tag 'manual' 2019-02-22 18:50:21 -08:00
Jeff Grafton 4b50d9352f Make release-tars multiplatform 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 dfdfc2e5b8 Make debs, rpms, and docker images multiarch 2019-02-22 18:50:18 -08:00
Jeff Grafton 7a938eb541 Create work-around wrappers for pure attribute on go_binary and go_test
This enables cgo when cross-compiling certain tests and binaries to
Linux, while disabling cgo for Windows and Darwin.
2019-02-22 18:08:34 -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
Kubernetes Prow Robot fd7acc3275
Merge pull request #74065 from ixdy/break-up-test-tarball
break up the test tarball
2019-02-22 17:58:23 -08:00
Kubernetes Prow Robot 3afa003126
Merge pull request #73555 from bsalamat/priority_to_ga
Graduate PriorityClass API to GA
2019-02-22 16:14:49 -08:00
Bobby (Babak) Salamat 1dac6d03e3 generated files 2019-02-22 10:51:15 -08:00
Jeff Grafton c5c0e422ae add comments to explain fancy bash expressions 2019-02-21 13:17:58 -08:00
Jeff Grafton 3469579a63 bazel: create split test tarballs 2019-02-21 13:17:55 -08:00
Jeff Grafton 640a879e0b bash build system: create split test tarballs 2019-02-21 13:17:25 -08:00
Thomas Runyon f97170ea38 Merge remote-tracking branch 'upstream/master' into test-cmd-what 2019-02-21 11:35:23 -05:00
Jordan Liggitt f139218ac0 generated files 2019-02-20 23:32:46 -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
Kubernetes Prow Robot 66149bd61d
Merge pull request #73033 from Liujingfang1/kustomizeSubcommand
add kustomize as a subcommand in kubectl
2019-02-12 15:10:36 -08:00
Jingfang Liu 8d6ab20753 add kustomize as a subcommand in kubectl 2019-02-11 16:43:57 -08:00
Kubernetes Prow Robot b50c643be0
Merge pull request #73540 from rlenferink/patch-5
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Kubernetes Prow Robot a7966022d7
Merge pull request #73714 from tallclair/debian-base
Bump debian-* base image versions to latest
2019-02-07 19:44:44 -08:00
Benjamin Elder bccf95b10c add bentheelder to reviewers 2019-02-06 16:26:51 -08:00
Roy Lenferink b43c04452f Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01: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
Tim Allclair 861cdd82b5 Bump debian-* base images for security fixes 2019-01-29 13:44:42 -08: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
Kubernetes Prow Robot 34425974c8
Merge pull request #73117 from war-turtle/fixShellCheck
Fixes shellcheck warning in build/common.sh
2019-01-29 06:57:28 -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
war-turtle b1b7d0dbae fixing shellcheck warning in build/common.sh 2019-01-26 19:21:17 +05:30
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
Jordan Liggitt 1a15d80967 generated 2019-01-23 16:34:44 -05:00
Benjamin Elder b716edb284 make build/copy-output.sh pass shellcheck 2019-01-16 00:39:13 -08:00
Benjamin Elder f41efc3ea8 make build/util.sh pass shellcheck 2019-01-16 00:37:13 -08:00
Benjamin Elder b5767bcf89 make build/make-build-image.sh pass shellcheck 2019-01-16 00:34:36 -08:00
Benjamin Elder 742504db39 make build/make-clean.sh pass shellcheck 2019-01-16 00:33:28 -08:00
Benjamin Elder 2d6ead8c7d make build/package-tarballs.sh pass shellcheck 2019-01-16 00:32:28 -08:00
Benjamin Elder eba69c5267 make build/release-in-a-container.sh pass shellcheck 2019-01-16 00:31:15 -08:00
Benjamin Elder 4aa7126ee1 make build/release-images.sh pass shellcheck 2019-01-16 00:29:09 -08:00
Benjamin Elder caf9d94d69 make build/release.sh pass shellcheck 2019-01-16 00:27:43 -08:00
Benjamin Elder b99045333e make build/run.sh pass shellcheck 2019-01-16 00:25:52 -08:00
Benjamin Elder 621b78b3f6 make build/shell.sh pass shellcheck 2019-01-16 00:24:27 -08:00
Benjamin Elder b64df60dca make build/build-image/rsyncd.sh pass shellcheck 2019-01-16 00:22:25 -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 3fd6f97f55 bazel: update openapi-gen to use new kazel-generated dictionaries 2019-01-08 14:47:32 -08:00
Jeff Grafton 06d5c50eb2 Update to latest kazel and update generated files
Also switch from github.com/kubernetes/repo-infra to k8s.io/repo-infra.
2019-01-08 14:47:26 -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 e689d515f7
Merge pull request #71634 from ereslibre/allow-to-build-images-offline
Allow to build docker images offline (do not always use `docker build --pull`)
2018-12-05 01:18:05 -08: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
Kubernetes Prow Robot a9b69dc381
Merge pull request #71615 from jpbetz/etcd-3.3.10-0-image
Update default etcd server to 3.3.10 for kubernetes 1.14
2018-12-04 02:54:34 -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
Rafael Fernández López 68e6fa0f8d
Allow to build docker images offline (do not always use `docker build --pull`)
Passing `KUBE_BUILD_PULL_LATEST_IMAGES=n` will disable building the artifacts
with `--pull`, so they can be built in an offline environment.

By default, `KUBE_BUILD_PULL_LATEST_IMAGES` is `y`, so the default behavior
is kept unchanged.
2018-12-03 20:34:22 +01:00
Joe Betz 862b945e5a Update default etcd server to 3.3.10 for kubernetes 1.13 2018-12-03 11:03:49 -08:00
Duffie Cooley 8e08cbc3c4
Bump the version of kubernetes-cni to 0.6.0
This will resolve the kubernetes-anywhere e2e test.
In commit: https://github.com/kubernetes/kubernetes/pull/71540
I bumped the required version of kubernetes-cni to 0.6.0 but didn't
start packaging it. This resolve that.

Signed-off-by: Duffie Cooley <dcooley@heptio.com>
2018-11-30 23:20:19 -08:00
Duffie Cooley 2d7b386193
Add conntrack as a dependency of kubelet
FIXES: https://github.com/kubernetes/kubeadm/issues/1287

- This commit integrates the work of @jdetiber to fix bazel build
//build/rpms and also addresses an issue where not all common versions
of rpmbuild have the %{_sysctldir} macro.

- Since that macro points to /usr/lib/sysctl.d this commit just points
directly to that dir.

- This also adds conntrack as a dependency of kubelet for both rpm and
deb builds.

Signed-off-by: Duffie Cooley <dcooley@heptio.com>
2018-11-29 10:08:07 -08:00
Jason DeTiberus 3ee10e9ceb
Fix bazel //build/rpms
- Also update the kubernetes-cni requirement for both debs and rpms
  to match release packaging.
2018-11-28 16:51:59 -08:00
k8s-ci-robot 3bf41a210b
Merge pull request #69820 from ixdy/fork-multiarch-register
Use a forked copy of multiarch/qemu-user-static scripts instead of a privileged container
2018-11-07 19:10:15 -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
k8s-ci-robot f698f0fe17
Merge pull request #70245 from ixdy/debian-base-instead-of-busybox
Use debian-base instead of busybox as base image for server images
2018-10-29 15:54:20 -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
Ashwani Khemani a7ecb562b3 changes for update-bazel script 2018-10-25 10:57:24 -05:00
Ashwani Khemani b929ba01ef changes done to enable br_filter and ip_forward for debian packages 2018-10-25 10:55:13 -05: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
k8s-ci-robot 73c1a92bd9
Merge pull request #69152 from mkumatag/fix_manifest_push
Purge the manifest after the push
2018-10-24 01:06:10 -07:00
Jeff Grafton 7a8696c331 Update to debian-base 0.4.0
Additionally, update the addon-manager to use kubectl v1.11.3.
2018-10-19 11:13:28 -07:00
Jeff Grafton 8906d1d8be debian-base: purge libsystemd0 to eliminate CVE false-positives 2018-10-19 08:31:31 -07:00
k8s-ci-robot 1ba06b0444
Merge pull request #69939 from ixdy/clean-crossbuild-protoc-3.0.2
Clean cross-build image and update to protoc 3.0.2
2018-10-17 22:25:59 -07:00
Jeff Grafton 2812b55263 Clean cross-build image and update to protoc 3.0.2 2018-10-17 11:57:46 -07:00
k8s-ci-robot 0d6f6a680b
Merge pull request #68441 from smarterclayton/describe_dependency
Move versioned generators into their own package
2018-10-17 04:24:06 -07:00
Jeff Grafton a88244598a Use sudo only when not already root 2018-10-16 23:42:22 -07:00
Jeff Grafton 9e4fa1493d Use our forked qemu-static-register scripts instead of a privileged container 2018-10-16 23:41:32 -07:00
Jeff Grafton c761f779fc Base conformance image on debian-hyperkube-base:0.11.0 and reenable by default 2018-10-16 14:01:23 -07:00
Jeff Grafton 2d46adaec4 Use debian-hyperkube-base:0.11.0 and remove qemu registration 2018-10-16 14:01:23 -07:00
Jeff Grafton fbbb863433 Create hyperkube symlinks in base image 2018-10-16 14:01:23 -07:00
Clayton Coleman 0ff34efcc5
All kubectl/cmds need visibility on pkg/kubectl/util 2018-10-16 12:54:41 -04:00