ci-opentofu-tests
Runs the OpenTofu module tests in hosted CI, beside make test in .amadan/ci.d/10-gate, and locally with make tofu-test.
- What runs.
.amadan/opentofu.shwalksinfra/for every*.tftest.hcl(35 files today), initialises each module once and runs each file as its owntofu test -filter, eight at a time. A file passes only with its own "pass" line and "Success! N passed, 0 failed." for N > 0, so a filter that matches nothing or a skipped run fails. - No AWS. Mock providers only; AWS credential and profile variables unset, shared config files
/dev/null, instance metadata off. The tests run in a scratch copy ofinfra/, so nothing is written there while the census reads it. - Pins. OpenTofu 1.13.9 (1.13 is the first to accept instance keys in
override_datatargets, which region-host's tests use), hashicorp/aws 6.73.0, hashicorp/archive 2.8.1, sha256-checked from our CI mirror; no public registry at run time. - Go tests that shell out to tofu (
TestRegionGroupUserDataOpenTofu, media'sTestModuleRenderIsCurrent) now fail in CI when tofu is missing instead of skipping; locally they still skip. - One test fix.
mailer_group.tftest.hcl's AMI override dropsmost_recent, which OpenTofu 1.13 refuses to override. Census unit approved by Astra on #280; re-pinned on the merge of main. - AGENTS.md notes the suite and its pins.
🤖 Generated with Claude Code
Human
OpenTofu module tests in hosted CI: pinned tofu 1.13.9 and providers from our mirror, beside make test
Commits
6
Discussions
0
0 open
Tasks
0/0
done
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- paul@keymail.dev pushed c2fa80f28 Merge main into ci-opentofu-tests; census re-pin
- paul@keymail.dev pushed 6a62ab390 census: Astra approves ci-opentofu-tests (mailer_group test file)
- paul@keymail.dev pushed 4d35fbabc census: review brief for ci-opentofu-tests (mailer_group test file)
- paul@keymail.dev pushed e01957115 Merge main into ci-opentofu-tests; media render test runs in CI
- paul@keymail.dev pushed 80e9995ad ci: OpenTofu module tests beside make test, pinned and mirrored
- paul@keymail.dev pushed 4c600fff0 tofu tests: mailer_group's AMI override drops most_recent