diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3b32341a79a5a5c9d82c3bcb748fc9deb59fdab3..fedbef25283602cec1aabc219f47467436913d4c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,21 +9,14 @@ variables:
 before_script:
   - apt-get update -y
   - apt-get install default-jre postgresql-client -y
+  # official way to provide password to psql: http://www.postgresql.org/docs/9.3/static/libpq-envars.html
+  - export PGPASSWORD=$POSTGRES_PASSWORD
+  - psql -h "postgres" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "SELECT 'OK' AS status;"
+  # gems
   - gem install bundler
   - bundle install --jobs $(nproc) --path=/cache/bundler
   - bundle exec rake db:create
 
-connect:
-  script:
-    # official way to provide password to psql: http://www.postgresql.org/docs/9.3/static/libpq-envars.html
-    - export PGPASSWORD=$POSTGRES_PASSWORD
-    - psql -h "postgres" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "SELECT 'OK' AS status;"
-  tags:
-    - ruby
-    - postgres
-    - elasticsearch
-    - redis
-
 test:
   stage: test
   script: