Skip to content
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

Update install workflow to support Go v1.18 #134

Merged
merged 1 commit into from
Apr 27, 2022
Merged

Conversation

ivyostosh
Copy link
Member

Command go get can no longer be used to build packages starting Go v1.18 (see deprecation notice). Kustomize version also needs to be updated since go install doesn't support exclude directives (see issue). The change has been tested on both Go v1.17 and Go v1.18 to ensure the Makefile works properly.

Issue #, if available: N/A

Description of changes: Update go get to go install, and Kustomize version to v4.5.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Command 'go get' can no longer be used to build packages starting Go v1.18 (https://go.dev/doc/go-get-install-deprecation). Kustomize version also needs to be updated to v4.5 since go install doesn't support exclude directives (kubernetes-sigs/kustomize#3618). The change has been tested on both Go v1.17 and Go v1.18 to ensure the Makefile works properly.
@eks-distro-bot eks-distro-bot added approved size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 27, 2022
@TerryHowe
Copy link
Contributor

/hold
We all need to run 17.9 I'm afraid

@ewollesen
Copy link
Contributor

/hold We all need to run 17.9 I'm afraid

We spoke some at standup, and I've verified with @ivyostosh that all uses of go-get-tool succeeds (which was where there were problems in the past). Since this works just fine for 1.17.9 and will work in the future with 1.18, I think this is good to merge.

/unhold
/lgtm

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ewollesen, ivyostosh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [ewollesen,ivyostosh]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@eks-distro-bot eks-distro-bot merged commit 53532ad into aws:main Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants