From b09e7a4cb7d0cddddb7f47b972b86b84eb734f52 Mon Sep 17 00:00:00 2001 From: Mauricio Giacomini Girardello <mgg12@inf.ufpr.br> Date: Tue, 15 Mar 2016 11:33:45 -0300 Subject: [PATCH] testing gitlab-ci --- .gitlab-ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cc16b442b..4dcdceab4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,5 @@ services: - postgres -tags: - - ruby - - postgres - - elasticsearch - - redis variables: POSTGRES_DB: portalmec_test @@ -14,10 +9,15 @@ variables: connect: #image: postgres script: - - 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;" + - 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;" + tags: + - ruby + - postgres + - elasticsearch + - redis #before_script: -- GitLab