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:
Nicolas De Loof
2021-05-27 12:10:37 +02:00
parent 2605aae33f
commit 3aaec6a554
12 changed files with 85 additions and 60 deletions

View File

@@ -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