-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 Improve tilt-prepare for testing providers outside of the CAPI repository #7968
🌱 Improve tilt-prepare for testing providers outside of the CAPI repository #7968
Conversation
b561da4
to
1ab74ed
Compare
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.
Nice cleanup, thx!
(Works on my machine)
/lgtm |
LGTM label has been added. Git tree hash: 47c318f24defc659b7bcacfd5f339430d8b8c6b7
|
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri 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:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
This PR allows this to specify a new field version in tilt-provider.yaml|json file
When testing providers outside of the CAPI repository with tilt, it makes sense that providers have their own version set in the provider CR, instead of all having the version used by components on the main CAPI branch.
E.g When running E2E tests for the kubemark provider with tilt in kubernetes-sigs/cluster-api-provider-kubemark#69, it is required that tilt is deployed as version v0.4.99 to match the version is in the test config file.
While changing tilt-prepare I made some little refactor to make clear what struct/func are about the tilt-settings file in the CAPI repository and what is about the the tilt-provider file in providers' repositories, but the diff is not playing out well 😅