Commit Graph

261 Commits

Author SHA1 Message Date
k8s-ci-robot 0a67b586a9
Merge pull request #4473 from justinsb/format_apimachinery
Update apimachinery & ensure we always run goimports
2018-02-20 11:54:38 -08:00
chrislovecnm 0fe61ca341 Updating kops version when using bazel
We bumped the version in the Makefile, but I did not understand that we
have to bump the version in the workplace status script.  I added a note
in the Makefile, and bumped the version in the script.
2018-02-20 11:20:16 -07:00
Justin Santa Barbara ff7a62b635 Update apimachinery to run goimports afterwards 2018-02-20 10:41:58 -05:00
k8s-ci-robot 27c8ddc09d
Merge pull request #4382 from justinsb/try_dep
Use dep to maintain vendor directory
2018-02-12 16:24:49 -08:00
chrislovecnm 1898843231 Updating Makefile to the correct versions for the 1.8.1 release 2018-02-12 15:26:24 -07:00
Justin Santa Barbara c0ffb2025f Makefile: rely on go to determine if things are dirty
go build (and friends) is very efficient at determining whether anything
needs to be rebuilt, seemingly as efficient as make.  In addition the
stricter vendoring means that without switching to this our build fails
due to treating test files as inputs.

Mark the tasks which depended on SOURCES as .PHONY - they all just call
`go build` anyway.
2018-02-04 23:37:04 -05:00
Justin Santa Barbara 61b23a6ead Add dep-ensure makefile target 2018-02-04 21:55:07 -05:00
Justin Santa Barbara 7dfca05c09 Remove federation support
As it has been removed from upstream kubernetes, in favor of the
multicluster revamp.
2018-02-03 16:53:39 -05:00
oilbeater 1dcc0e2627 update go version and ldflags
update go version to 1.9.3 and add -w ldflag to remove DWARF symbol table from binary see: https://golang.org/cmd/link/
2018-01-30 00:17:06 +08:00
k8s-ci-robot 6bcc86bc0f
Merge pull request #4329 from justinsb/proto_out_of_makefile
Don't autobuild protobuf files
2018-01-25 06:49:18 -08:00
Justin Santa Barbara c633ab62c5 bazel: expose version as in Makefile
This means that bazel build should stamp kops with the same version as
the Makefile does, given the same env vars.
2018-01-24 09:43:30 -05:00
Justin Santa Barbara b836ec194e Don't autobuild protobuf files
Requires us to ship protoc, exposes us to problems with timestamp skew
on checkout.  Also the mesh.proto rarely changes.

To rebuild: make protobuf
2018-01-23 23:46:27 -05:00
Justin Santa Barbara b254a0cbd4 Add makefile target for kube-discovery image
Trying to use bazel for the experimental targets.
2018-01-07 16:11:56 -05:00
k8s-ci-robot b398454b4b
Merge pull request #4168 from chrislovecnm/golang-1.9
Golang 1.9
2018-01-05 11:11:12 -08:00
chrislovecnm 88cf7d118c Improving bazel make targets, and adding a target for kops cli 2017-12-29 13:45:22 -07:00
chrislovecnm fd7e0f13e3 Updating make to use golang 1.9.2 2017-12-28 19:23:14 -07:00
Kubernetes Submit Queue fded8486f6
Merge pull request #4016 from zengchen1024/security_group_task
Automatic merge from submit-queue.

implement security group task

fix: #4015
2017-12-13 20:25:41 -08:00
Justin Santa Barbara 3e236283f3 Tag 1.8.0 2017-12-13 22:13:27 -05:00
zengchen1024 f2f4a1ebfa generate the other methods of Volume 2017-12-06 17:20:43 +08:00
Justin Santa Barbara b8b7287e4a Bump versions to 1.8.0-beta.2 2017-11-28 13:27:58 -05:00
Justin Santa Barbara b9ced1957b bazel: fix tests/ directory 2017-11-25 16:03:27 -05:00
Justin Santa Barbara 9b71713d68 Tag 1.8.0-beta.1 2017-11-06 23:24:51 -05:00
Justin Santa Barbara 67b434fa6a Don't use gazelle proto generation for our code
We're still checking in the generated pb.go file, for now.
2017-11-06 17:28:40 -05:00
Justin Santa Barbara 5670aa89e7 Gazelle: hack to run gazelle differently for vendor vs our code
We want to ignore proto in vendor, but not in our code.
2017-11-06 17:22:15 -05:00
Justin Santa Barbara d6375cae49 Tell gazelle to ignore protobuf
We don't want it generating protobuf rules in our vendor directory
2017-11-06 17:22:13 -05:00
Justin Santa Barbara dbdde59432 Fix error in kubernetes import code 2017-11-06 17:22:13 -05:00
Justin Santa Barbara cff0af2a96 Move staging repos, don't symlink
Symlinking confuses gazelle
2017-11-06 17:22:13 -05:00
Kubernetes Submit Queue df69d047f8
Merge pull request #3769 from chrislovecnm/bazel-work
Automatic merge from submit-queue.

updating to bazel 0.0.7 and adding verify scripts

/assign @geojaz
2017-11-05 14:15:06 -08:00
chrislovecnm 30acda868a updating to bazel 0.0.7 and adding verify scripts 2017-11-04 20:59:01 -06:00
chrislovecnm 305701b8f9 Makefile update 2017-11-04 20:50:20 -06:00
Manuel de Brito Fontes 236cb0f188 Add makefile target to check markdown links 2017-11-02 19:19:15 -03:00
chrislovecnm 3a7a4ebf7c fixing bazel testing for upup 2017-10-17 13:53:40 -06:00
chrislovecnm 81c07c4049 updating bazel test to output failed tests 2017-10-13 12:40:26 -06:00
Mike Splain dfc1b043d8 Fix .PHONY
For https://github.com/kubernetes/kops/pull/3591
2017-10-10 13:41:32 -04:00
Justin Santa Barbara 6f370d6678 bazel versions of test, build, push-aws-run & push-gce-run
These are developer-oriented targets, so they seem like a good place
to start.
2017-10-10 09:33:13 -04:00
Justin Santa Barbara cc2232269a Makefile: fix order of directory creation
Without this, if we let docker create the .build/dist directory it will
be owned by root, and we won't be able to mkdir .build/dist/images
outside of docker.
2017-10-09 02:17:46 -04:00
chrislovecnm d7eda763db updating paths in Makefile for docker oddness 2017-10-07 15:46:51 -06:00
Justin Santa Barbara 87b6ba6b19 Initial bazel support 2017-10-02 14:27:20 -04:00
Justin Santa Barbara 95d4f3eb59 More code updates for 1.8 2017-10-01 21:13:00 -04:00
Justin Santa Barbara 2205e26257 Updates for new apimachinery 2017-10-01 13:53:26 -04:00
Justin Santa Barbara 0c89c9851e Simple code updates for 1.8 breakages 2017-10-01 13:17:40 -04:00
Kubernetes Submit Queue 53ec69f5d8 Merge pull request #3483 from justinsb/makefile_missing_phony
Automatic merge from submit-queue.

makefile: add 3 PHONY targets
2017-09-30 21:22:51 -07:00
Justin Santa Barbara ab60539e41 GCE: fix makefile push-gce-run
We need to copy to a location that is not mounted noexec
2017-09-30 02:11:13 -04:00
Justin Santa Barbara 3669a01a71 makefile: add 3 PHONY targets
Marking some targets as phony that are plainly missing dependencies.
2017-09-30 02:10:53 -04:00
Justin Santa Barbara 991cd8c66a Tag 1.8.0-alpha.1 2017-09-25 15:53:59 -04:00
Kubernetes Submit Queue f6d11b5594 Merge pull request #3434 from justinsb/makefile_test_tests
Automatic merge from submit-queue. .

Makefile: was not exiting on test failures
2017-09-23 17:28:04 -07:00
Kubernetes Submit Queue 606821edaf Merge pull request #3431 from justinsb/makefile_add_deps_to_gobindata
Automatic merge from submit-queue. .

Makefile: add missing deps to gobindata
2017-09-23 16:53:50 -07:00
Justin Santa Barbara 94cca9be61 Makefile: was not exiting on test failures
bash loops don't exit on error.
2017-09-23 16:23:07 -04:00
Justin Santa Barbara 2a867e1b7e Makefile: add missing deps to gobindata 2017-09-22 23:22:30 -04:00
Justin Santa Barbara 3aa89c8ed3 Makefile: use go install
Have make scan all the deps seems much slower than having go do it.
2017-09-22 23:21:36 -04:00