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

feat: bump provider versions with updatecli #796

Conversation

salasberryfin
Copy link
Contributor

@salasberryfin salasberryfin commented Oct 21, 2024

What this PR does / why we need it:

This PR adds a new updatecli GitHub Action that is executed daily to check for new releases of the CAPI projects we ship with Turtles. If a new release is found that does not match the one specified in ./internal/controllers/clusterctl/config.yaml, it will update it and create a PR with all the changes.

With this workflow, the idea is that we can use the existing GitHub Actions from the forked repositories to create new releases, then in the scheduled execution of the updatecli action, it will create a PR to bump the version in the configuration file.

Which issue(s) this PR fixes:
Fixes #795

Special notes for your reviewer:

Providers that are released as part of core CAPI (CAPD, CBPK) are all updated from the same target, pending #794.

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

Copy link
Contributor

@furkatgofurov7 furkatgofurov7 left a comment

Choose a reason for hiding this comment

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

Looks good, although interested to know if there was a way to test this somehow beforehand

updatecli/updatecli.d/manifest.yaml Show resolved Hide resolved
@salasberryfin salasberryfin requested a review from a team October 22, 2024 10:43
Copy link
Contributor

@Danil-Grigorev Danil-Grigorev left a comment

Choose a reason for hiding this comment

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

Thanks!

@salasberryfin salasberryfin merged commit 36ff7e7 into rancher:main Oct 22, 2024
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automate provider version bumps
3 participants