Skip to content

Conversation

@xrstf
Copy link
Contributor

@xrstf xrstf commented Dec 2, 2025

Summary

setup-envtest has two drawbacks:

  • it marks all generated files and directories as read-only, making cleanup annoying
  • after cleaning up, setting up the envtest again requires it to download the full tar.gz again.

Both problems can easily by solved by just using µget, which will keep the files deletable, has its own checksumming mechanism, reduces dependence on GitHub and, using UGET_CACHE, can have a system-wide cache so a make clean-tools test-e2e does not have to download anything at all.

What Type of PR Is This?

/kind cleanup

Release Notes

NONE

@kcp-ci-bot kcp-ci-bot added release-note-none Denotes a PR that doesn't merit a release note. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. dco-signoff: yes Indicates the PR's author has signed the DCO. labels Dec 2, 2025
@xrstf xrstf changed the title replace envtest with µget replace setup-envtest with µget Dec 2, 2025
@kcp-ci-bot kcp-ci-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 2, 2025
@xrstf
Copy link
Contributor Author

xrstf commented Dec 3, 2025

/retest

@xrstf xrstf requested a review from xmudrii December 3, 2025 13:57
@xrstf
Copy link
Contributor Author

xrstf commented Dec 3, 2025

/approve

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 3, 2025
Copy link
Member

@xmudrii xmudrii left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve
:shipit:

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 3, 2025
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: e1e99dc359e60e4a6b289f70e1ee17219fb5c511

@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xmudrii, xrstf

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

@kcp-ci-bot kcp-ci-bot merged commit e2dabdb into main Dec 3, 2025
11 checks passed
@kcp-ci-bot kcp-ci-bot deleted the no-more-envtest branch December 3, 2025 19:19
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. dco-signoff: yes Indicates the PR's author has signed the DCO. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. 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.

4 participants