Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
conda
fsl-ci-rules
Commits
8a900714
Commit
8a900714
authored
Sep 20, 2021
by
Paul McCarthy
🚵
Browse files
Merge branch 'bf/condadir' into 'master'
Bf/condadir See merge request fsl/fsl-ci-rules!88
parents
ffe04e99
fab514c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
fsl_ci/__init__.py
View file @
8a900714
...
...
@@ -19,7 +19,7 @@ import subprocess as sp
import
yaml
__version__
=
'0.16.
3
'
__version__
=
'0.16.
4
'
"""Current version of the fsl-ci-rules."""
...
...
rules/fsl-ci-job-template.yml
View file @
8a900714
...
...
@@ -75,10 +75,10 @@
# Otherwise create a conda env in the job work
# dir, and install fsl-ci-rules into it
-
if [ "$DOCKER" == "0" ]; then
CONDADIR=$(dirname $(which conda))
CONDADIR=$(dirname $(which conda))
;
conda create -y -p ${FSL_CI_CONFIG_DIR}/env -c conda-forge python=3.9 conda-build;
if [ -f "${CONDADIR}"/activate ]; then source ${CONDADIR}/activate ${FSL_CI_CONFIG_DIR}/env;
else conda activate ${FSL_CI_CONFIG_DIR}/env; fi
else conda activate ${FSL_CI_CONFIG_DIR}/env; fi
;
fi
-
if [ "$CI_PROJECT_PATH" == "fsl/fsl-ci-rules" ]; then
python -m pip install .;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment