Skip to content
Snippets Groups Projects
Commit a97b82b8 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

If package starts with bob.db, then download auxiliary files before shipping it

parent 99d4e626
No related branches found
No related tags found
No related merge requests found
...@@ -4,3 +4,12 @@ ...@@ -4,3 +4,12 @@
source $(dirname ${0})/functions.sh source $(dirname ${0})/functions.sh
run_cmd $(dirname ${0})/before_test.sh run_cmd $(dirname ${0})/before_test.sh
# setup database locally and run `bob_dbmanage.py all download`
# if this is a database package - need auxiliary file for package
if [[ ${CI_PROJECT_NAME} == bob.db.* ]]; then
run_cmd ./bin/buildout
if [ -x ./bin/bob_dbmanage.py ]; then
run_cmd ./bin/bob_dbmanage.py all download --force;
fi
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment