From 27b6e4c485f8ee04fd6f7a255ac15a87cb6b164f Mon Sep 17 00:00:00 2001
From: Mart van Santen <mart@greenhost.nl>
Date: Tue, 30 Nov 2021 07:13:30 +0100
Subject: [PATCH] Trial and error

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 46781fd..ed11f0d 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
+      alias: kratos-migrate
       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
+      alias: hydra-migrate
       command:
         - migrate
         - sql
@@ -194,10 +194,12 @@ behave-integration:
     # General
     KEY: "testapp"
     SECRET: "secret"
-  image: ${CI_REGISTRY_IMAGE}/behave:${CI_COMMIT_REF_NAME}
+#  image: ${CI_REGISTRY_IMAGE}/behave:${CI_COMMIT_REF_NAME}
+  image: alpine:3.6
   script:
     - cat /etc/hosts
-    - sleep 30
+    - sleep 10
+    - cat /etc/hosts
     - curl http://hydra:4445/health/alive
     - curl http://kratos:4433/health/alive
     - curl http://oidc:5000/whoami
-- 
GitLab