Add opentofu smoke test#483
Open
diofeher wants to merge 1 commit into
Open
Conversation
Mirrors the terraform fixture so the Smoke workflow's discover step produces a non-empty matrix when only opentofu/** files change in dependabot-core. Without this file, an opentofu-only PR caused the workflow to expand to an empty matrix and fail. Output block was recorded with --local; source.commit and the base-commit-sha values will be re-pinned in a follow-up commit once this lands at a real upstream SHA.
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.
Summary
tests/smoke-opentofu.yamland anopentofu/fixture (mirrors the existingterraform/fixture; opentofu reads.tfnatively).smoke-opentofu*.yaml, the dependabot-core Smoke workflow'sdiscoverstep produces an empty matrix when onlyopentofu/**files change, which fails the workflow. See https://github.com/dependabot/dependabot-core/actions/runs/25124115887.Notes for reviewer
output:block was recorded locally withdependabot test --local, sosource.commitand the embeddedbase-commit-shavalues are placeholders. Please run the Regenerate Test workflow (test: opentofu) after merge to pin them to the merged commit SHA.Test plan
Regenerate Test(workflow_dispatch,test: opentofu) onmainafter merge and confirm the generated PR's diff is limited tosource.commit/base-commit-shaupdates.opentofu/**and verify the Smoke workflow now expands the matrix and runs thee2ejob.