Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit a1679bd

Browse files
committed
Do not hide Docker errors
1 parent 9851983 commit a1679bd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

nancy_run.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,8 +1217,13 @@ trap cleanup_and_exit 1 2 13 15 EXIT
12171217

12181218
if [[ "$RUN_ON" == "localhost" ]]; then
12191219
if [[ -z ${CONTAINER_ID+x} ]]; then
1220+
msg "Pulling the Docker image (postgresmen/postgres-nancy:${PG_VERSION})..."
12201221
docker pull "postgresmen/postgres-nancy:${PG_VERSION}" 2>&1 \
1221-
| grep -e 'Pulling from' -e Digest -e Status -e Error
1222+
| grep -v Waiting \
1223+
| grep -v Pulling \
1224+
| grep -v Verifying \
1225+
| grep -v "Already exists" \
1226+
| grep -v " complete"
12221227

12231228
if [[ ! -z ${DB_LOCAL_PGDATA+x} ]] || [[ ! -z ${PGDATA_DIR+x} ]]; then
12241229
if [[ ! -z ${DB_LOCAL_PGDATA+x} ]]; then

0 commit comments

Comments
 (0)