Skip to content
Snippets Groups Projects
Commit f7a8fdda authored by thibault.capt's avatar thibault.capt
Browse files

Update .gitlab-ci.yml file

parent d0c1bebb
No related branches found
No related tags found
No related merge requests found
Pipeline #37297 failed
...@@ -15,16 +15,17 @@ variables: ...@@ -15,16 +15,17 @@ variables:
POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_HOST_AUTH_METHOD: trust
default-postgres: default-postgres:
services: stage: dependencies
- postgres services:
image: postgres - postgres
variables: image: postgres
PGPORT: "5432" variables:
PGPORT: "5432"
script: script:
# official way to provide password to psql: http://www.postgresql.org/docs/9.3/static/libpq-envars.html # official way to provide password to psql: http://www.postgresql.org/docs/9.3/static/libpq-envars.html
- export PGPASSWORD=$POSTGRES_PASSWORD - export PGPASSWORD=$POSTGRES_PASSWORD
- psql -h "postgres" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "SELECT 'OK' AS status;" - psql -h "postgres" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "SELECT 'OK' AS status;"
# FRONTEND: Installation des dépendances # FRONTEND: Installation des dépendances
install-frontend: install-frontend:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment