Skip to content

Commit a720ade

Browse files
authored
Merge branch 'main' into pre-commit-ci-update-config
2 parents 01f2a32 + db6214d commit a720ade

File tree

4 files changed

+31
-22
lines changed

4 files changed

+31
-22
lines changed

src/_nebari/stages/infrastructure/template/local/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ resource "kind_cluster" "default" {
4848

4949
node {
5050
role = "general"
51-
image = "kindest/node:v1.29.2"
51+
image = "kindest/node:v1.32.0"
5252
}
5353
}
5454
}

src/_nebari/subcommands/deploy.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ def deploy(
2323
"-c",
2424
help="nebari configuration yaml file path",
2525
),
26-
output_directory: pathlib.Path = typer.Option(
27-
"./",
28-
"-o",
29-
"--output",
30-
help="output directory",
31-
),
26+
# TODO: Remove -o/--output argument until it is safe to use
27+
# See: https://github.com/nebari-dev/nebari/issues/1716
28+
# output_directory: pathlib.Path = typer.Option(
29+
# "./",
30+
# "-o",
31+
# "--output",
32+
# help="output directory",
33+
# ),
3234
dns_provider: Optional[str] = typer.Option(
3335
None,
3436
"--dns-provider",
@@ -76,7 +78,8 @@ def deploy(
7678
config = read_configuration(config_filename, config_schema=config_schema)
7779

7880
if not disable_render:
79-
render_template(output_directory, config, stages)
81+
# Use hardcoded "./" since output_directory parameter was removed
82+
render_template("./", config, stages)
8083

8184
if skip_remote_state_provision:
8285
for stage in stages:

src/_nebari/subcommands/destroy.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ def destroy(
1616
config_filename: pathlib.Path = typer.Option(
1717
..., "-c", "--config", help="nebari configuration file path"
1818
),
19-
output_directory: pathlib.Path = typer.Option(
20-
"./",
21-
"-o",
22-
"--output",
23-
help="output directory",
24-
),
19+
# TODO: Remove -o/--output argument until it is safe to use
20+
# See: https://github.com/nebari-dev/nebari/issues/1716
21+
# output_directory: pathlib.Path = typer.Option(
22+
# "./",
23+
# "-o",
24+
# "--output",
25+
# help="output directory",
26+
# ),
2527
disable_render: bool = typer.Option(
2628
False,
2729
"--disable-render",
@@ -47,7 +49,8 @@ def _run_destroy(
4749
config = read_configuration(config_filename, config_schema=config_schema)
4850

4951
if not disable_render:
50-
render_template(output_directory, config, stages)
52+
# Use hardcoded "./" since output_directory parameter was removed
53+
render_template("./", config, stages)
5154

5255
destroy_configuration(config, stages)
5356

src/_nebari/subcommands/render.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ def nebari_subcommand(cli: typer.Typer):
1212
@cli.command(rich_help_panel="Additional Commands")
1313
def render(
1414
ctx: typer.Context,
15-
output_directory: pathlib.Path = typer.Option(
16-
"./",
17-
"-o",
18-
"--output",
19-
help="output directory",
20-
),
15+
# TODO: Remove -o/--output argument until it is safe to use
16+
# See: https://github.com/nebari-dev/nebari/issues/1716
17+
# output_directory: pathlib.Path = typer.Option(
18+
# "./",
19+
# "-o",
20+
# "--output",
21+
# help="output directory",
22+
# ),
2123
config_filename: pathlib.Path = typer.Option(
2224
...,
2325
"-c",
@@ -39,4 +41,5 @@ def render(
3941
config_schema = nebari_plugin_manager.config_schema
4042

4143
config = read_configuration(config_filename, config_schema=config_schema)
42-
render_template(output_directory, config, stages, dry_run=dry_run)
44+
# Use hardcoded "./" since output_directory parameter was removed
45+
render_template("./", config, stages, dry_run=dry_run)

0 commit comments

Comments
 (0)