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
installer
Commits
c9e11eaa
Commit
c9e11eaa
authored
Sep 17, 2021
by
Paul McCarthy
🚵
Browse files
CI: Separate deploy / update manifest steps into separate jobs, so latter can
run in docker.
parent
83814355
Changes
3
Hide whitespace changes
Inline
Side-by-side
.ci/new_release.sh
View file @
c9e11eaa
...
...
@@ -4,8 +4,8 @@
# every time a new tag is added to the fsl/conda/installer gitlab
# repository.
#
#
First we
copy the installer into the deployment directory,
denoted by the
# $FSLINSTALLER_DEPLOY_DIRECTORY environment variable.
#
This simply involves
copy
ing
the installer into the deployment directory,
#
denoted by the
$FSLINSTALLER_DEPLOY_DIRECTORY environment variable.
set
-e
...
...
@@ -19,13 +19,3 @@ if [ "$scriptver" != "$CI_COMMIT_TAG" ]; then
fi
cp
fslinstaller.py
$FSLINSTALLER_DEPLOY_DIRECTORY
/
# Then we call the update_manifest.py script, which opens a merge request
# on the fsl/conda/manifest repository, to update the latest available
# installer version in the manifest.
#
# The update_manifest.py script uses functionality from fsl-ci-rules, so
# we need to install that before running the script.
python
-m
pip
install
--upgrade
pip
python
-m
pip
install
git+https://git.fmrib.ox.ac.uk/fsl/fsl-ci-rules.git
python ./.ci/update_manifest.py
.ci/update_manifest.sh
0 → 100644
View file @
c9e11eaa
#!/usr/bin/env bash
# Here we call the update_manifest.py script, which opens a merge request
# on the fsl/conda/manifest repository, to update the latest available
# installer version in the manifest.
#
# The update_manifest.py script uses functionality from fsl-ci-rules, so
# we need to install that before running the script.
python
-m
pip
install
--upgrade
pip
python
-m
pip
install
git+https://git.fmrib.ox.ac.uk/fsl/fsl-ci-rules.git
python ./.ci/update_manifest.py
.gitlab-ci.yml
View file @
c9e11eaa
...
...
@@ -105,13 +105,25 @@ check-version:
fi
release
:
im
age
:
python:3.9
release
-new-version
:
st
age
:
release
tags
:
-
fsl-ci
-
fslconda-channel-host
rules
:
-
if
:
'
$CI_COMMIT_TAG
!=
null'
when
:
manual
script
:
-
bash ./.ci/new_release.sh
update-fsl-manifest
:
stage
:
release
image
:
python:3.9
tags
:
-
fsl-ci
-
docker
rules
:
-
if
:
'
$CI_COMMIT_TAG
!=
null'
when
:
manual
script
:
-
bash ./.ci/update_manifest.sh
Write
Preview
Markdown
is supported
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