alan-turing-institute / data-safe-haven

https://data-safe-haven.readthedocs.io
BSD 3-Clause "New" or "Revised" License
61 stars 15 forks source link

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

Closed craddm closed 2 weeks ago

craddm commented 2 weeks ago

:white_check_mark: Checklist

:vertical_traffic_light: Depends on

:arrow_heading_up: Summary

Prevents SHM teardown if an SRE linked to the current SHM is deployed, and adds a confirmation step before teardown image

Adds a confirmation step before SRE teardown image

:closed_umbrella: Related issues

Closes #2252

:microscope: Tests

Tested locally

github-actions[bot] commented 2 weeks ago

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  data_safe_haven/commands
  shm.py 156-157
  sre.py
  data_safe_haven/infrastructure/programs
  imperative_shm.py
Project Total  

This report was generated by python-coverage-comment-action