From a1936b8a2941fa0501099716e543bba73fb1519d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Wed, 17 Jul 2019 15:03:46 +0200 Subject: [PATCH] ci --- .gitlab-ci.yml | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4956b32..2006cad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,31 +23,14 @@ # # -stages: - - deploy - - test - - style +services: + sqldb: + image: debian:stretch + alias: debian + caosdb-server: + image: hello-world:latest + alias: hello -code_style: - stage: style - script: "flake8 --count ." - -deploy-to-swarm: - stage: deploy - tags: - - thin_dind - image: docker:latest - variables: - SERVICE_NAME: caosdb_stack - script: - - docker login -u testuser -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - - docker ps - - docker image ls - - docker stack deploy - --with-registry-auth - --compose-file=.docker-compose-base.yml - $SERVICE_NAME test: - stage: test - script: - - echo "test" + script: + - sleep 60 -- GitLab