File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33# Send a lightweight, anonymous analytics ping (version + platform) to help us
44# understand adoption of this image. Opt out with PACT_DO_NOT_TRACK or
55# SCARF_NO_ANALYTICS. See https://docs.pact.io/telemetry for details.
6- if [ -z " ${PACT_DO_NOT_TRACK} " ] && [ -z " ${SCARF_NO_ANALYTICS} " ]; then
7- wget -q -T 2 -O /dev/null " https://d.pactflow.io/pact-broker-docker/${PACT_BROKER_DOCKER_VERSION} /${PACT_BROKER_DOCKER_PLATFORM} " > /dev/null 2>&1 &
6+ if [ -z " ${PACT_DO_NOT_TRACK:- } " ] && [ -z " ${SCARF_NO_ANALYTICS:- } " ] \
7+ && [ -n " ${PACT_BROKER_DOCKER_VERSION:- } " ] && [ -n " ${PACT_BROKER_DOCKER_PLATFORM:- } " ]; then
8+ wget -q -T 2 -t 1 -O /dev/null " https://d.pactflow.io/pact-broker-docker/${PACT_BROKER_DOCKER_VERSION} /${PACT_BROKER_DOCKER_PLATFORM} " > /dev/null 2>&1 &
89fi
910
1011if [ " ${PACT_BROKER_DATABASE_CLEAN_ENABLED} " = " true" ]; then
You can’t perform that action at this time.
0 commit comments