Merge pull request #602 from coreos-inc/initdb

Add initdb to local-docker.sh
This commit is contained in:
Matt Jibson 2015-10-06 01:34:08 -04:00
commit 5ab8ca04b6
2 changed files with 5 additions and 0 deletions

View file

@ -34,6 +34,7 @@ To build and run a docker container, pass one argument to local-docker.sh:
- `buildman`: run the buildmanager
- `notifications`: run the notification worker
- `test`: run the unit tests
- `initdb`: clear and initialize the test database
For example:

View file

@ -23,6 +23,10 @@ notifications)
test)
d bash /src/quay/local-test.sh
;;
initdb)
rm -f test/data/test.db
d /venv/bin/python initdb.py
;;
*)
echo "unknown option"
exit 1