From ed820c9efedbea9158112dee52d5df9922ca40f5 Mon Sep 17 00:00:00 2001 From: Christian Boettcher <c.boettcher@fz-juelich.de> Date: Thu, 5 Aug 2021 07:53:38 +0000 Subject: [PATCH] commenting deployment tests for now, as the server startup is async and does not give feedback to the CI/CD --- .gitlab-ci.yml | 62 +++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 74bd05b..c44b1b1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ stages: - build - publish - deploy - - test-deployment +# - test-deployment test: stage: test @@ -100,37 +100,37 @@ deploy-testing: - openstack server delete $OLD_ID -test-testing: - cache: {} - stage: test-deployment - only: - - master - except: - - tags - needs: ["deploy-testing"] - variables: - TESTING_URL: https://zam10036.zam.kfa-juelich.de/ - script: - - apt update && apt -y install curl - - echo "TODO This should run tests for the testing deployment, to ensure full functionality of the deployment." - - echo "For now, this will be a basic health check i.e. GET / and check for 2xx code." - - 'curl -f -H "Accept: application/json" $TESTING_URL' +#test-testing: +# cache: {} +# stage: test-deployment +# only: +# - master +# except: +# - tags +# needs: ["deploy-testing"] +# variables: +# TESTING_URL: https://zam10036.zam.kfa-juelich.de/ +# script: +# - apt update && apt -y install curl +# - echo "TODO This should run tests for the testing deployment, to ensure full functionality of the deployment." +# - echo "For now, this will be a basic health check i.e. GET / and check for 2xx code." +# - 'curl -f -H "Accept: application/json" $TESTING_URL' -test-production: - cache: {} - stage: test-deployment - only: - - tags - tags: [stable] - needs: ["deploy-production"] - environment: Production - variables: - PRODUCTION_URL: https://datacatalog.fz-juelich.de/ - script: - - apt update && apt -y install curl - - echo "TODO This should run tests for the production deployment, to ensure full functionality of the deployment." - - echo "For now, this will be a basic health check i.e. GET / and check for 2xx code." - - 'curl -f -H "Accept: application/json" $PRODUCTION_URL' +#test-production: +# cache: {} +# stage: test-deployment +# only: +# - tags +# tags: [stable] +# needs: ["deploy-production"] +# environment: Production +# variables: +# PRODUCTION_URL: https://datacatalog.fz-juelich.de/ +# script: +# - apt update && apt -y install curl +# - echo "TODO This should run tests for the production deployment, to ensure full functionality of the deployment." +# - echo "For now, this will be a basic health check i.e. GET / and check for 2xx code." +# - 'curl -f -H "Accept: application/json" $PRODUCTION_URL' publishgit-do: image: python:3-slim -- GitLab