Add fulldbtest support to local-docker.sh
This commit is contained in:
parent
1e76f71e3d
commit
348f70c949
2 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue