From d0c1bebb839f338b079c01a4966da321fe73ae59 Mon Sep 17 00:00:00 2001
From: "thibault.capt" <thibault.capt@etu.hesge.ch>
Date: Sun, 12 Jan 2025 17:43:59 +0100
Subject: [PATCH] Update .gitlab-ci.yml file

---
 .gitlab-ci.yml | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3218533..2d4fd18 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,12 +15,13 @@ variables:
   POSTGRES_HOST_AUTH_METHOD: trust
 
 default-postgres:
-  services:
-    - postgres
-  image: postgres
-  variables:
-    PGPORT: "5432"
-  script:
+ services:
+   - postgres
+ image: postgres
+ variables:
+   PGPORT: "5432"
+
+ 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;"
-- 
GitLab