From 15e8edca3c6853a7c48cffce9eee00486a8a84c0 Mon Sep 17 00:00:00 2001 From: Nao YONASHIRO Date: Wed, 28 Aug 2019 05:53:46 +0900 Subject: [PATCH] feat: add a warning if someone uses the --compress or --parallel flag Signed-off-by: Nao YONASHIRO --- compose/project.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compose/project.py b/compose/project.py index d41bcc8af..bbaa1094e 100644 --- a/compose/project.py +++ b/compose/project.py @@ -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)