From 33ab4d14a02f64861fa85907e684b632457f2b5e Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Tue, 20 Dec 2016 14:02:07 +0100
Subject: [PATCH] Revert "Parameterize before_deploy to get non-sqlite
 databases download right (see bob/bob.db.base#11)"

This reverts commit 6ab63ddc4821d88a1087864d2cd505da91f1187a.
---
 gitlab/before_deploy.sh | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/gitlab/before_deploy.sh b/gitlab/before_deploy.sh
index 5371267..cac8108 100755
--- a/gitlab/before_deploy.sh
+++ b/gitlab/before_deploy.sh
@@ -1,22 +1,15 @@
 #!/usr/bin/env bash
 # Wed 21 Sep 2016 13:08:05 CEST
 
-# Parameters:
-#
-#   $1: database name to run the download command for. If unset, use "all"
-#
-
 source $(dirname ${0})/functions.sh
 
 run_cmd $(dirname ${0})/before_test.sh
 
-dbname=${1:-all}
-
 # 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 ${dbname} download --force;
+    run_cmd ./bin/bob_dbmanage.py all download --force;
   fi
 fi
-- 
GitLab