Skip to content
Snippets Groups Projects
Commit a1936b8a authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

ci

parent 74c55658
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment