mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-26 23:59:58 +00:00
## Problem The trust connection to the compute required for `pg_anon` was removed. However, the PGPASSWORD environment variable was not added to `docker-compose.yml`. This caused connection errors, which were interpreted as success due to errors in the bash script. ## Summary of changes The environment variable was added, and the logic in the bash script was fixed.
18 lines
416 B
Bash
18 lines
416 B
Bash
#!/bin/bash
|
|
set -x
|
|
|
|
cd /ext-src || exit 2
|
|
FAILED=
|
|
LIST=$( (echo -e "${SKIP//","/"\n"}"; ls -d -- *-src) | sort | uniq -u)
|
|
for d in ${LIST}
|
|
do
|
|
[ -d "${d}" ] || continue
|
|
if ! psql -w -c "select 1" >/dev/null; then
|
|
FAILED="${d} ${FAILED}"
|
|
break
|
|
fi
|
|
USE_PGXS=1 make -C "${d}" installcheck || FAILED="${d} ${FAILED}"
|
|
done
|
|
[ -z "${FAILED}" ] && exit 0
|
|
echo "${FAILED}"
|
|
exit 1 |