Skip to content

Track opentofu releases, not tags, in Renovate - #119

Merged
berendt merged 1 commit into
mainfrom
fix/opentofu-renovate-datasource
Nov 4, 2026
Merged

berendt merged 1 commit into
mainfrom
fix/opentofu-renovate-datasource

Conversation

@ideaship

@ideaship ideaship commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

The validate playbook downloads tofu_<version>_linux_amd64.zip from 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, and terraform-base-validate-testbed-default fails in "Get opentofu binary" with Invalid archive ... the file is 0 bytes.

That is happening now: the tags v1.13.3, v1.13.4 and v1.13.5 have existed since 2026-10-29, but the latest published release is still v1.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 both Makefile and playbooks/pre.yml.

Once this merges, Renovate should rebase #118 back down to the latest real release or close it.

🤖 Generated with Claude Code

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>
@ideaship ideaship self-assigned this Nov 3, 2026
@ideaship
ideaship marked this pull request as ready for review November 3, 2026 12:16
@ideaship
ideaship requested a review from berendt November 3, 2026 12:16
@berendt
berendt merged commit e08fecd into main Nov 4, 2026
3 checks passed
@berendt
berendt deleted the fix/opentofu-renovate-datasource branch November 4, 2026 09:25
@github-project-automation github-project-automation Bot moved this from New to Done in Human Board Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants