Commit Graph

319 Commits

Author SHA1 Message Date
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
k8s-ci-robot
f6d8fd8bdc
Merge pull request #68802 from ixdy/golang-1.10.4
Update to golang 1.10.4
2018-09-19 17:11:29 -07:00
Jeff Grafton
10713501bd Update to golang 1.10.4 2018-09-18 13:13:57 -07:00
Jeff Grafton
df368fbb8c bazel: update debian-iptables and debian-hyperkube-base 2018-09-18 12:48:07 -07:00
Timothy St. Clair
ad2ed0e7df Update default etcd server to 3.2.24 for kubernetes 1.12
Signed-off-by: Timothy St. Clair <timothysc@gmail.com>
2018-09-06 10:24:57 -05:00
Jeff Grafton
b25ad9c862 Set gazelle:proto disable_global 2018-09-05 15:27:15 -07:00
Jeff Grafton
9e284de501 Update to use latest busybox 2018-09-05 15:27:15 -07:00
Jeff Grafton
f90d782113 Update to rules_docker v0.5.1 2018-09-05 15:27:15 -07:00
Jeff Grafton
60f00d1a08 Update to rules_go 0.15.3 and latest k8s.io/repo-infra 2018-09-05 15:27:07 -07:00
Benjamin Elder
037fabd842 add make targets for building server images 2018-08-31 14:31:21 -07:00
Jeff Grafton
37bb013943 Update to debian-iptables v10.1 and hyperkube-base 0.10.1 2018-08-13 22:32:55 -07:00
Kubernetes Submit Queue
81b072a40b
Merge pull request #66447 from liggitt/api-violation-owner
Automatic merge from submit-queue (batch tested with PRs 66341, 66405, 66403, 66264, 66447). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Move api rules list under api-approvers-owned package

Additions to this list should be rare and carefully reviewed

```release-note
NONE
```
2018-07-20 16:02:17 -07:00
Kubernetes Submit Queue
25df60bf6b
Merge pull request #66152 from Random-Liu/update-crictl
Automatic merge from submit-queue (batch tested with PRs 66152, 66406, 66218, 66278, 65660). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Update crictl to v1.11.1.

Update `crictl` to v1.11.1 to fix several bugs. Release note: https://github.com/kubernetes-incubator/cri-tools/releases/tag/v1.11.1

@kubernetes/sig-node-pr-reviews @kubernetes/sig-cluster-lifecycle-pr-reviews 
@kubernetes/sig-gcp-pr-reviews 
Signed-off-by: Lantao Liu <lantaol@google.com>

```release-note
Update crictl to v1.11.1.
```
2018-07-20 12:12:09 -07:00
Jordan Liggitt
9e7fbf42c8
Move api rules list under api-approvers-owned package 2018-07-20 10:16:08 -04:00
Christoph Blecker
5fcad99ee6
Only build generators for building platform 2018-07-19 15:08:11 -07:00
Lantao Liu
330ed52747 Update crictl to v1.11.1.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-07-19 01:02:53 +00:00
Kubernetes Submit Queue
614e3adda0
Merge pull request #65737 from roycaihw/api-linter
Automatic merge from submit-queue (batch tested with PRs 64181, 65737). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

API linter framework and namesMatch API rule

**What this PR does / why we need it**:
Bump kube-openapi dependency to use the [API linter framework](https://github.com/kubernetes/kube-openapi/pull/83) in k/k OpenAPI spec generation procedure. 

Currently one API rule is enforced: 
"Go field names must be CamelCase. JSON field names must be camelCase. Other than capitalization of the initial letter, the two should almost always match. No underscores nor dashes in either."

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #65244

**Special notes for your reviewer**:
Most code change in this PR was generated (~1700 lines). Please see commits for detail.

**Release note**:

```release-note
NONE
```

/sig api-machinery
/cc @pwittrock @mbohlool
2018-07-13 18:00:00 -07:00
Haowei Cai
6ad8c5c596 Rename violations.report to violation_exceptions.list 2018-07-11 14:13:12 -07:00