feat(envtest): update envtest binaries to v1.37.0 and add documentation #135

Open
paperclip wants to merge 1 commit from feat/update-envtest-1.37 into main
Contributor

Description

This PR updates the envtest binaries to include Kubernetes 1.37 and extends the README with documentation on where the envtest assets originate, how they are used within the Bazel build system, and how to update them in the future.

Changes

  • Binaries (build/envtest/releases.bzl): Updated release definitions with latest versions from upstream envtest-releases.yaml, including v1.36.2 and v1.37.0 across darwin_amd64, darwin_arm64, linux_amd64, and linux_arm64 with valid SHA-512 SRI hashes.
  • Module Configuration (MODULE.bazel, MODULE.bazel.lock): Updated active envtest version to v1.37.0 to align with the Kubernetes 1.37 dependencies in go.mod.
  • Generator (build/envtest/cmd/main.go, build/envtest/generator/generator.go): Updated generator template to include buildifier module docstrings and standard source URL pointing to main branch.
  • Documentation (README.md): Added a dedicated section explaining EnvTest assets origin (controller-tools upstream releases and envtest-releases.yaml), hermetic Bazel module extension usage, and step-by-step instructions on updating binaries.
## Description This PR updates the envtest binaries to include Kubernetes 1.37 and extends the README with documentation on where the envtest assets originate, how they are used within the Bazel build system, and how to update them in the future. ### Changes - **Binaries (`build/envtest/releases.bzl`):** Updated release definitions with latest versions from upstream `envtest-releases.yaml`, including `v1.36.2` and `v1.37.0` across `darwin_amd64`, `darwin_arm64`, `linux_amd64`, and `linux_arm64` with valid SHA-512 SRI hashes. - **Module Configuration (`MODULE.bazel`, `MODULE.bazel.lock`):** Updated active envtest version to `v1.37.0` to align with the Kubernetes 1.37 dependencies in `go.mod`. - **Generator (`build/envtest/cmd/main.go`, `build/envtest/generator/generator.go`):** Updated generator template to include buildifier module docstrings and standard source URL pointing to `main` branch. - **Documentation (`README.md`):** Added a dedicated section explaining EnvTest assets origin (controller-tools upstream releases and `envtest-releases.yaml`), hermetic Bazel module extension usage, and step-by-step instructions on updating binaries.
feat(envtest): update envtest binaries to v1.37.0 and add documentation
Some checks failed
Go / release (pull_request) Has been cancelled
633410c794
- Update build/envtest/releases.bzl with latest releases including v1.37.0 and v1.36.2
- Update MODULE.bazel and MODULE.bazel.lock to use envtest v1.37.0
- Update build/envtest generator template and cmd releasesURL
- Extend README.md with documentation describing envtest asset sources, how they are used, and how to update them
docs(readme): clarify envtest runfiles resolution and add lockfile update step
Some checks failed
Go / release (pull_request) Has been cancelled
c99d64d016
prskr force-pushed feat/update-envtest-1.37 from c99d64d016
Some checks failed
Go / release (pull_request) Has been cancelled
to 07e2de835a
Some checks failed
Go / release (pull_request) Has been cancelled
2026-10-14 17:28:02 +00:00
Compare
prskr force-pushed feat/update-envtest-1.37 from 07e2de835a
Some checks failed
Go / release (pull_request) Has been cancelled
to 29c6a2aacf
Some checks failed
Validate / validate (pull_request) Failing after 5m47s
2026-10-14 18:49:50 +00:00
Compare
Some checks failed
Validate / validate (pull_request) Failing after 5m47s
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/update-envtest-1.37:feat/update-envtest-1.37
git switch feat/update-envtest-1.37
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
prskr/meilisearch-operator!135
No description provided.