Merge pull request #602 from coreos-inc/initdb
Add initdb to local-docker.sh
This commit is contained in:
commit
5ab8ca04b6
2 changed files with 5 additions and 0 deletions
|
@ -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:
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue