Build locally if docker-test container image does not exist

This should make it easier to bump the golang version
dependabot/go_modules/go.uber.org/atomic-1.10.0
Manuel Rüger 2021-12-17 23:02:26 +01:00
parent ce50f68166
commit 9404d523b8
1 changed files with 4 additions and 1 deletions

View File

@ -107,7 +107,10 @@ test-full:
$(info log-file: test-$(TEST_SUFFIX).log)
PASSES="fmt build release unit integration functional e2e grpcproxy" ./test.sh 2<&1 | tee test-$(TEST_SUFFIX).log
docker-test:
ensure-docker-test-image-exists:
make push-docker-test || echo "WARNING: Container Image not found in registry, building locally"; make build-docker-test
docker-test: ensure-docker-test-image-exists
$(info GO_VERSION: $(GO_VERSION))
$(info ETCD_VERSION: $(ETCD_VERSION))
$(info TEST_OPTS: $(TEST_OPTS))