Commit Graph

516 Commits

Author SHA1 Message Date
Ole Markus With 7bc8281e54 Bump K8s libs to 0.25.0
This also bumps go mod version to 1.19
2022-08-24 07:17:14 +02:00
justinsb 29b168b9d7 gce: Move out of beta, drop feature flag
GCE support seems stable now, and we have good clarity at the API
level and how that translates to GCP resources, which was our blocker
previously.

Drop the need for the feature-flag.
2022-06-28 11:22:34 -04:00
Kubernetes Prow Robot e638cc853f
Merge pull request #13622 from hakman/packages_docs
Add docs for the packages option
2022-05-09 05:55:19 -07:00
Ciprian Hacman 5c6b1014bf Update kOps and k8s spelling 2022-05-09 06:54:52 +03:00
Ciprian Hacman b5f14b589b Add initial support for Hetzner Cloud 2022-05-09 06:12:15 +03:00
Ole Markus With e58f23d84a Bump k8s.io deps to 1.24.0 2022-05-04 08:30:10 +02:00
Ciprian Hacman b724074d0b Update golangci-lint to v1.45.2 2022-05-01 06:36:04 +03:00
Ole Markus With c9d6186a67 Bump to golang1.18 and k8s deps to 1.24.0-rc.0 2022-04-22 14:11:47 +02:00
Ole Markus With ce2e877aeb Remove bazel files from vendor 2022-04-12 13:29:03 +02:00
Ole Markus With 39defc4d91 Remove all bazel targets from Makefile
Fix comment

Remove bazel artifacts

Remove bazel hacks

Fix kubetest compat copy
2022-04-12 13:28:58 +02:00
Ciprian Hacman 9f08eb9b39 Remove GOPATH dependency for apimachinery 2022-04-09 11:28:08 +03:00
Ciprian Hacman 983ba1eea3 Install gcloud instead of gsutil
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-29 10:56:22 +03:00
Ciprian Hacman 60d9a955c1 Install gsutil if needed
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-29 08:46:14 +03:00
Ole Markus With 3daa54337c Bump ko 2022-03-24 08:29:33 +01:00
Ciprian Hacman 3da84d4480 Update golangci-lint to v1.45.0
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-23 11:38:46 +02:00
Ole Markus With 214f616d73 Build kops-controller with ko
ko install target

Add kops-controller to all

Add ko targets for the rest of the images

Build ko images to IMAGES instead of BAZELIMAGES

Update registry repo
2022-03-21 09:42:59 +01:00
Kubernetes Prow Robot 25bcdb2070
Merge pull request #13161 from justinsb/local_testing
dev: create scripts to make it easier to run e2e tests
2022-03-18 02:45:16 -07:00
Ciprian Hacman a4ed2b0654 Migrate to registry.k8s.io
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-18 08:47:12 +02:00
justinsb a287f11e0b dev: create scripts to make it easier to run e2e tests
Assumes an existing cluster, but then example usage:

```
./hack/run-e2e-from-source.sh aws.*Pre-provisioned.*ext4
```
2022-01-30 16:51:47 -05:00
John Gardiner Myers 7603f4ca46 Remove temporary restrictions on automatically tagging releases 2022-01-01 13:48:57 -08:00
John Gardiner Myers 8feb75f8e5 Add action for automatically tagging releases 2021-12-23 13:39:20 -08:00
Peter Rifel 7cff49ce5c
Remove verify-staticcheck 2021-12-14 07:13:41 -06:00
Robbie Lankford 221272cee2
add verify-golangci-lint.sh script 2021-12-12 18:14:17 -06:00
Ole Markus With 7b91e5c257 Only shellcheck files 2021-12-11 11:07:49 +01:00
Ciprian Hacman 82512f2c65 Add gofumpt scripts 2021-12-01 22:37:41 +02:00
justinsb b74ad8dade Remove dependencies on k8s.io/code-generator 2021-11-15 10:44:43 -05:00
justinsb 0fd94706d4 Makefile: run codegen using go modules
This no longer carries a (significant) performance penalty, and
simplifies the process greatly.
2021-11-15 10:41:05 -05:00
Peter Rifel 7b4dbd486d
Check for hardcoded partitions in integration tests 2021-10-30 06:42:13 -05:00
justinsb b43afba89a Replace bazel :gofmt target with direct invocation
The rule to run from the workspace is broken by the .bazel-bin change,
but bazel now supports direct invocation.
2021-10-26 08:04:08 -04:00
Ciprian Hacman 6bd597f372 Convert go.mod files to Go 1.17 2021-10-09 06:27:27 +03:00
Ciprian Hacman 97ecd445a5 Update k8s dependencies to v1.22.2 2021-10-05 08:55:17 +03:00
Ciprian Hacman 895ac428e2 Upgrade cnf-lint to 0.54.2 2021-09-24 15:11:10 +03:00
Peter Rifel d3f657bdc4
Run verify-cloudformation in host network 2021-09-24 06:20:31 -05:00
Ciprian Hacman b1be79800b Use host network when running docker 2021-09-24 11:15:13 +03:00
Peter Rifel db5a1251c9
Upgrade terraform to 1.0.7 2021-09-23 22:49:25 -05:00
Ciprian Hacman 19564888f4 Use "//go:build" lines together with "// +build" lines
The go command now understands //go:build lines and prefers them over // +build lines. The new syntax uses boolean expressions, just like Go, and should be less error-prone. As of this release, the new syntax is fully supported, and all Go files should be updated to have both forms with the same meaning. To aid in migration, gofmt now automatically synchronizes the two forms. For more details on the syntax and migration plan, see https://golang.org/design/draft-gobuild.
2021-09-20 07:35:31 +03:00
Justin SB 1562ce4e8a Script for iterating development on AWS
Somewhat opinionated, but should be an easy and quick way to build for
dev in most cases.
2021-09-18 13:42:14 -04:00
Ciprian Hacman 23dc3508bd Update Bazel to v4.2.1 2021-09-11 15:41:28 +03:00
justinsb 055ef00384 dev: hack/update-expected script should clear KOPS_ARCH
This is another env var that we don't want to be set when generating
test data, or else we generate tests only for the specified
architectures.
2021-09-06 14:45:08 -04:00
Peter Rifel 94bcc3aa57
Update staticcheck to latest 2021-08-30 09:07:29 -05:00
Peter Rifel adf60a266e
Update terraform to 1.0.5 2021-08-24 18:31:08 -05:00
Justin SB 343227cfd4 Script for iterating development on GCE
AWS one to follow!
2021-08-23 08:37:09 -04:00
John Gardiner Myers 832e773324 Update Kubernetes dependencies to 1.22.0 2021-08-04 16:54:07 -07:00
Ciprian Hacman b30890ffdc Update cfn-lint to v1.52.0 2021-07-29 05:40:05 +03:00
Aaron Crickenberger e4ae593554 hack/upload: avoid ACLs for GCS buckets with UBLA enabled 2021-07-14 22:46:07 -07:00
Rui Chen d1146fa157 brew: remove kops.rb
Right now the kops formula is well maintained in the homebrew-core side,
see [the past PRs](https://github.com/Homebrew/homebrew-core/pulls?q=is%3Apr+kops+) and [the latest one](https://github.com/Homebrew/homebrew-core/pull/79634).

Thus removing the kops.rb formula file in favor of
[the homebrew-core one](https://github.com/Homebrew/homebrew-core/blob/master/Formula/kops.rb).

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-06-19 16:22:26 -04:00
John Gardiner Myers 863c18585e Fix set-version leaving backup files with "-e" suffix 2021-06-04 15:06:54 -07:00
Ciprian Hacman d407c62e5f Always install the latest plugin versions for Terraform tests 2021-05-10 17:02:41 +03:00
Peter Rifel d15168c74a
Update verify-terraform to use 0.15.3
This updates the GPG key according to https://discuss.hashicorp.com/t/hcsec-2021-12-codecov-security-event-and-hashicorp-gpg-key-exposure/23512
2021-05-09 13:57:08 -04:00
John Gardiner Myers b31baebe2a Verify all versions are set correctly 2021-05-07 21:09:11 -07:00