From aedd81edafd97c22141f61def03f1cd09e7df095 Mon Sep 17 00:00:00 2001
From: Mart van Santen <mart@greenhost.nl>
Date: Fri, 26 Nov 2021 07:50:15 +0100
Subject: [PATCH] more cheese

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 24f9696..b7b8b51 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -134,12 +134,8 @@ behave-integration:
     - name: ${CI_REGISTRY_IMAGE}/login:${CI_COMMIT_REF_NAME}
       alias: oidc
       variables:
-        FLASK_RUN_HOST: 0.0.0.0
-        FLASK_RUN_PORT: 5000
-        HYDRA_ADMIN_URL: "http://hydra:4445"
-        KRATOS_PUBLIC_URL: "http://kratos:4433"
-        KRATOS_ADMIN_URL: "http://kratos:4434"
-        PUBLIC_URL: "http://localhost:5000/"
+        OIDC_ONLY: "OIDCONLY"
+        PUBLIC_URL: "http://localhost:5001/"
         DATABASE_URL: "postgresql://postgres:postgres@postgres/postgres"
   variables:
     # Feature Flag FF_NETWORK_PER_BUILD Enables creation of a docker network per build
@@ -147,6 +143,14 @@ behave-integration:
     # interconnection. Requires gitlab-runner v12.9.0
     FF_NETWORK_PER_BUILD: 1
     DATABASE_HOST: "postgres"
+    # For login panel
+    FLASK_RUN_HOST: "0.0.0.0"
+    FLASK_RUN_PORT: "5000"
+    HYDRA_ADMIN_URL: "http://hydra:4445"
+    KRATOS_PUBLIC_URL: "http://kratos:4433"
+    KRATOS_ADMIN_URL: "http://kratos:4434"
+    PUBLIC_URL: "http://localhost:5000/"
+    DATABASE_URL: "postgresql://postgres:postgres@postgres/postgres"
 #    URLS_LOGIN: "http://login:5000/login"
 #    URLS_LOGOUT: "http://logout:5002/logout"
 #    URLS_CONSENT: "http://consent:5001/consent"
-- 
GitLab