Commit Graph

550 Commits

Author SHA1 Message Date
Peter Rifel 10e4fb499a Generate v1 CRDs 2020-04-08 15:21:18 -05:00
Justin Santa Barbara b903724e0f Fix a spelling mistake; regenerate 2020-04-07 22:57:10 -04:00
Rodrigo Menezes 2fe2f4fd81 Don't compress bindata & allow Kops to be imported as a package. 2020-04-07 10:41:55 -04:00
Peter Rifel a0e1672cdc add terraform testing 2020-03-31 14:50:45 -05:00
Peter Rifel 8f8d7afae7 add tests that validate .tf files 2020-03-31 11:51:55 -05:00
John Gardiner Myers b645dac752 Remove support for v1alpha1 and before 2020-03-24 19:49:15 -07:00
Justin SB 632d84f45c
prow-postsubmit: Upload to a consistently named directory
Now that we're building with CI=1, we should upload to the same
version, rather than reconstructing the logic (and in this case, we
weren't matching).
2020-02-17 21:28:04 -05:00
Justin SB 46c8cc6d86 makefile: use more hash helpers when building images
It's cleaner & more consistent.
2020-02-16 13:10:31 -05:00
Justin Santa Barbara b10f7a4252 Update golang to 1.13.8
k/k is using 1.13.6, and it looks like there are some potentially
relevant fixes in .7 and .8 (particularly on unpatched Windows).
2020-02-16 11:33:13 -05:00
Peter Rifel 87ccecf473 Update makefile to reduce dependency on GOPATH
This is one step towards removing the requirement that kops lives in the GOPATH.

* Consolidate the redundant KOPS_ROOT and MAKEDIR variables
* Remove dependency of GOPATH_1ST variable except for `GOPATH_1ST/bin`
* Remove broken check-builds-in-go111 target
* Remove unused KOPS_SERVER_TAG
2020-02-15 19:44:50 -06:00
Kubernetes Prow Robot 27ab22c965
Merge pull request #8566 from justinsb/reproducible_gzip
gzip: use --no-name to avoid saving timestamp
2020-02-14 21:03:28 -08:00
Kubernetes Prow Robot 0e4db376df
Merge pull request #8561 from justinsb/gobindata
Replace unmaintained go-bindata
2020-02-14 20:25:27 -08:00
Justin SB 2586d6da45 gzip: use --no-name to avoid saving timestamp
Another source of non-reproducible builds!
2020-02-14 22:27:07 -05:00
Justin SB 7e2ee13fa1 go-bindata: don't store file metadata
This was a big contributor to the build being non-repeatable.
2020-02-14 22:04:57 -05:00
Justin SB fcd75d5e83 Replace unmaintained go-bindata
k/k uses go-bindata/go-bindata, so that's what we will use as well.
2020-02-14 13:57:29 -05:00
Peter Rifel 56cf8888c3 Only create git tags with the v prefix
The tagging of both formats was cherry-picked back to 1.15 and will be used in 1.16.0 stable.

I think having all 1.16.X and 1.17.X releases tagged with both formats is long enough, so I'm removing the non-prefixed tag for 1.18.0
2020-02-13 10:35:45 -06:00
Justin SB 9b9615bf53 Release 1.18.0-alpha.2 2020-02-05 21:58:08 -05:00
Justin SB 4416b24ee8 Release 1.18.0-alpha.1 2020-01-31 08:22:33 -05:00
Kubernetes Prow Robot ff7d4eb9e2
Merge pull request #8373 from rifelpet/release-semver
Kops releases - prefix git tags with v
2020-01-27 08:53:06 -08:00
Kubernetes Prow Robot 82b3bd5a0f
Merge pull request #8199 from hakman/containerd-tgz
containerd: Add support for tar.gz package
2020-01-26 22:53:02 -08:00
Peter Rifel 93492226fb Prefix git tags with `v`
Go modules require the v prefix [0], and k/k also tags with the v prefix [1]

We have some inconsistent tags already, for 1.11.0 we have tags of both `1.11.0` and `v1.11.0` which is the most recent tag with the prefix.
This is also why 1.11.0 is the default version imported by `go get`:

```
go get -v k8s.io/kops
go: downloading k8s.io/kops v1.11.0
```

and the latest version in `go list`:

```
go list -m -versions k8s.io/kops
k8s.io/kops v1.4.0-alpha.1 v1.4.0 v1.4.1 v1.4.2 v1.4.3 v1.4.4 v1.10.0 v1.11.0
```

I'm proposing we switch to only tagging with the v prefix. I'm only updating the actual git tag and not the entire version string used throughout kops due to its larger impact:

* Output by `kops version`
* Public URLs for kops assets
* Protokube tag

I'm hoping this is the least invasive way we can make this change.
If we think advanced notice is required, we could tag with both formats for a number of releases before tagging only with the v prefix.

[0] https://github.com/golang/go/wiki/Modules#modules
[1] https://github.com/kubernetes/kubernetes/releases/tag/v1.17.0
2020-01-21 07:03:06 -08:00
Kubernetes Prow Robot 0e1f5ba2aa
Merge pull request #8328 from rifelpet/shellcheck
Add shellcheck verification
2020-01-17 04:46:55 -08:00
John Gardiner Myers aa4eebad2d Fix crossbuild-nodeup-in-docker 2020-01-15 20:04:51 -08:00
Peter Rifel 8ff5553130 Add a new verify target and make verify-shellcheck and verify-staticcheck blocking 2020-01-13 22:19:02 -06:00
Peter Rifel f6c647230a Add shellcheck verification
Copied from the k/k repo with some of the utility functions inlined, just like verify-staticcheck.sh.
Once merged I'll add another prow job for it.
2020-01-12 18:47:21 -06:00
Kubernetes Prow Robot 179957d09f
Merge pull request #7824 from rifelpet/kops-server-cleanup
Remove traces of kops-server
2020-01-11 23:13:36 -08:00
Ciprian Hacman 2a6aeaff7c Add support for containerd tar.gz package 2020-01-12 06:53:39 +02:00
Justin SB 9188be3d63 Build dns-controller using bazel
We were previously building it in development using bazel, but then
using go build for the release.  That is risky, better to just use
bazel everywhere.
2020-01-11 15:01:06 -05:00
mikesplain ef21fb0d91
Fix gz path to work on macos 2020-01-03 15:25:21 -05:00
John Gardiner Myers c21f72414a Run Travis verifications in a separate parallel job 2020-01-02 21:30:27 -08:00
Peter Rifel 32d1d6cf65 Remove traces of kops-server 2019-12-26 13:20:32 -06:00
Peter Rifel ef8f07c451 Fix verify-staticcheck prow job
The new job was missing the generated files from go-bindata.

I noticed some of the prow jobs use make and others call hack/ scripts directly.

I think it'd be better to use make so we can more easily add dependencies like this, therefor I'd like to propose that we merge this, update the jobs to call make targets, then remove the make command I added to hack/verify-staticcheck.sh

By fixing the existing job as well as the make target, we can unblock other PRs and not get another swarm of failure notifications when the job gets updated to use make.
2019-12-22 15:03:29 -06:00
John Gardiner Myers 91b0e98a5c Add verify-generate to Travis and 'make ci' 2019-12-06 16:42:30 -08:00
Kubernetes Prow Robot ad19b4e80b
Merge pull request #8045 from johngmyers/goimports-bindata
Fix misleading message in "make ci" when imports formatted incorrectly
2019-12-06 13:06:49 -08:00
Kubernetes Prow Robot ba22bc2d6c
Merge pull request #8024 from johngmyers/travis-bazel
Add more verifications to Travis
2019-12-04 18:32:31 -08:00
John Gardiner Myers a23be7b990 Revert "Run goimports in make ci"
This reverts commit 9c3d59df
2019-12-04 14:18:00 -08:00
John Gardiner Myers 01f170c7da Fix formatting of bindata.go after generation 2019-12-04 14:17:41 -08:00
John Gardiner Myers 7f2ad2eb36 Add more verifications to Travis 2019-11-27 20:25:57 -08:00
Kubernetes Prow Robot de7f7a8d02
Merge pull request #8023 from tioxy/goimports_make_ci
Run goimports in make ci
2019-11-27 16:37:03 -08:00
Gabriel Tiossi 9c3d59df52 Run goimports in make ci
Assure that autogenerated files are properly indented when running make
ci
2019-11-27 19:04:53 -03:00
Peter Rifel 274de31154 Add verify-gomod and verify-goimports to Travis job 2019-11-26 19:04:32 -06:00
Kubernetes Prow Robot 501baf7e56
Merge pull request #7985 from justinsb/release_1_17_0_alpha_1
Release 1.17.0-alpha.1
2019-11-25 19:53:09 -08:00
Justin SB 5561de1432
Release 1.17.0-alpha.1 2019-11-21 14:35:30 -05:00
Peter Rifel 024c8a92d7 Upgrade go to 1.13 2019-11-20 09:44:33 -08:00
mikesplain eb8c454d47
Unhide docs logging. 2019-11-17 11:01:06 -05:00
John Gardiner Myers ca69a57748 Fix fork bomb in Makefile 2019-11-16 11:08:30 -08:00
Justin SB ea779042ca Release 1.16.0-alpha.1 2019-11-08 00:28:53 -05:00
Peter Rifel b29fceed61 Cleanup old dep targets and add bazel check to gomod 2019-10-31 10:14:58 -07:00
Peter Rifel a7ef6143ca Add missing EXTRA_BUILDFLAGS usage in protokube target 2019-10-31 10:14:30 -07:00
Peter Rifel fe2d6b87c4 update check-builds-in-go* targets for more recent versions of go 2019-10-31 10:13:50 -07:00
Peter Rifel 248813a083 Remove workarounds for older versions of go 2019-10-31 10:13:27 -07:00
mikesplain 98af09fbb1
Add netlify file and remove todo 2019-10-25 11:43:31 -04:00
Kubernetes Prow Robot 18cfa5f5b2
Merge pull request #7593 from mikesplain/docs_site_map
Docs cleanup / mkdocs migration
2019-10-25 08:31:40 -07:00
Kubernetes Prow Robot c4245be7b7
Merge pull request #7802 from bittopaz/alicloud
Alicloud: add OSS as upload dest
2019-10-19 15:27:43 -07:00
Kubernetes Prow Robot cee10b2d1e
Merge pull request #7798 from bittopaz/fix-upload
Rename upload command variable in Makefile
2019-10-19 13:37:37 -07:00
Peter Rifel f82faa5c02 Upgrade go version to 1.12.11 2019-10-17 22:51:00 -07:00
Xiaoyu Zhong a719e04a6d Alicloud: add OSS as upload dest 2019-10-16 21:43:26 +08:00
Xiaoyu Zhong fcb6369fd8 Rename upload command variable in Makefile 2019-10-16 11:37:38 +08:00
Justin SB e611f39e48
Upload dns-controller archive, use in KOPS_BASE_URL
Like we recently did with kops-controller, this means we aren't
reliant on pushing a docker container for development.  This should
also fix the e2e tests, which otherwise break whenever we make an
incompatible change to dns-controller.
2019-10-13 08:34:44 -07:00
Kubernetes Prow Robot ff1d94c7cb
Merge pull request #7692 from zetaab/kops_ctrl_openstack
Kops controller support for OpenStack
2019-10-11 09:13:41 -07:00
Erick Fejta 364dbbf2a2 Add a BAZEL_CONFIG Makefile arg to bazel commands 2019-10-07 20:50:40 -07:00
Kubernetes Prow Robot 099d4dc3cd
Merge pull request #7634 from rifelpet/crds-fix
Update controller-tools and CRDs
2019-10-05 14:45:11 -07:00
Peter Rifel 2a004c59a5 Update usage of controller-tools and regenerate CRDs 2019-10-01 17:24:32 -05:00
Justin SB 958c1a0771
bazel: fix hashes rule to generate outputs
So I figured out how to generate the outputs in the correct way so
that we don't need an artificial name; we must construct the outputs
field in the rule using a helper function.
2019-10-01 11:31:09 -04:00
Justin SB 15cd4d1284
Use helpers to move gzip & sha from makefile to bazel
We can move the gzip & sha steps from the makefile to bazel.  This not
only simplifies the makefile, it should enable more parallelism and
better caching.
2019-09-30 13:52:32 -04:00
Justin SB 49258971fc
Publish kops-controller container dump to S3/GCS
We then `docker load` it when using a KOPS_BASE_URL.

This should simplify the development process (particularly once we
also do this for dns-controller; at that point we won't need a
registry at all).

This should also fix the problems in CI, where the kops-controller
image isn't available.  We've been getting away with testing with the
previous version for dns-controller, which changes pretty slowly.  But
that's not a good idea for kops-controller, which is likely to be more
critical and evolve more rapidly.
2019-09-28 22:43:46 -04:00
Justin SB 0f1880295f
kops-controller version should match version of kops
So (counterintuitively) we set it to 1.15.0-alpha.1, because that is the version on the master branch.
2019-09-28 22:23:17 -04:00
Justin SB 622d13b85e
Create tools/sha1 and sha256 helpers, simply Makefile
We can continue to support platforms that have either shasum or
sha1sum / sha256sum.  but we can move that logic to a helper so that
our makefile is simpler, and also so that we can use the same helper
in bazel in future.
2019-09-28 20:02:15 -04:00
Jesse Haka ed8dbc41d0 kops controller support for openstack 2019-09-28 10:06:39 +03:00
Peter Rifel 974a1c6b3c Add verify-staticcheck script mostly copied from kubernetes/hack/verify-staticcheck.sh 2019-09-27 11:58:33 -07:00
Kubernetes Prow Robot 942c8915db
Merge pull request #7496 from justinsb/label_controller
kops-controller
2019-09-27 03:43:35 -07:00
Justin SB 3ccc84dcf8
kops-controller container image
Based on distroless for security / stability
2019-09-25 12:04:36 -04:00
chentanjun d47b4b6534 fix-typo 2019-09-25 21:34:24 +08:00
mikesplain e5fd697283 Add netlify for development 2019-09-19 20:56:29 -04:00
mikesplain 45a8e5a3b8 First pass 2019-09-19 20:56:29 -04:00
mikesplain c5d7293926 Update and fix mkdocs 2019-09-13 14:55:42 -04:00
Justin SB 1e238b2142
When fast-building, copy a newer version of utils.tar.gz
This now includes the sha256 sum that we need going forwards.
2019-09-08 18:00:49 -04:00
Justin SB ee055ffe01
Release 1.15.0-alpha.1 2019-09-08 15:48:40 -04:00
Peter Rifel e38558a8fc Update rules_docker and go 2019-09-03 15:54:01 -07:00
Justin SB e48cf36353
Create verify-gomod script
Wrapper around go mod tidy

Currently doesn't delete from go.sum, which is untidy but expected
behaviour.
2019-08-30 21:17:17 -07:00
Kubernetes Prow Robot a957428446
Merge pull request #7470 from justinsb/update_to_k115
Update to kubernetes 1.15
2019-08-27 10:24:43 -07:00
Justin SB 461e78b4b3
Publish sha256 artifacts for kops itself 2019-08-25 17:28:13 -07:00
Justin SB 1943a3401d
Introduce go modules
This is the automatic translation from Gopkg that go.mod does.
2019-08-25 14:49:06 -04:00
Justin SB 9caea8b265
Add nodeup to shipbot targets for release upload
I had omitted it previously, so it wasn't getting copied to mirrors.
2019-08-22 00:57:20 -04:00
Kashif Saadat 0a32417375 Add verify-goimports to tests and fix the script so it fails correctly 2019-07-03 16:32:45 +01:00
Kubernetes Prow Robot a8e7109129
Merge pull request #7040 from spotinst/feature-spotinst-ocean
Spotinst: New instance group type: Ocean
2019-06-20 12:24:10 -07:00
Kubernetes Prow Robot 55f5cb61dd
Merge pull request #7003 from justinsb/easier_go_test
Simplify `go test` command
2019-06-20 12:23:59 -07:00
liranp 80020052d3
feat(spotinst): new instance group type: ocean 2019-06-03 12:38:46 +03:00
Justin SB f30e8ccb4d
Update go_version to 1.12.5
Upstream change is https://github.com/kubernetes/kubernetes/pull/77528
2019-05-19 22:28:19 +02:00
Justin SB a5b230f25e
Simplify `go test` command
We shouldn't have to explicitly specify packages any more (if we do,
we should exclude them individually).
2019-05-19 22:10:36 +02:00
Justin SB 2c0420312b
Makefile: keep go vet simple
We can now go vet all our packages, go vet excludes vendor since 1.9,
and the clientset is go-vet safe now.
2019-05-19 12:27:23 +02:00
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
Justin Santa Barbara bdf6cc4e6a Change vendored weave mesh to use hash keys by default
This means we don't have to use build tags when building, so our code
is more go-gettable.  Also bazel doesn't support build tags yet, so we
need to do something like this for a bazel build (otherwise gossip DNS
is broken)
2018-08-23 12:04:23 -04:00
k8s-ci-robot 1168e58217
Merge pull request #5662 from lblackstone/codegen
Fix codegen make target
2018-08-18 20:59:25 -07:00
Justin Santa Barbara 4d216cb001 Release 1.10.0 2018-08-18 07:06:02 -04:00
Levi Blackstone 5eccb4f07d
Fix codegen make target
- Update codegen parse to import from source rather than install path (see https://github.com/golang/go/issues/11415#issuecomment-283445198)
- Quote PATH to properly handle spaces
- Fix typo in generated code
2018-08-17 16:12:27 -06:00
Mikulas Dite 3127296c69 prevent verify-misspelling failing on releases
Removes pull request subjects from release notes and checks
the remainder of text.
2018-08-16 11:15:14 +02:00
Levi Blackstone 0d68a233dc
Add `DEBUGGABLE` option to Makefile to compile debuggable bins 2018-08-15 12:12:43 -06:00
Justin Santa Barbara f38d220bc1 make dep-ensure checks that mercurial is installed
This only works if users use the makefile target, but it avoids a
likely failure mode of dep.

Fix #5598
2018-08-13 10:23:27 -04:00
Mike Splain 9ea2ccfd33 Drop experimential from platforms 2018-07-25 16:32:12 -04:00
Mike Splain 5220a12825 Run in parallel so it goes faster 2018-07-25 16:26:20 -04:00