Revision ed13d283a9380a7acd35559bdedf3df18f759b01 authored by Thomas B. Mooney on 15 May 2018, 13:22:03 UTC, committed by GitHub on 15 May 2018, 13:22:03 UTC
Convert print to debug message and show only when true.
fill_db
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
DS_GMSCHEMA_SERVER=`genome config get ds_gmschema_server`
if ! echo "$DS_GMSCHEMA_SERVER" | grep -q apipe-test-db
then
echo "ERROR: make sure you ran genome-env before $0"
exit 1
fi
eval `genome config set-env test_filldb "dbi:Pg:$DS_GMSCHEMA_SERVER;user=genome;password=mypassword"`
#Force the environment to look up the values for the production db
for ENV in XGENOME_DS_GMSCHEMA_LOGIN XGENOME_DS_GMSCHEMA_AUTH XGENOME_DS_GMSCHEMA_SERVER;
do
unset $ENV
done
"$@"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...