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
998871db
Commit
998871db
authored
Jan 30, 2021
by
Paul McCarthy
🚵
Browse files
RF: Install ci rules utilities through pip
parent
409b3785
Changes
3
Hide whitespace changes
Inline
Side-by-side
rules/fsl-ci-build-rules.yml
View file @
998871db
...
...
@@ -60,7 +60,7 @@ trigger-staging-package-build:
$FSL_CI_SKIP_ALL
==
null'
script
:
-
python3 ./.ci_rules/scripts/
trigger_package_build
.py
-
trigger_package_build
# Open a MR on a recipe repository to update the
...
...
@@ -84,7 +84,7 @@ update-conda-recipe:
$FSLCONDA_SKIP_RECIPE_UPDATE
==
null'
script
:
-
python3 ./.ci_rules/scripts/
update_conda_recipe
.py
-
update_conda_recipe
#######################################################
...
...
@@ -183,7 +183,7 @@ update-conda-recipe:
-
echo "DEPLOY=$DEPLOY" >> build.env
-
echo "FSLCONDA_REPOSITORY=$FSLCONDA_REPOSITORY" >> build.env
-
echo "FSLCONDA_REVISION=$FSLCONDA_REVISION" >> build.env
-
python3 ./.ci_rules/scripts/
build_conda_package
.py
-
build_conda_package
# Platform-specific jobs will direct their outputs
# into "noarch", "linux" and "macos" sub-directories
...
...
rules/fsl-ci-deploy-rules.yml
View file @
998871db
...
...
@@ -47,4 +47,4 @@ deploy-conda-package:
-
build-linux-cuda-11.0-conda-package
-
run-unit-tests
script
:
-
bash ./.ci_rules/scripts/
deploy_conda_package
.sh
-
deploy_conda_package
rules/fsl-ci-job-template.yml
View file @
998871db
...
...
@@ -59,10 +59,10 @@
git config --global "url.${giturl}/.insteadOf" "git@git.fmrib.ox.ac.uk:";
fi
#
Download a copy of the common CI rules
#
repo (this repo)
-
git clone ${CI_RULES_REPOSITORY} ./.ci_rules
-
export PYTHONPATH=${PWD}/.ci_rules/utils
#
Install the CI rules utilities (this repo).
#
It is assumed that "python" is provided by
# the miniconda base environment
-
python -m pip install git+${CI_RULES_REPOSITORY}
# Isolate conda configuration to unique
# config dir
...
...
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