|
|
@@ -98,6 +98,12 @@ validate: validate-go-mod validate-headers ## Validate sources
|
|
|
|
|
|
pre-commit: cli test e2e-local lint validate
|
|
|
|
|
|
+build-aci-sidecar: ## build aci sidecar image locally and tag it with make build-aci-sidecar tag=0.1
|
|
|
+ docker build -t docker/aci-hostnames-sidecar:$(tag) aci/etchosts
|
|
|
+
|
|
|
+publish-aci-sidecar: build-aci-sidecar ## build & publish aci sidecar image with make publish-aci-sidecar tag=0.1
|
|
|
+ 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.
|
|
|
az group list | jq '.[].name' | grep E2E-Test | xargs -n1 az group delete -y --no-wait -g
|
|
|
|