Skip to content

Commit a633c9a

Browse files
committed
feat: add a warning if someone uses the --compress or --parallel flag
1 parent dc17a02 commit a633c9a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

compose/project.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,10 @@ def build(self, service_names=None, no_cache=False, pull=False, force_rm=False,
366366

367367
if cli:
368368
log.warning("Native build is an experimental feature and could change at any time")
369+
if parallel_build:
370+
log.warning("unavailable --parallel on COMPOSE_NATIVE_BUILDER=1")
371+
if gzip:
372+
log.warning("unavailable --compress on COMPOSE_NATIVE_BUILDER=1")
369373

370374
def build_service(service):
371375
service.build(no_cache, pull, force_rm, memory, build_args, gzip, rm, silent, cli)

0 commit comments

Comments
 (0)