feat: add a warning if someone uses the --compress or --parallel flag

Signed-off-by: Nao YONASHIRO <yonashiro@r.recruit.co.jp>
This commit is contained in:
Nao YONASHIRO 2019-08-28 05:53:46 +09:00 committed by Ulysses Souza
parent 81e223d499
commit 15e8edca3c
1 changed files with 4 additions and 0 deletions

View File

@ -367,6 +367,10 @@ class Project(object):
if cli:
log.warning("Native build is an experimental feature and could change at any time")
if parallel_build:
log.warning("unavailable --parallel on COMPOSE_NATIVE_BUILDER=1")
if gzip:
log.warning("unavailable --compress on COMPOSE_NATIVE_BUILDER=1")
def build_service(service):
service.build(no_cache, pull, force_rm, memory, build_args, gzip, rm, silent, cli, progress)