Skip to content

Commit

Permalink
Add cleanup step for AWS integration test, ensure diable_prompt is pa…
Browse files Browse the repository at this point in the history
…ssed through (#1921)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
iameskild and pre-commit-ci[bot] authored Aug 22, 2023
1 parent 735a0ca commit 50487a3
Show file tree
Hide file tree
Showing 16 changed files with 995 additions and 140 deletions.
5 changes: 1 addition & 4 deletions src/_nebari/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@
def deploy_configuration(
config: schema.Main,
stages: List[hookspecs.NebariStage],
dns_provider,
dns_auto_provision,
disable_prompt: bool = False,
disable_checks: bool = False,
skip_remote_state_provision: bool = False,
):
if config.prevent_deploy:
raise ValueError(
Expand Down Expand Up @@ -53,7 +50,7 @@ def deploy_configuration(
with contextlib.ExitStack() as stack:
for stage in stages:
s = stage(output_directory=pathlib.Path.cwd(), config=config)
stack.enter_context(s.deploy(stage_outputs))
stack.enter_context(s.deploy(stage_outputs, disable_prompt))

if not disable_checks:
s.check(stage_outputs)
Expand Down
Loading

0 comments on commit 50487a3

Please sign in to comment.