summaryrefslogtreecommitdiff
path: root/scripts/utils.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/utils.sh')
-rw-r--r--scripts/utils.sh13
1 files changed, 3 insertions, 10 deletions
diff --git a/scripts/utils.sh b/scripts/utils.sh
index f0f08e2e1c5..7eae9531f74 100644
--- a/scripts/utils.sh
+++ b/scripts/utils.sh
@@ -14,11 +14,7 @@ function retry() {
}
function setup_db_user_only() {
- if [ "$GITLAB_DATABASE" = "postgresql" ]; then
- source scripts/create_postgres_user.sh
- else
- source scripts/create_mysql_user.sh
- fi
+ source scripts/create_postgres_user.sh
}
function setup_db() {
@@ -26,10 +22,6 @@ function setup_db() {
bundle exec rake db:drop db:create db:schema:load db:migrate
- if [ "$GITLAB_DATABASE" = "mysql" ]; then
- bundle exec rake add_limits_mysql
- fi
-
bundle exec rake gitlab:db:setup_ee
}
@@ -42,7 +34,8 @@ function install_api_client_dependencies_with_apt() {
}
function install_gitlab_gem() {
- gem install gitlab --no-document
+ gem install httparty --no-document --version 0.17.3
+ gem install gitlab --no-document --version 4.13.0
}
function echoerr() {