From 0389b7087e7a2dfbfaa9d255a9e478f42a6cbb63 Mon Sep 17 00:00:00 2001
From: Mart van Santen <mart@greenhost.nl>
Date: Tue, 30 Nov 2021 07:18:15 +0100
Subject: [PATCH] Where are my hosts?

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ed11f0d..83ea852 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -126,7 +126,7 @@ behave-integration:
     - name: ${CI_REGISTRY_IMAGE}/postgres:${CI_COMMIT_REF_NAME}
       alias: postgres
     - name: ${CI_REGISTRY_IMAGE}/kratos:${CI_COMMIT_REF_NAME}
-      alias: kratos-migrate
+      alias: kratosmigrate
       command:
         - migrate
         - sql
@@ -139,7 +139,7 @@ behave-integration:
         - --config
         - /etc/config/kratos.yaml
     - name: ${CI_REGISTRY_IMAGE}/hydra:${CI_COMMIT_REF_NAME}
-      alias: hydra-migrate
+      alias: hydramigrate
       command:
         - migrate
         - sql
@@ -148,7 +148,7 @@ behave-integration:
     - name: ${CI_REGISTRY_IMAGE}/hydra:${CI_COMMIT_REF_NAME}
       alias: hydra
       command:
-        - hydra
+        - serve
         - all
         - --dangerous-force-http
         - --dangerous-allow-insecure-redirect-urls
@@ -194,12 +194,12 @@ behave-integration:
     # General
     KEY: "testapp"
     SECRET: "secret"
-#  image: ${CI_REGISTRY_IMAGE}/behave:${CI_COMMIT_REF_NAME}
-  image: alpine:3.6
+  image: ${CI_REGISTRY_IMAGE}/behave:${CI_COMMIT_REF_NAME}
   script:
     - cat /etc/hosts
     - sleep 10
     - cat /etc/hosts
+    - getent hosts
     - curl http://hydra:4445/health/alive
     - curl http://kratos:4433/health/alive
     - curl http://oidc:5000/whoami
-- 
GitLab