Commit Graph

37 Commits

Author SHA1 Message Date
Ciprian Hacman fd9e5659ed Update controller-runtime to v0.9.7 2021-09-04 09:25:44 +03:00
Peter Rifel ce821a614f
In-line openstack loadbalancer feature detection
This was our only reliance on cloud-provider-openstack which depends on k8s.io/kubernetes.

With the logic in-lined, kops no longer has any indirect dependencies of k/k
2021-08-06 08:19:53 -04:00
John Gardiner Myers 832e773324 Update Kubernetes dependencies to 1.22.0 2021-08-04 16:54:07 -07:00
Kubernetes Prow Robot 01d8541ada
Merge pull request #12061 from hakman/controller-runtime-0.9.5
Update controller-runtime to v0.9.5
2021-07-28 21:36:19 -07:00
Ciprian Hacman 61e40c00c9 Update controller-runtime to v0.9.5 2021-07-29 05:53:36 +03:00
Ciprian Hacman c7c2191610 Update aws-sdk-go to v1.40.10 2021-07-29 05:31:01 +03:00
Peter Rifel 98bed37ffa
Upgrade aws-sdk-go 2021-07-15 07:35:56 -07:00
John Gardiner Myers 04943c8e3b Upgrade Cobra to 1.2.1 2021-07-02 10:39:53 -07:00
John Gardiner Myers cfe22f814e Upgrade cobra and viper 2021-07-01 12:59:43 -07:00
Ole Markus With a66fe95f58 Update helm to v3.6.1 2021-06-24 21:40:06 +02:00
John Gardiner Myers dcf973a898 Improve image copying 2021-06-23 23:51:09 -07:00
Doug Goldstein 80da992275
bump the version of gophercloud
Since the v1.19.0 release of kOps the OpenStack integration has been
broken because gophercloud made a change to start escaping all path
names for files stored in swift. kOps used a file with a slash in it
which was getting escaped and then not handled correctly. This has been
fixed in upstream gophercloud with gophercloud/gophercloud#2160 which
was included in gophercloud v0.18.0. Bump is for issue #9933.
2021-06-16 11:50:13 -05:00
Ciprian Hacman 8c5484945d Update github.com/spf13/viper to v1.8.0 2021-06-16 08:12:42 +02:00
Ciprian Hacman 13104ec6ea Calculate IPv6 subnet CIDR based on cluster CIDR 2021-06-09 09:57:53 +03:00
Ciprian Hacman e4dd36714f Update controller-runtime to v0.9.0 2021-06-08 03:18:45 +03:00
Ciprian Hacman 1177f66d1e Update k8s dependencies to v1.21.1 2021-06-08 03:17:42 +03:00
Ciprian Hacman 80ee477727 Update Go to v1.16.4 2021-05-29 11:31:22 +03:00
Jesse Haka 960a52d6b2 Update deps 2021-04-30 11:39:01 +03:00
Kubernetes Prow Robot 021f0e5f55
Merge pull request #11338 from rifelpet/kubetest2
Update kubetest2 dependency and fix install method for upgrade scenario
2021-04-28 00:40:49 -07:00
Ciprian Hacman 39fe0175aa Update controller-runtime to v0.9.0-beta.0 2021-04-28 07:49:24 +03:00
Peter Rifel 0f9a04e0c7
Update kubetest2 dependency and fix install method for upgrade scenario 2021-04-27 17:58:48 -05:00
Peter Rifel e3f5409375
fix go.sum 2021-04-27 10:12:34 -05:00
Justin SB b21df766fc
kubetest2: Infer the provider and zones from the kops cluster
This means we don't need to pass these flags explicitly.
2021-04-27 10:12:31 -05:00
Peter Rifel a3679b3efe
Kubetest2 - Add boskos for GCE support 2021-03-18 21:00:35 -05:00
Barry Melbourne e30bf1cf35 Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
Peter Rifel 10b30eff0e
Kubetest2 - Add support for publishing the kops version marker
This will unblock the remaining periodic e2e jobs that havent been migrated yet.
They run a test with the kops version from "latest-ci.txt" as published by the "postsubmit-push-to-staging" postsubmit job,
and if the tests succeed then they get published to "latest-ci-updown-green.txt" which is what all of the other periodic jobs rely on.

example job that uses this functionality: 37b80c5e3b/config/jobs/kubernetes/kops/kops-pipeline.yaml (L46-L48)
2021-03-09 20:31:10 -06:00
Barry Melbourne a77233a843 Update Openstack Cloud Go module to v1.20.1 2021-02-21 12:19:05 +00:00
Peter Rifel fb0a29aaa6
Bump kubetest2 version to include --ginkgo-args 2021-02-17 19:13:52 -06:00
Peter Rifel 144d038b76
Kubetest2 - Use a shell lexer for passing extra args to `create cluster`
This way any spaces within a quoted value wont cause the value to be broken up into multiple arguments.
The CentOS image in AWS has spaces in its name which is what exposed this issue.
2021-02-08 22:12:30 -06:00
Peter Rifel f492f3d82e
Update kubetest2 library
This picks up the --test-package-marker support used by the kops grid jobs
2021-01-23 12:10:53 -06:00
Peter Rifel 631e0fe235
Add support for specifying a kubernetes version marker file 2021-01-20 19:18:55 -06:00
Peter Rifel 3f0fb7f80d
Only require --kubernetes-version for --up not --test 2021-01-18 20:57:47 -06:00
Peter Rifel 2d365b4543
Add --networking flag 2021-01-18 20:56:52 -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 38215210c6
Run k/k's e2e suite via new kubetest2 make target 2020-12-27 13:25:27 -06:00
Peter Rifel f0295a3cb7
Initial kubetest2 structure for e2e testing
This creates a new go module for the e2e code and the kubetest2 skeleton.
Most of the kubetest2 code was copied from sigs.k8s.io/kubetest2/kubetest2-gke.

Currently only building (`make gcs-publish-ci`) is in place.
I used test-infra/scenarios/kubernetes_e2e.py as reference, removing env and make variables that are no longer needed.

Instructions:
```
cd tests/e2e
go install sigs.k8s.io/kubetest2
go install ./kubetest2-kops
kubetest2 kops -v 9 --build --stage-location=gs://foobar/ --kops-root=../../  # runs make gcs-publish-ci and exits
```
2020-10-08 18:15:51 -05:00