From ffeeb29e7f5f5aa1b564f90cbd2373a8c1914e4c Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 14 Jan 2018 00:47:03 +0100 Subject: [PATCH] use an alias for pg CI Signed-off-by: Thomas Citharel --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index adcd29ad6..158fefb89 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,14 +1,15 @@ image: elixir:1.4 services: - - mdillon/postgis:9.6 + - name: mdillon/postgis:9.6 + alias: postgres variables: MIX_ENV: "test" POSTGRES_DB: eventos_test POSTGRES_USER: postgres POSTGRES_PASSWORD: "" - POSTGRES_HOST: mdillon-postgis + POSTGRES_HOST: postgres cache: key: "$CI_JOB_NAME"