Commit Graph

608 Commits

Author SHA1 Message Date
John Gardiner Myers 265e57bada Clean up gen-cli-docs 2021-07-13 13:00:26 -07:00
Ciprian Hacman c8860412f0 Add support for darwin/arm64 on the client-side 2021-06-28 10:18:28 +03:00
Ciprian Hacman 1177f66d1e Update k8s dependencies to v1.21.1 2021-06-08 03:17:42 +03:00
Ciprian Hacman d69ac2fe76 Release images bundle instead of separate images 2021-05-20 08:52:03 +03:00
Ciprian Hacman f476f261a7 Verify fitask output 2021-05-11 06:46:59 +03:00
Ciprian Hacman 55d1c9616b Set the output base for fitask 2021-05-11 06:43:16 +03:00
John Gardiner Myers b31baebe2a Verify all versions are set correctly 2021-05-07 21:09:11 -07:00
John Gardiner Myers 3aa8d40052 Release 1.22.0-alpha.1 2021-05-07 13:45:35 -07:00
Ciprian Hacman f3c6558fd0 Release 1.21.0-alpha.3 2021-04-14 09:13:04 +03:00
Justin SB 2b2fe2c584 cloudbuild: capture some hashes
Aiming to create a "chain of trust"; from code to promotion PR.
Ideally we would get the promotion PRs output here, but we can start
by outputing the hashes needed.
2021-03-29 10:02:01 -04:00
Ciprian Hacman fa72535f95 Release 1.21.0-alpha.2 2021-03-22 08:38:47 +02:00
Peter Rifel f36e9a449a
Remove go-bindata 2021-03-20 16:02:09 -05:00
Ciprian Hacman 191bb9502b Install bazelisk before pushing images 2021-03-18 20:08:41 +02:00
Ciprian Hacman 4235fd3835 Update Bazel to v3.5.0 2021-03-18 14:58:09 +02:00
Bharath Vedartham 5a72ef0f94 Remove protokube image references 2021-03-06 00:33:12 +05:30
Barry Melbourne 1a6ff4efbf Update Go to v1.16 2021-03-04 18:41:48 +00:00
Ciprian Hacman 35ea2f49b3 Release 1.21.0-alpha.1 2021-02-16 10:44:34 +02:00
Ciprian Hacman 57f6f362d8 Release binaries for protokube and channels 2021-02-16 09:40:01 +02:00
Ciprian Hacman ede4daf7ce Release 1.20.0-alpha.2 2021-02-08 13:36:48 +02:00
Ciprian Hacman bb787d3075 Release 1.20.0-alpha.1 2021-01-15 15:29:55 +02:00
Peter Rifel 9c6814fb81
Fix default make target
Adding the e2e.mk file changed the default target for `make`

This reverts the behavior back to the original `kops-install`
2021-01-14 15:06:58 -06:00
Peter Rifel 59c312ff5f
Give kubetest2 its own makefile
Use GOOS and GOARCH for running the kops binary

Also try deploying and testing against k8s 1.20.2
2021-01-13 21:59:15 -06:00
Peter Rifel 196e678205
kubetest2 - Add manifest template support
I'm updating the test-e2e make target as I go to make the presubmit job use it but soon I'll work on how we'll actually configure and invoke kubetest2 from our variety of jobs
2021-01-11 21:53:21 -06:00
Peter Rifel 17468d496f
Kubetest2 - use our own tester that wraps kubetest2's ginkgo tester
This allows us to share tester flags (package version and bucket) for downloading kubectl while passing them to the ginkgo tester
2021-01-09 23:44:26 -06:00
Peter Rifel 0ac86d13e3
Support a --kubernetes-version flag that is passed to `kops create cluster` 2021-01-03 19:50:53 -06:00
Barry Melbourne 1c96e826d9 Remove copyright YEAR from generated Go files 2021-01-03 12:48:50 +00:00
Peter Rifel 83eeccc6c0
Use the same package version as that reported by apiserver
kubetest2 doesn't download a kubectl client from the same version being tested, so the mismatch is causing test failures.
Until we can download kubectl we'll use the same minor version as /usr/local/bin/kubectl baked into the prow image
2020-12-31 10:43:50 -06:00
Peter Rifel b72cb37b30
allow ARTIFACTS env var to be overridden in makefile 2020-12-28 12:09:43 -06:00
Peter Rifel 12d399e650
run tests in parallel, matching the existing kubetest parallelism 2020-12-27 14:41:13 -06:00
Peter Rifel a945d54bf5
fix shell expansion in skip-regex 2020-12-27 13:31:17 -06:00
Peter Rifel 38215210c6
Run k/k's e2e suite via new kubetest2 make target 2020-12-27 13:25:27 -06:00
Ole Markus With e269eed197 Bump go-bindata and use go module 2020-12-16 09:27:24 +01:00
Peter Rifel a8a0b6783f
Replace goimports python scripts with shell scripts, remove unnecessary .packages 2020-12-10 21:50:36 -06:00
Peter Rifel c954099355
Remove outdated Makefile comment 2020-12-10 21:47:54 -06:00
Peter Rifel 8bde95df70
Move code-generator to hack go module 2020-12-10 21:47:54 -06:00
Peter Rifel 82e25599f7
Move tools.go into separate go module without vendoring 2020-12-08 23:06:44 -06:00
Ciprian Hacman bfbd4123e7 Rename duplicate ci target to quick-ci 2020-12-07 13:03:52 +02:00
Ciprian Hacman 894ebedc5c Remove dependency on TravisCI 2020-12-04 20:28:23 +02:00
Ciprian Hacman 349c4ee045 Optimize Bazel dev builds by arch 2020-11-24 07:50:26 +02:00
Ciprian Hacman 338fb43f8b Update kOps version after 1.19.0-beta.2 release 2020-11-22 08:10:50 +02:00
Kubernetes Prow Robot 7347d42e57
Merge pull request #10267 from hakman/bazel-optimize
Optimize Bazel builds by os and arch
2020-11-19 18:08:50 -08:00
Ciprian Hacman 2d9d43ab39 Fix multi-arch image pushing 2020-11-19 07:57:30 +02:00
Ciprian Hacman 00bfc585b5 Optimize Bazel builds by os and arch 2020-11-18 23:17:17 +02:00
Kubernetes Prow Robot 42e189605a
Merge pull request #10265 from hakman/docker-manifest
Push multi-arch images
2020-11-18 12:08:06 -08:00
Ciprian Hacman 78c28288a2 Push multi-arch images 2020-11-18 16:52:27 +02:00
Ciprian Hacman 4b51f300ef Fix windows binary path when using Bazel 2020-11-18 12:36:39 +02:00
Ciprian Hacman 924ab9effa Update Bazel rules for Go to v0.24.7 2020-11-15 12:32:24 +02:00
Ciprian Hacman 1fc24b884e Remove Bazel build steps for node-authorizer 2020-11-15 12:09:50 +02:00
Ciprian Hacman 3e8770f763 Update kOps version after 1.19.0-beta.1 release 2020-11-11 10:15:39 +02:00
Peter Rifel b3cdca7908
Add verify-cloudformation script
This is an official AWS linter for cloudformation.
It has already caught a few bugs in our cloudformation json generation logic
2020-10-28 10:09:01 -05:00
Peter Rifel b2e06093d8
Make hack/update and hack/verify scripts more consistent 2020-10-26 15:01:43 -04:00
Peter Rifel 676c6f5a7f
Add tests/e2e go module support to hack/verify-gomod.sh 2020-10-22 20:57:38 -05:00
Ciprian Hacman 23e73a5b8e Release 1.19.0-alpha.5 2020-10-15 07:09:46 +03:00
Ciprian Hacman 0eb626fcdd Release 1.19.0-alpha.4 2020-09-16 11:37:38 +03:00
Kubernetes Prow Robot 3be4aa0131
Merge pull request #9830 from justinsb/dont_repush
Use the get_workspace_status script to get the versions
2020-08-28 06:18:54 -07:00
Justin SB eb2943671f Use the get_workspace_status script to get the versions
This avoids duplication of logic / different logic - and the logic in
the Makefile was indeed different, which was causing us to overwrite
the staging alpha images.
2020-08-28 08:34:42 -04:00
Ciprian Hacman a4ff90205a Pull images from k8s.gcr.io/kops instead of docker.io/kope 2020-08-25 08:04:36 +03:00
Ciprian Hacman 2d61ab0876 Bump kops to v1.19.0-alpha.3 2020-08-23 12:07:44 +03:00
Kubernetes Prow Robot 96ab8423b1
Merge pull request #9566 from hakman/arm64-images
Add ARM64 support for masters
2020-08-14 20:46:17 -07:00
Ciprian Hacman cbe2f09f44 Fix test-windows target 2020-08-12 11:49:09 +03:00
Ciprian Hacman 9995940677 Add Windows job to GH workflows 2020-08-11 14:28:36 +03:00
Ciprian Hacman 172031859d ARM64 support - Build multi-arch images 2020-08-10 13:47:07 +03:00
Ciprian Hacman 91d97c274c make protobuf 2020-08-05 06:03:23 +03:00
Kubernetes Prow Robot 492696f358
Merge pull request #9660 from justinsb/new_release_process
Document new release process for kops 1.19 and on
2020-07-31 14:53:42 -07:00
Kubernetes Prow Robot e2632f7418
Merge pull request #9651 from srikiz/Fix-Bazel-Startup-Options
Use BAZEL_OPTIONS  for bazel build
2020-07-31 13:57:39 -07:00
Justin SB 388ddc3cfa Document new release process for kops 1.19 and on
Promoting the staging build, for eventual "lights off" / "hands off" releases.
2020-07-31 10:41:24 -04:00
Justin SB c64abd4301 Release 1.19.0-alpha.2 2020-07-31 07:59:05 -04:00
Srikanth a7a73d16db Fix to remove additional space 2020-07-31 11:55:59 +05:30
Srikanth e8ba0410ca Use Bazel options during build 2020-07-30 20:23:41 +05:30
Kubernetes Prow Robot 67966d5288
Merge pull request #9632 from johngmyers/gengo
Replace custom codegen package with gengo
2020-07-28 22:11:46 -07:00
Ciprian Hacman 2401106ebb Upgrade Go to version 1.15rc1 2020-07-29 06:42:44 +03:00
John Gardiner Myers 9596ed8f37 Reimplement fitask generator using gengo 2020-07-28 11:48:08 -07:00
John Gardiner Myers 665bc6da89 Update instructions for fixing verify-gomod.sh 2020-07-27 09:18:24 -07:00
Ciprian Hacman dcd8c15db9 Move Protokube images build scripts to its dir 2020-07-15 19:34:35 +03:00
Ciprian Hacman b9623304ff Remove unused and unmaintained Docker build targets 2020-07-15 19:34:35 +03:00
Peter Rifel 40868247a3
Upgrade go to 1.14.5 2020-07-14 15:29:20 -05:00
Peter Rifel 0b555f48d4
Upgrade to go 1.14.4 2020-07-14 09:24:48 -05:00
John Gardiner Myers 7ee0471518 Add support for uploading to private buckets 2020-07-13 23:00:20 -07:00
John Gardiner Myers 9b978b5c30 Simplify rules for making bindata.go 2020-07-09 20:10:04 -07:00
John Gardiner Myers 031d8efe73 Make 'go build' targets phony again
This is needed because make doesn't know about their dependencies.
2020-07-09 20:03:16 -07:00
Justin SB 591626af3c Release 1.19.0-alpha.1 2020-07-04 21:46:14 -04:00
Justin SB be905b9af2 Allow CI builds to build a tagged version
This is working towards "hands off" release builds, where we just tag
the release.  When CI=1 and the git sha we are building _exactly_
matches a tag, we build that version.  We enforce that version.go must
have previously been updated to match the tag.

We also refactor out the duplicated code into a shared script (tools/get_version.sh)
2020-07-04 16:59:53 -04:00
John Gardiner Myers 541f7b5b37 Remove kube-discovery 2020-06-23 21:34:12 -07:00
Kubernetes Prow Robot 4a3c103b03
Merge pull request #9401 from hakman/build-ci-amd64
Build and publish only Linux AMD64 Kops artifacts for CI
2020-06-21 22:04:38 -07:00
John Gardiner Myers 7d50633689 Remove PHONY declaration on non-phony targets 2020-06-21 19:11:43 -07:00
Kubernetes Prow Robot d5e1bab8b1
Merge pull request #9396 from rifelpet/modvendor
Use -mod=vendor for most go commands
2020-06-18 20:35:58 -07:00
Ciprian Hacman 10a204cd40 Build and publish only Linux AMD64 Kops artifacts for CI 2020-06-19 06:10:51 +03:00
Peter Rifel 2504ad19f2
Dont use -mod=vendor with go install k8s.io/code-generator
though it would probably be best to vendor this?
2020-06-18 21:13:15 -05:00
Ciprian Hacman cfa7027435 Stop creating SHA1 hashes for build artifacts 2020-06-18 21:26:37 +03:00
Peter Rifel e42431ff06
Use -mod=vendor for most go commands
Without this set, go 1.13 was redownloading all dependencies into the module cache, effectively ignoring the vendor directory.

This instructs go 1.13 to always use (and verify the contents of) the vendor directory.

See an example prow job here: https://prow.k8s.io/view/gcs/kubernetes-jenkins/pr-logs/pull/kops/9389/pull-kops-verify-govet/1273460433402990595

All of the `go: downloading` and `go: extracting` lines indicate its downloading those dependencies rather than using the vendor directory.
2020-06-18 07:15:19 -05:00
Peter Rifel a1de302a22
Don't run verify-gomod in travis or GHA, it has its own prow job 2020-06-17 22:28:34 -05:00
Peter Rifel a1111002a3
Run "go mod vendor" in verify-gomod
This will actually catch vendoring issues
2020-06-17 21:39:08 -05:00
Peter Rifel 01b0fc544c
Remove hack/machine_types script 2020-06-09 10:12:58 -05:00
Justin SB 6969fc505a When building to staging, split out the marker files by branch
This will let us start to have separate CI pipelines per branch.
2020-06-04 10:54:58 -04:00
Ciprian Hacman c0b62a74ca Remove all traces of utils.tar.gz 2020-06-03 09:55:45 +03:00
Ciprian Hacman fecec5affa Add ARM64 build targets for kops and nodeup 2020-06-02 21:20:13 +03:00
Kubernetes Prow Robot 7b067983df
Merge pull request #9177 from olemarkus/remove-vsphere
Remove vsphere cloud provider
2020-06-01 06:19:54 -07:00
Ciprian Hacman d41fd1ea07 Add packages hashes verification for containerd and Docker 2020-06-01 08:27:18 +03:00
Ole Markus With 7342525872 Remove vsphere from kops files 2020-05-30 13:36:55 +02:00
Justin SB 5ed11fd9c7 GCE: don't rely on hostname being correct
Distros that use systemd for DHCP often don't have the hostname
correct, due to e.g. the requirement for policy kit.

We don't rely on it being set correctly on other clouds; no real
reason to require it on GCP either!
2020-05-17 15:20:58 -04:00