Revision 1ccd412e62311e64a171bf2e5d4cbd390e08c520 authored by Susanna Kiwala on 13 October 2015, 15:04:16 UTC, committed by Susanna Kiwala on 13 October 2015, 15:04:16 UTC
Set queue to apipe-pd and request 4 slots instead of 6 for QC runs
2 parent s 2d0736f + c41887c
Raw File
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

"$@"
back to top