Repository navigation
Track opentofu releases, not tags, in Renovate - #119
Merged
Merged
Conversation
The validate playbook downloads the release asset tofu_<version>_linux_amd64.zip from the opentofu GitHub release. Renovate watched the opentofu/opentofu git tags instead, but opentofu pushes tags before it publishes the matching release. Renovate then proposes versions whose asset does not exist yet: the download returns 404, and the unarchive task fails with "the file is 0 bytes" in the "Get opentofu binary" step. Switch the Renovate datasource to github-releases, so only versions with a published release are proposed. osism/testbed pins opentofu the same way. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Roger Luethi <luethi@osism.tech>
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.
The validate playbook downloads
tofu_<version>_linux_amd64.zipfrom the opentofu GitHub release, but Renovate watched opentofu's git tags. opentofu pushes tags before it publishes the release, so Renovate proposes versions that have no downloadable file yet. The download returns 404, andterraform-base-validate-testbed-defaultfails in "Get opentofu binary" withInvalid archive ... the file is 0 bytes.That is happening now: the tags
v1.13.3,v1.13.4andv1.13.5have existed since 2026-10-29, but the latest published release is stillv1.13.2. The Renovate PR for 1.13.5 fails its check for this reason:This PR switches the datasource to
github-releases, so Renovate only proposes versions that have a published release. The pinned version stays at 1.13.2. osism/testbed already pins opentofu this way, in bothMakefileandplaybooks/pre.yml.Once this merges, Renovate should rebase #118 back down to the latest real release or close it.
🤖 Generated with Claude Code