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

Update .gitlab-ci.yml file

parent f80147fd
Branches
1 merge request!6Resolve "Result Frequency should be rounded to 3 decimal places"
Pipeline #177517 passed with warnings with stage
in 23 seconds
......@@ -11,7 +11,6 @@ stages:
- analyse
- build
- publish
- deploy
# ===========================================================================
# Stage: analyse
......@@ -120,34 +119,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