Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Resolve #1493] Complete DisableRollback implementation #1494

Merged

Conversation

alex-harvey-z3q
Copy link
Contributor

@alex-harvey-z3q alex-harvey-z3q commented Aug 3, 2024

This adds missing code to complete the implementation of the DisableRollback feature.

The implementation in 99c839a began this feature by adding disable rollback to the create and update CLI commands, but it was forgotten to update the stack actions.

This adds the missing code and another unit test.

PR Checklist

  • Wrote a good commit message & description [see guide below].
  • Commit message starts with [Resolve #issue-number].
  • Added/Updated unit tests.
  • Added/Updated integration tests (if applicable).
  • All unit tests (poetry run tox) are passing.
  • Used the same coding conventions as the rest of the project.
  • The new code passes pre-commit validations (poetry run pre-commit run --all-files).
  • The PR relates to only one subject with a clear title.
    and description in grammatically correct, complete sentences.

Approver/Reviewer Checklist

  • Before merge squash related commits.

Other Information

Guide to writing a good commit

alex-harvey-z3q and others added 2 commits August 3, 2024 17:21
This adds missing code to complete the implementation of the
DisableRollback feature.

The implementation in 99c839a is clear that it was intended that this
feature would cover both cases of creating and updating stacks, and this
code and unit test was missed.
@alex-harvey-z3q
Copy link
Contributor Author

sceptre/cli/update.py Show resolved Hide resolved
sceptre/plan/actions.py Show resolved Hide resolved
@alex-harvey-z3q alex-harvey-z3q merged commit ed67151 into Sceptre:master Aug 25, 2024
12 checks passed
@alex-harvey-z3q alex-harvey-z3q deleted the ah/1493-disable-rolback branch August 25, 2024 14:18
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.

2 participants