aboutsummaryrefslogtreecommitdiffstats
path: root/deploy.py
diff options
context:
space:
mode:
authorLMBishop <13875753+LMBishop@users.noreply.github.com>2022-11-20 22:50:10 +0000
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2022-11-20 22:50:10 +0000
commite4367180c67085611b995e1539f0995be05d0308 (patch)
treec88654b9358a8d69db1e82b7ca9df220a26f497e /deploy.py
parent19c90d94c998036c3df0575105dc29fed0bb4313 (diff)
Add prompt for install
Diffstat (limited to 'deploy.py')
-rwxr-xr-xdeploy.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy.py b/deploy.py
index 5d0b0a2..75bbabf 100755
--- a/deploy.py
+++ b/deploy.py
@@ -4,6 +4,7 @@ import os
from util.runners import run_step
from util.exceptions import StepFailedError
from util.helpers import check_preconditions
+from util.prompt import query_yes_no
import yaml
from termcolor import colored
@@ -46,6 +47,9 @@ print("Sections to run: " + ", ".join(
))
print()
+if not query_yes_no("Proceed with install?", False):
+ exit(1)
+
section_count = 0
total = len(sections.keys())
notes = {}