Commit Graph

359 Commits

Author SHA1 Message Date
Kubernetes Prow Robot 2bfb36fd0f
Merge pull request #6954 from drekle/makefile_gofmt
Make gofmt fails find usage
2019-05-14 10:35:31 -07:00
Kubernetes Prow Robot c6d392ea39
Merge pull request #6891 from justinsb/use_kubebuilder_to_generate_crds
Generate CRDs for kops API types
2019-05-14 09:33:18 -07:00
Derek Lemon (delemon) 19a5e8955f Adjusting makefile args to find 2019-05-13 08:53:52 -06:00
Justin SB a059c0756c
Simply bazel test using exclude pattern 2019-05-08 01:10:37 -04:00
Justin SB 247cd78851
Use kubebuilder libraries to generate CRDs
(Add the dependency on kubebuilder also)
2019-05-07 10:37:01 -04:00
Justin SB fecde71243
travis: Remove go-vet and boilerplate checking
These are covered by prow jobs now.
2019-05-06 10:52:26 -04:00
Justin SB cd829c1a09
makefile: add gazelle alias for bazel-gazelle 2019-05-05 13:14:44 -04:00
mikesplain 06f5e03117 Remove verify bazel from travis its run in prow 2019-04-26 12:32:00 -04:00
Justin SB 0d83057002
Switch to golang 1.12.1
For cherry-picking to 1.14

https://github.com/kubernetes/kubernetes/blob/release-1.14/build/build-image/cross/Dockerfile
2019-04-22 15:49:28 -04:00
Justin SB 69e0b26b69
travis: Create new travis-ci makefile target, run that
This lets us exclude the gofmt task which now requires bazel and also
now runs in a separate test.

Continuing with this should allow us to have a faster travis-ci, that
should also give us better coverage (we really want travis to test osx
& windows builds)
2019-04-22 12:41:26 -04:00
Justin SB bf4c4a1a95
Source gofmt from bazel go
Using the approach from k8s.io/repo-infra.  This avoids problems where
we are testing with a different version of go than we are building
with.
2019-04-21 16:41:11 -04:00
Justin SB de581b1b64
Switch to golang 1.11.5
For cherry-picking to 1.13

https://github.com/kubernetes/kubernetes/blob/release-1.13/build/build-image/cross/Dockerfile
2019-04-20 17:36:56 -04:00
Justin SB 6779429e13
Release 1.14.0-alpha.1 2019-04-12 08:27:58 -07:00
mikesplain 036cd04302 Update golang version in make (already default in bazel) 2019-03-12 13:58:08 -04:00
Ricardo La Rosa dae53cfe1c Upgrade base image to alpine 3.8 and GO to 1.10.8 (#6458)
Upgrade base image to alpine 3.8 and GO to 1.10.8 (#6458)
2019-02-24 15:59:11 -05:00
mikesplain a331b107b6 Fix machine types and cleanup makefile 2019-01-31 17:44:18 -05:00
Kubernetes Prow Robot 09acd56675
Merge pull request #6328 from justinsb/utils_in_bazel
Fix prow-postsubmit by copying prebuilt archive in bazel
2019-01-14 12:47:43 -08:00
Justin SB 0b1e6d55ab
Fix prow-postsubmit by copying prebuilt archive in bazel
It's roughly possible to build socat, but conntrack looks much harder
to build in bazel.  For compatability we just reuse the prebuilt
utils.tar.gz (these are utilities that rarely change).
2019-01-12 12:13:26 -08:00
Kubernetes Prow Robot 9c8b945e4e
Merge pull request #6257 from justinsb/mark_1_12_0_alpha_1
Release 1.12.0-alpha.1
2019-01-12 10:33:47 -08:00
Kubernetes Prow Robot 770f68c41a
Merge pull request #6300 from justinsb/add_windows_to_bazel_release
Include windows build in distribution
2019-01-04 11:42:36 -08:00
Justin SB 34723fb021
Include windows build in distribution
The kops.exe binary was not currently included in the automatically
built bazel distribution (though it was included in the manual release
process).
2019-01-04 11:36:41 -05:00
Justin SB 731aa42421
Create prow-postsubmit target for release candidates
This target will be called from prow, and will build that could be
released - i.e. not a CI build.
2019-01-04 11:30:47 -05:00
Justin SB a246313c2e
Release 1.12.0-alpha.1 2019-01-03 19:00:33 -05:00
Justin SB a3a48e9078
Create dev-upload tasks, for a faster upload during dev builds 2018-12-20 11:37:30 -05:00
Justin Santa Barbara 3d526cc69f Simplify makefile for update-machine-types
No real need to list the go files, we can just specify the package.
2018-11-27 09:48:12 -05:00
Ripta Pasay ab8565df9c Import awsutils from amazon-vpc-cni-k8s plugin
https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/master/pkg/awsutils/vpc_ip_resource_limit.go
2018-11-25 20:45:33 +00:00
Justin SB 52d3449c23
Prune some license files that dep added
Dep apparently decided to add some license files for packages that we
aren't using, which is particularly irksome because the license is
GPL.  Remove those packages so that there's no confusion.

Issue https://github.com/kubernetes/sig-release/issues/223
2018-10-30 13:13:43 -04:00
Justin SB 356f302d27
Switch CI to bazel
If we want to get repeatable builds, we need to switch the release
build to bazel.  In order to do that, we need CI to build with bazel.
Switch over!
2018-10-19 08:41:40 -07:00
Justin Santa Barbara 30e2adcf92 Mark release 1.11.0-alpha.1 2018-10-16 11:59:12 -04:00
k8s-ci-robot 0c46432b67
Merge pull request #4949 from justinsb/govet_fixes
Fix cloudmock to pass govet
2018-10-08 23:37:57 -07:00
Justin Santa Barbara 4378015f47 Remove last vestiges of _vendor directory
It got left behind because goautoneg is in mercurial, I believe.

Remove the _vendor/ directory & references to it - we have it in
vendor/ anyway.
2018-10-02 18:39:43 -07:00
k8s-ci-robot e2bde0a09c
Merge pull request #5719 from mahuihuang/fix-bug
copy path on kops-server-build
2018-10-01 21:43:16 -07:00
Justin Santa Barbara fa7b408607 cloudmock: govet fixes 2018-09-23 11:23:08 -04:00
k8s-ci-robot b0507b42f5
Merge pull request #5821 from justinsb/bazel_cleanup
Prune some broken files out of vendor
2018-09-22 22:22:38 -07:00
Justin Santa Barbara 93f1e26f57 Update golang version to 1.10.3, for k8s 1.11
k8s 1.11 is tested when built with go 1.10.3
2018-09-22 11:52:20 -04:00
Justin Santa Barbara e7f64c3042 Prune some broken files out of vendor
Dep isn't able to prune these, though they aren't needed.  They also
break a general build-all in bazel workflow.

Manually remove them, until we can move to vgo (aka go).
2018-09-22 11:50:22 -04:00
Justin Santa Barbara a78e792d5b
Merge pull request #5481 from mikesplain/rules_go_0.13
Bazel Rules go 0.14
2018-09-22 06:35:32 -07:00
Justin Santa Barbara f9bd0185d9
Merge branch 'master' into docs 2018-09-21 23:43:15 -07:00
k8s-ci-robot 642a91a339
Merge pull request #5799 from mikesplain/fix_bazel_cross
Fix bazel cross platform
2018-09-20 10:31:13 -07:00
k8s-ci-robot 5db443d06a
Merge pull request #5785 from justinsb/vendor_misspell
Move verify-spelling to script, install from vendor
2018-09-17 13:30:07 -07:00
Mike Splain 96952fd7ec Fix cross platform 2018-09-17 11:55:13 -04:00
Mike Splain 2c5b2c7f87 Always run vendored gazelle 2018-09-17 09:56:47 -04:00
k8s-ci-robot 13ffa0f5a3
Merge pull request #5787 from justinsb/machine_type_generator_3
machine-type generator: go vet fixes
2018-09-14 10:43:40 -07:00
k8s-ci-robot cb92a186f7
Merge pull request #5784 from justinsb/makefile_dont_unset_aws_profile
Don't unset AWS_PROFILE in Makefile
2018-09-14 10:43:30 -07:00
Justin Santa Barbara f0e541ec55 Move verify-spelling to script, install from vendor 2018-09-14 10:42:19 -04:00
Justin Santa Barbara 03571e564b Don't unset AWS_PROFILE in Makefile
It shouldn't impact the output, and it's the one that "many
people" (i.e. me) need to use!
2018-09-14 09:49:57 -04:00
Justin Santa Barbara e8650ca8ca Tweak machine_types generator to match our existing values
We weren't outputing the Burstable or GPU attributes, and the sorting
order wasn't quite the same.  This made verification harder.
2018-09-14 09:39:04 -04:00
Mike Splain 1fa04f82de Add makefile changes 2018-08-31 12:42:13 -04:00
Levi Blackstone c4e2db4afc
Vendor servergroup module from gophercloud
* Bump gophercloud sha to f29afc2
* Add a prereq check for bazel and dep which is needed by `make dep-ensure`
* Document the process to add a vendored dependency
2018-08-30 11:25:54 -06:00
Ma Huihuang cbba1ae232
copy path 2018-08-30 12:47:39 +08:00