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

ci: use go version from provider to update workflows #1399

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

rquitales
Copy link
Member

Proposed Changes

This PR updates the update-workflows workflow to ensure we use a Golang version compatible with the respective provider for updating its own workflows. It achieves this by first checking out the targeted provider repository and extracting the Golang version specified in its .ci-mgmt.yaml config file. If no version is specified, the workflow defaults to the latest "stable" Go release.

This change is necessary because our providers use different Go versions, and mismatches can lead to build failures due to incompatible toolchain versions.

Manual testing was conducted by dispatching the workflow against repositories with and without a defined Go version in their config:

  • AWS (with Go version specified): [Logs]
  • GCP (without): [Logs]

Relevant Issues (optional)

Closes #1382.

@rquitales rquitales added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label Feb 20, 2025
@rquitales rquitales requested review from t0yv0, danielrbradley and a team February 20, 2025 21:31
@rquitales rquitales self-assigned this Feb 20, 2025
@rquitales rquitales force-pushed the rquitales/use-provider-go-version branch from 8b9e23a to bba88f9 Compare February 20, 2025 21:42
@rquitales rquitales force-pushed the rquitales/use-provider-go-version branch from bba88f9 to bd4d85e Compare February 20, 2025 21:43
@rquitales rquitales enabled auto-merge February 20, 2025 21:43
@rquitales rquitales added this pull request to the merge queue Feb 20, 2025
Merged via the queue into master with commit 4ee4b16 Feb 20, 2025
6 checks passed
@rquitales rquitales deleted the rquitales/use-provider-go-version branch February 20, 2025 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workflow failure: Update GH workflows, ecosystem providers
2 participants