Skip to content

feat: add bounded Timeweb provision-test-destroy workflow - #3

Merged
justgithubaccount merged 5 commits into
mainfrom
codex/timeweb-ephemeral-smoke
Oct 28, 2026
Merged

justgithubaccount merged 5 commits into
mainfrom
codex/timeweb-ephemeral-smoke

Conversation

@justgithubaccount

Copy link
Copy Markdown
Owner

Summary

  • use the official Timeweb provider and the provisioning module at an exact commit
  • dynamically select current Kubernetes presets instead of stale account-specific IDs
  • enforce a pre-apply 80 RUB estimate ceiling with one worker
  • add a same-job plan -> apply -> Helm deploy -> health -> destroy workflow
  • always attempt destroy after init and verify empty Terraform state
  • remove credential-like S3 values from .env.example; rotate them if they were real
  • make remote S3 state opt-in for persistent environments

Dependencies

Verification

  • bash tests/test_ephemeral_smoke.sh
  • actionlint
  • terraform fmt -check -recursive
  • terraform init -backend=false && terraform validate
  • exact-head live run: https://github.com/justgithubaccount/app-poly-gitops-infra/actions/runs/40665456997
    • head 24796db29002a6741e0a6c6b8f66d5803be5a3c4
    • Timeweb Kubernetes node reached Ready
    • Helm install succeeded
    • in-cluster /health returned {"status":"ok"}
    • Destroy complete! Resources: 3 destroyed
    • empty Terraform state verified
    • estimated two-hour ceiling: 13.78 RUB

Self-check only; no independent approval is implied.

@justgithubaccount
justgithubaccount merged commit 7f4c2c0 into main Oct 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant