ref(install): Reduce noise on docker-compose pull (#442)
This commit is contained in:
parent
c20956527c
commit
b2076eaeed
11
install.sh
11
install.sh
@ -101,12 +101,19 @@ if grep -xq "system.secret-key: '!!changeme!!'" $SENTRY_CONFIG_YML ; then
|
|||||||
echo "Secret key written to $SENTRY_CONFIG_YML"
|
echo "Secret key written to $SENTRY_CONFIG_YML"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Fetching and updating Docker images..."
|
||||||
|
echo ""
|
||||||
|
# We tag locally built images with an '-onpremise-local' suffix. docker-compose pull tries to pull these too and
|
||||||
|
# shows a 404 error on the console which is confusing and unnecessary. To overcome this, we add the stderr>stdout
|
||||||
|
# redirection below and pass it through grep, ignoring all lines having this '-onpremise-local' suffix.
|
||||||
|
$dc pull -q --ignore-pull-failures 2>&1 | grep -v -- -onpremise-local || true
|
||||||
|
docker pull ${SENTRY_IMAGE:-getsentry/sentry:latest}
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Building and tagging Docker images..."
|
echo "Building and tagging Docker images..."
|
||||||
echo ""
|
echo ""
|
||||||
# Build the sentry onpremise image first as it is needed for the cron image
|
# Build the sentry onpremise image first as it is needed for the cron image
|
||||||
$dc pull --ignore-pull-failures
|
|
||||||
docker pull ${SENTRY_IMAGE:-getsentry/sentry:latest}
|
|
||||||
$dc build --force-rm web
|
$dc build --force-rm web
|
||||||
$dc build --force-rm --parallel
|
$dc build --force-rm --parallel
|
||||||
echo ""
|
echo ""
|
||||||
|
Reference in New Issue
Block a user