fix: set search_path to datatracker
This commit is contained in:
parent
7b922f6a3f
commit
16ba4a438b
|
@ -24,7 +24,7 @@ chmod +x ./app-create-dirs.sh
|
|||
|
||||
if [ -n "$PGHOST" ]; then
|
||||
echo "Altering PG search path..."
|
||||
psql -U django -h $PGHOST -d ietf -v ON_ERROR_STOP=1 -c '\x' -c 'ALTER USER django set search_path=ietf_utf8,django,public;'
|
||||
psql -U django -h $PGHOST -d ietf -v ON_ERROR_STOP=1 -c '\x' -c 'ALTER USER django set search_path=datatracker,public;'
|
||||
fi
|
||||
|
||||
echo "Running Datatracker checks..."
|
||||
|
|
|
@ -18,4 +18,4 @@ chmod +x ./docker/scripts/app-create-dirs.sh
|
|||
./docker/scripts/app-create-dirs.sh
|
||||
echo "Fetching latest coverage results file..."
|
||||
curl -fsSL https://github.com/ietf-tools/datatracker/releases/download/baseline/coverage.json -o release-coverage.json
|
||||
psql -U django -h db -d ietf -v ON_ERROR_STOP=1 -c '\x' -c 'ALTER USER django set search_path=ietf_utf8,django,public;'
|
||||
psql -U django -h db -d ietf -v ON_ERROR_STOP=1 -c '\x' -c 'ALTER USER django set search_path=datatracker,public;'
|
||||
|
|
|
@ -88,7 +88,7 @@ if [ -n "$EDITOR_VSCODE" ]; then
|
|||
fi
|
||||
|
||||
# Make sure PG search path is set
|
||||
psql -U django -h db -d ietf -v ON_ERROR_STOP=1 -c '\x' -c 'ALTER USER django set search_path=ietf_utf8,django,public;'
|
||||
psql -U django -h db -d ietf -v ON_ERROR_STOP=1 -c '\x' -c 'ALTER USER django set search_path=datatracker,public;'
|
||||
|
||||
# Run memcached
|
||||
|
||||
|
|
Loading…
Reference in a new issue