mirror of https://github.com/docker/compose.git
Nicer cleanup make target for ACI resources
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
parent
7ef99e163a
commit
72377355a9
4
Makefile
4
Makefile
|
@ -105,7 +105,9 @@ publish-aci-sidecar: build-aci-sidecar ## build & publish aci sidecar image with
|
||||||
docker pull docker/aci-hostnames-sidecar:$(tag) && echo "Failure: Tag already exists" || docker push docker/aci-hostnames-sidecar:$(tag)
|
docker pull docker/aci-hostnames-sidecar:$(tag) && echo "Failure: Tag already exists" || docker push docker/aci-hostnames-sidecar:$(tag)
|
||||||
|
|
||||||
clean-aci-e2e: ## Make sure no ACI tests are currently runnnig in the CI when invoking this. Delete ACI E2E tests resources that might have leaked when ctrl-C E2E tests.
|
clean-aci-e2e: ## Make sure no ACI tests are currently runnnig in the CI when invoking this. Delete ACI E2E tests resources that might have leaked when ctrl-C E2E tests.
|
||||||
az group list | jq '.[].name' | grep E2E-Test | xargs -n1 az group delete -y --no-wait -g
|
@ echo "Will delete resource groups: "
|
||||||
|
@ az group list | jq '.[].name' | grep -i E2E-Test
|
||||||
|
az group list | jq '.[].name' | grep -i E2E-Test | xargs -n1 az group delete -y --no-wait -g
|
||||||
|
|
||||||
help: ## Show help
|
help: ## Show help
|
||||||
@echo Please specify a build target. The choices are:
|
@echo Please specify a build target. The choices are:
|
||||||
|
|
Loading…
Reference in New Issue