feat(ci-lease): reuse_account_id to skip acquire/release while debugging#401
Merged
Conversation
… debug
We're churning leases hard while iterating on the CFN deploy. Each
failed run burns a pool account (Available -> Active -> CleanUp cycle).
Add a workflow_dispatch input that takes a pre-existing leased account
ID; the workflow skips acquire+release and just runs:
assume CIDeployRole -> deploy -> smoke
Usage during iteration:
isb assign # gets a lease, prints account_id
gh workflow run scenario-council-chatbot.yml \\
--ref main \\
-f reuse_account_id=<that-id>
# iterate as many times as needed against the same account
isb terminate # release when done
Lease isn't released by the workflow — operator's responsibility.
Janitor still picks up genuine orphans (>3h old).
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.
Add a workflow_dispatch input that reuses an existing lease. Stop burning accounts during CFN iteration.