Skip to content
Snippets Groups Projects
Commit 0900f865 authored by Michal Petrovič's avatar Michal Petrovič
Browse files

remove deploy from ci

parent c69034a2
1 merge request!5Resolve "Implement CpG isladns analysis"
......@@ -11,7 +11,6 @@ stages:
- build
- verification
- publish
- deploy
......@@ -111,33 +110,3 @@ docker-push-tag:
script:
- docker load -i build/image.tar
- docker push $DOCKER_NAMESPACE/$PROJECT_NAME:$CI_COMMIT_TAG
# ===========================================================================
# Stage: deploy
# ===========================================================================
deploy-bioinformatika.pef.mendelu.cz:
stage: deploy
tags:
- master
only:
- main
script:
- cp .env /home/bioinformatics/
- cd /home/bioinformatics/
- docker-compose config > docker-swarm.yml
# - docker stack deploy -c docker-compose.yml test_stack
# after_script:
# - docker system prune -f
deploy-bioinformatics.ibp.cz:
stage: deploy
tags:
- master
only:
variables:
- $CI_COMMIT_TAG
script:
- scp .env root@bioinformatics.ibp.cz:/opt/
- scp docker-compose.yml root@bioinformatics.ibp.cz:/opt/
- ssh root@bioinformatics.ibp.cz "cd /opt && export $(xargs < .env) && docker stack deploy dna-analyser -c docker-compose.yml"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment