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 8604d695 authored by usov_i's avatar usov_i
Browse files

Extract conda activation into before_script

[skip ci]
parent a5529582
No related branches found
No related tags found
No related merge requests found
Pipeline #36323 skipped
......@@ -3,12 +3,15 @@ stages:
- deploy
- cleanup
default:
before_script:
- source /opt/miniconda3/etc/profile.d/conda.sh
build-and-publish:
stage: build-and-publish
rules:
- if: $CI_COMMIT_TAG
script:
- source /opt/miniconda3/etc/profile.d/conda.sh
- conda config --add channels conda-forge
- conda config --set solver libmamba
- conda config --set anaconda_upload yes
......@@ -22,7 +25,6 @@ deploy-test:
script:
- cd /opt/pyzebra
- git pull origin main --tags
- source /opt/miniconda3/etc/profile.d/conda.sh
- conda activate test
- conda build ./conda-recipe
- conda install --use-local --only-deps pyzebra -y
......@@ -37,7 +39,6 @@ deploy-prod:
when: delayed
start_in: 1 minute
script:
- source /opt/miniconda3/etc/profile.d/conda.sh
- conda activate prod
- conda update pyzebra -y
- sudo systemctl restart pyzebra-prod.service
......
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