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

Migrate release-2.0-untagged to gha #453

Open
wants to merge 4 commits into
base: release-2.0-untagged
Choose a base branch
from

Conversation

ericpromislow
Copy link
Contributor

Related to: #45226 - for branch release-2.0-untagged

@ericpromislow ericpromislow requested a review from a team as a code owner June 17, 2024 19:29
@ericpromislow ericpromislow changed the base branch from master to release-2.0-untagged June 17, 2024 19:31
- amd64
- arm64
runs-on: org-${{ github.repository_owner_id }}-${{ matrix.arch }}-k8s
container: registry.suse.com/bci/golang:1.22
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the go version in CI match the go version used by this branch? It seems like we have GHA using 1.22 while the base version should be 1.20 according to go.mod in this branch: https://github.com/rancher/wrangler/blob/release-2.0-untagged/go.mod

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bumped the go version to 1.22 instead -- just because a branch is based on an older version doesn't mean it has to use an older version of go.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For wrangler & lasso we try to keep the same Go version that's being used by the k8s library to not add more constraints for users of those libraries. k8s 1.27 requires a minimum version of Go 1.20 so we would keep it as is and instead change the container to use golang 1.20.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I pulled this branch back to golang 1.20

And also uses SHAs to specify github action versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants