fix(envtest): resolve build failure caused by deprecated kubebuilder-tools download#1589
Merged
dkwon17 merged 1 commit intodevfile:mainfrom Feb 11, 2026
Conversation
…tools download fix build failure caused by old kubebuilder binaries not being able to download via legacy GCS buckets, which are now returning 401 Switch to setup-envtest latest installer Signed-off-by: Rohan Kumar <rohaan@redhat.com>
|
Skipping CI for Draft Pull Request. |
Merged
3 tasks
dkwon17
approved these changes
Feb 11, 2026
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dkwon17, rohanKanojia The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Recently build started failing on CI all of a sudden due to this error:
Initially, the issue was not reproducible locally because the envtest binaries were already present in the local cache. After clearing the cache, the build now fails locally as well, confirming that the pinned version relies on a deprecated download source.
The build fails during envtest setup because the currently pinned
setup-envtestpseudo-version (v0.0.0-20240320141353-395cfc7486e6) relies on a deprecated artifact source (GCS bucket). The kubebuilder tools GCS bucket has been deprecated and maintainers no longer guarantee artifacts will be published there (see https://github.com/kubernetes-sigs/kubebuilder/releases/tag/v4.2.0).Update the
ENVTEST_VERSIONin the Makefile.What issues does this PR fix or reference?
It aims to fix CI failure in GitHub actions.
Is it tested? How?
make testshould pass after this change.PR Checklist
/test v8-devworkspace-operator-e2e, v8-che-happy-pathto trigger)v8-devworkspace-operator-e2e: DevWorkspace e2e testv8-che-happy-path: Happy path for verification integration with Che