mirror of
https://github.com/docker/compose.git
synced 2026-02-09 01:59:22 +08:00
split compose-cli "docker" and composeV2 cli-plugin release processes
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
9
Makefile
9
Makefile
@@ -31,7 +31,7 @@ else
|
||||
TEST_FLAGS=-run $(E2E_TEST)
|
||||
endif
|
||||
|
||||
all: cli
|
||||
all: cli compose-plugin
|
||||
|
||||
protos: ## Generate go code from .proto files
|
||||
@docker build . --target protos \
|
||||
@@ -44,6 +44,13 @@ cli: ## Compile the cli
|
||||
--build-arg GIT_TAG=$(GIT_TAG) \
|
||||
--output ./bin
|
||||
|
||||
compose-plugin: ## Compile the compose cli-plugin
|
||||
@docker build . --target compose-plugin \
|
||||
--platform local \
|
||||
--build-arg BUILD_TAGS=e2e,kube \
|
||||
--build-arg GIT_TAG=$(GIT_TAG) \
|
||||
--output ./bin
|
||||
|
||||
e2e-local: ## Run End to end local tests. Set E2E_TEST=TestName to run a single test
|
||||
gotestsum $(TEST_FLAGS) ./local/e2e/compose ./local/e2e/container ./local/e2e/cli-only -- -count=1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user