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

🐛 Fix CI Cleanup #776

Merged
merged 5 commits into from
Jun 28, 2024
Merged

🐛 Fix CI Cleanup #776

merged 5 commits into from
Jun 28, 2024

Conversation

cprivitere
Copy link
Member

@cprivitere cprivitere commented Jun 26, 2024

What this PR does / why we need it: #775 added CI cleanup support for Equinix Metal Load Balancer objects but didn't pass along the tokenexchanger needed to authenticate to delete those objects. This PR makes the tokenexchanger a public variable so it can be passed along and passes it to the emlb calls to delete the load balancer objects. While I was in there, I also made the CI Cleanup action runnable on demand which helps with testing and lets us manually run the CI cleanup in case it's necessary in the future.

I could use some confirmation that making TokenExchanger public isn't a big deal.

Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 26, 2024
Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
cmd/ci-clean/main.go Outdated Show resolved Hide resolved
Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cprivitere, ctreatma

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

@cprivitere cprivitere merged commit fa95e86 into kubernetes-sigs:main Jun 28, 2024
4 of 5 checks passed
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. 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