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

Add confirmation checks and check for deployed SREs before teardown operations #2266

Merged
merged 31 commits into from
Oct 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
423ffc5
Prevent SHM teardown if SRE is deployed
craddm Oct 23, 2024
600f931
Fix linting
craddm Oct 23, 2024
60f2897
Merge branch 'alan-turing-institute:develop' into shm-check
craddm Oct 24, 2024
fce9f57
Merge remote-tracking branch 'upstream/develop' into shm-check
craddm Oct 28, 2024
754faf2
Add confirmation step to SHM teardown
craddm Oct 28, 2024
f2c1fa1
Ask for confirmation before doing anything
craddm Oct 28, 2024
c1e488f
Add confirmation step to SRE teardown
craddm Oct 28, 2024
5672736
Move SHM teardown confirmation after config retrieval
craddm Oct 28, 2024
59ca7b0
Fix linting
craddm Oct 28, 2024
20a8722
remove superfluous pulumi reference
craddm Oct 28, 2024
7803354
Fix tests for teardown
craddm Oct 29, 2024
becfeae
use runner input instead of patching confirm
craddm Oct 29, 2024
418b791
remove unnecessary import
craddm Oct 29, 2024
f124e9c
Use runner for input and add test for when SREs are deployed
craddm Oct 29, 2024
f8bc2c7
Merge branch 'develop' into shm-check
craddm Oct 29, 2024
309f621
Add test of SRE teardown cancellation
craddm Oct 29, 2024
58c4880
remove unnecessary import and mocker
craddm Oct 29, 2024
597fa1d
Fix linting
craddm Oct 29, 2024
bb89362
Remove unnecessary mocker
craddm Oct 29, 2024
2e9746a
Print confirmation of cancellation to user rather than log
craddm Oct 29, 2024
44ee3f7
Default to false and stopping teardown
craddm Oct 29, 2024
f65b9bc
Add test for user SHM teardown cancellation
craddm Oct 29, 2024
05b6962
add remote_fails pulumi config fixture
craddm Oct 29, 2024
22d7f3b
add test for no pulumi config
craddm Oct 29, 2024
db0448a
Catch errors when no pulumi config present
craddm Oct 29, 2024
daa2015
Catch errors when no SHM is deployed
craddm Oct 30, 2024
c4d50b0
fix linting
craddm Oct 30, 2024
1096cd5
fix tests
craddm Oct 30, 2024
6111140
Check if pulumi config exists rather than catch errors
craddm Oct 30, 2024
29fa7f5
add pulumi config remote_exists fixture
craddm Oct 30, 2024
938bc78
fix linting
craddm Oct 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'alan-turing-institute:develop' into shm-check
  • Loading branch information
craddm authored Oct 24, 2024
commit 60f2897934858d38e0a72b3075ca0a3d7a129760

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.