Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 07f03a2a authored by usov_i's avatar usov_i
Browse files

Add .gitlab-ci.yml

parent f89267b5
No related branches found
No related tags found
No related merge requests found
stages:
- deploy-test
- deploy-prod
deploy-test:
stage: deploy-test
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- cd /opt/pyzebra
- git pull origin master --tags
- sudo systemctl restart pyzebra-test.service
deploy-prod:
stage: deploy-prod
rules:
- if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: delayed
start_in: 10 minutes
script:
- source /opt/miniconda3/etc/profile.d/conda.sh
- conda activate prod
- conda update pyzebra -y
- sudo systemctl restart pyzebra.service
\ No newline at end of file
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