Add fulldbtest support to local-docker.sh

This commit is contained in:
Matt Jibson 2015-10-21 15:33:48 -04:00
parent 1e76f71e3d
commit 348f70c949
2 changed files with 9 additions and 1 deletions

View file

@ -7,7 +7,7 @@ REPO=quay.io/quay/quay-dev
d ()
{
docker build -t $REPO -f dev.df .
docker -- run --rm -it --net=host -v $(pwd)/..:/src $REPO $*
docker -- run --rm -v /var/run/docker.sock:/run/docker.sock -it --net=host -v $(pwd)/..:/src $REPO $*
}
case $1 in
@ -27,6 +27,9 @@ initdb)
rm -f test/data/test.db
d /venv/bin/python initdb.py
;;
fulldbtest)
d bash /src/quay/test/fulldbtest.sh
;;
*)
echo "unknown option"
exit 1