ci: alter pg search path on sandbox deploy

This commit is contained in:
Nicolas Giard 2023-02-13 18:47:23 -05:00 committed by GitHub
parent 7a86a1c2cb
commit f0482363ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,10 @@ pip --disable-pip-version-check --no-cache-dir install -r requirements.txt
echo "Creating data directories..."
chmod +x ./app-create-dirs.sh
./app-create-dirs.sh
echo "Altering PG search path..."
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;'
echo "Running Datatracker checks..."
./ietf/manage.py check