From 5b94aad9656b7dc23b6983a9cc0f316d3499a61e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org>
Date: Thu, 14 Nov 2019 13:10:20 +0100
Subject: [PATCH] FIX: cert in its own stage

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c71826c..4c6dbee 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -112,17 +112,21 @@ build-testenv:
         -t $CI_REGISTRY_IMAGE:latest .
       - docker push $CI_REGISTRY_IMAGE:latest
 
-style:
+cert:
   tags: [notls]
-  stage: style
+  stage: cert
   image: $CI_REGISTRY_IMAGE:latest
+  artifacts:
+    paths:
+      - .docker/cert/
+    expire_in: 1 week
   script:
       - cd .docker
       - CAOSHOSTNAME=caosdb-server ./cert.sh
-      - cd ..
+style:
+  tags: [notls]
+  stage: style
+  image: $CI_REGISTRY_IMAGE:latest
+  script:
       - autopep8 -r --diff --exit-code .
   allow_failure: true   
-  artifacts:
-    paths:
-      - .docker/cert/
-    expire_in: 1 week
-- 
GitLab