-
Notifications
You must be signed in to change notification settings - Fork 1k
Update Go dependencies #968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This is still WIP. I just made it a regular PR so I can run TC tests on it. |
@@ -346,16 +363,6 @@ func clusterVersionLessThan(vs string) bool { | |||
return cv.LessThan(v) | |||
} | |||
|
|||
func skipCheckIf(skip func() (bool, string), check resource.TestCheckFunc) resource.TestCheckFunc { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function was unused, so I removed it.
Acceptance tests are passing. This is ready for review. https://gist.github.com/dak1n1/a6addda90b1f741c5b3b41a42ec3fc81 TC tests:
Here is the only new failure listed in TC. I'm not sure if it's an issue offhand. It only showed up in GKE during a cluster destroy.
I did a couple applies and destroys using GKE from my local system, and it worked fine. It could be another TC fluke. |
57fed0d
to
62d5c01
Compare
This is ready for review. I'm hoping to get it merged soon so I can continue working on the Azure disk PR (#837). |
👋 I'll take a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this @dak1n1 this is amazing work. I left a couple of comments. Main concern is with the introduction of context.Context
.
318f7eb
to
254db6a
Compare
* Update Go modules & dependencies. * Refactor Kubernetes API calls to use contexts (required by client-go version). * Add Azure provider to acceptance tests. * Add Azure Go modules and dependencies. * Updates Azure test-infra to the lastest version of the Azurerm provider.
3cb2801
to
566621a
Compare
Ok, I think this is finally done. All the makefile targets pass locally, except I didn't run Kubernetes (AKS @ 1.17) Kubernetes (GKE @ 1.16) (Terraform @ 0.13) Kubernetes (GKE @ 1.15) Kubernetes (Typhoon AWS @ 1.18) I'll come back in a couple hours to check out the results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working through this @dak1n1! Did a best-effort review of the changes, LGTM.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Description
This PR updates Go dependencies as a prerequisite to adding the Azure provider into the Kubernetes provider (importing for acceptance tests). This also updates our other Go modules and specifically Kubernetes related libraries.
Acceptance tests
References
#837
Community Note