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

🌱 test/framework: expose CopyAndAmendClusterctlConfig function #10086

Conversation

chrischdi
Copy link
Member

What this PR does / why we need it:

In CAPV we made a copy of the copyAndAmendClusterctlConfig function because it was very useful in tests.

In CAPV we use it to dynamically set a variable for different tests.

This PR makes the function CopyAndAmendClusterctlConfig and struct CopyAndAmendClusterctlConfigInput public so providers could make use of the function.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/area e2e-testing

@k8s-ci-robot k8s-ci-robot added area/e2e-testing Issues or PRs related to e2e testing cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 1, 2024
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Feb 1, 2024
@chrischdi
Copy link
Member Author

/assign sbueringer fabriziopandini

@chrischdi chrischdi force-pushed the pr-expose-copyandamendclusterctlconfig branch from c3eea6f to 78bc3a5 Compare February 2, 2024 08:22
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 2, 2024
@chrischdi chrischdi force-pushed the pr-expose-copyandamendclusterctlconfig branch 2 times, most recently from 30924fe to 28923e5 Compare February 2, 2024 11:13
@sbueringer
Copy link
Member

lgtm +/- linter

@chrischdi chrischdi force-pushed the pr-expose-copyandamendclusterctlconfig branch from 28923e5 to ed79879 Compare February 2, 2024 12:00
Copy link
Member

@fabriziopandini fabriziopandini left a comment

Choose a reason for hiding this comment

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

just one nit from my side

test/framework/clusterctl/repository.go Outdated Show resolved Hide resolved
@chrischdi chrischdi force-pushed the pr-expose-copyandamendclusterctlconfig branch from ed79879 to da0ff64 Compare February 5, 2024 15:53
@sbueringer
Copy link
Member

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 5, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 7b7954d8c17d154555aa5fdc1fc72d9df06a5df7

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sbueringer

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 5, 2024
@k8s-ci-robot k8s-ci-robot merged commit 97782fe into kubernetes-sigs:main Feb 5, 2024
20 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.7 milestone Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/e2e-testing Issues or PRs related to e2e testing cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants