Commit Graph

505 Commits

Author SHA1 Message Date
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
Justin SB 75fd939a62
kube-apiserver: healthcheck via sidecar container
kube-apiserver doesn't expose the healthcheck via a dedicated
endpoint, instead relying on anonyomous-access being enabled.  That
has previously forced us to enable the unauthenticated endpoint on
127.0.0.1:8080.

Instead we now run a small sidecar container, which
proxies /healthz and /readyz requests (only) adding appropriate
authentication using a client certificate.

This will also enable better load balancer checks in future, as these
have previously been hampered by the custom CA certificate.

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-05-07 08:06:52 -04:00
Justin SB 27aab12b28 Release 1.18.0-alpha.3 2020-05-06 08:19:06 -04:00
Justin Santa Barbara 635ca60982 Update go to 1.13.9 (continued)
Adding a few places I missed previously.
2020-04-09 10:20:42 -04:00