Test passes
This commit is contained in:
parent
f37d33afbe
commit
36b78729fb
@ -172,13 +172,17 @@ def command(ctx, include, exclude, force_rebuild, extra_build_args, publish_imag
|
|||||||
container_build_env = make_container_build_env(dev_root_path,
|
container_build_env = make_container_build_env(dev_root_path,
|
||||||
container_build_dir,
|
container_build_dir,
|
||||||
opts.o.debug,
|
opts.o.debug,
|
||||||
opts.o.force_rebuild,
|
force_rebuild,
|
||||||
extra_build_args)
|
extra_build_args)
|
||||||
|
|
||||||
for container in containers_in_scope:
|
for container in containers_in_scope:
|
||||||
if include_exclude_check(container, include, exclude):
|
if include_exclude_check(container, include, exclude):
|
||||||
build_context = BuildContext(
|
build_context = BuildContext(
|
||||||
|
stack,
|
||||||
|
container,
|
||||||
|
container_build_dir,
|
||||||
|
container_build_env,
|
||||||
|
dev_root_path
|
||||||
)
|
)
|
||||||
process_container(build_context)
|
process_container(build_context)
|
||||||
else:
|
else:
|
||||||
|
@ -24,4 +24,5 @@ class BuildContext:
|
|||||||
stack: str
|
stack: str
|
||||||
container: str
|
container: str
|
||||||
container_build_dir: Path
|
container_build_dir: Path
|
||||||
container_build_env: Mapping[str,str]
|
container_build_env: Mapping[str,str]
|
||||||
|
dev_root_path: str
|
||||||
|
Loading…
Reference in New Issue
Block a user