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
fslpy
Commits
e6eae8f7
Commit
e6eae8f7
authored
May 31, 2018
by
Paul McCarthy
🚵
Browse files
Merge branch 'maint/conda_deploy' into 'master'
Maint/conda deploy See merge request fsl/fslpy!55
parents
d4c36b80
1e3a470d
Pipeline
#2078
passed with stages
in 50 minutes and 28 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.ci/deploy_conda.sh
View file @
e6eae8f7
...
...
@@ -3,3 +3,4 @@
set
-e
rsync
-rv
dist/conda-bld/
--exclude
'repodata*'
--exclude
"*json"
"condadeploy:"
ssh condaindex
.ci/setup_ssh.sh
View file @
e6eae8f7
...
...
@@ -33,6 +33,7 @@ if [[ -f /.dockerenv ]]; then
if
[[
"
$CI_PROJECT_PATH
"
==
"
$UPSTREAM_PROJECT
"
]]
;
then
echo
"
$SSH_PRIVATE_KEY_DOC_DEPLOY
"
>
$HOME
/.ssh/id_doc_deploy
;
echo
"
$SSH_PRIVATE_KEY_CONDA_DEPLOY
"
>
$HOME
/.ssh/id_conda_deploy
;
echo
"
$SSH_PRIVATE_KEY_CONDA_INDEX
"
>
$HOME
/.ssh/id_conda_index
;
fi
;
chmod
go-rwx
$HOME
/.ssh/id_
*
;
...
...
@@ -63,6 +64,11 @@ if [[ -f /.dockerenv ]]; then
echo
" User
${
CONDA_HOST
%@*
}
"
>>
$HOME
/.ssh/config
;
echo
" IdentityFile
$HOME
/.ssh/id_conda_deploy"
>>
$HOME
/.ssh/config
;
echo
"Host condaindex"
>>
$HOME
/.ssh/config
;
echo
" HostName
${
CONDA_HOST
##*@
}
"
>>
$HOME
/.ssh/config
;
echo
" User
${
CONDA_HOST
%@*
}
"
>>
$HOME
/.ssh/config
;
echo
" IdentityFile
$HOME
/.ssh/id_conda_index"
>>
$HOME
/.ssh/config
;
echo
"Host fsldownload"
>>
$HOME
/.ssh/config
;
echo
" HostName
${
FSL_HOST
##*@
}
"
>>
$HOME
/.ssh/config
;
echo
" User
${
FSL_HOST
%@*
}
"
>>
$HOME
/.ssh/config
;
...
...
.ci/test_template.sh
View file @
e6eae8f7
...
...
@@ -14,12 +14,12 @@ fi;
source
/test.venv/bin/activate
pip
install
-r
requirements.txt
pip
install
-r
requirements-extra.txt
pip
install
-r
requirements-dev.txt
pip
install
--retries
10
-r
requirements.txt
pip
install
--retries
10
-r
requirements-extra.txt
pip
install
--retries
10
-r
requirements-dev.txt
# style stage
if
[
"
$TEST_STYLE
"
x
!=
"x"
]
;
then
pip
install
pylint flake8
;
fi
;
if
[
"
$TEST_STYLE
"
x
!=
"x"
]
;
then
pip
install
--retries
10
pylint flake8
;
fi
;
if
[
"
$TEST_STYLE
"
x
!=
"x"
]
;
then
flake8 fsl
||
true
;
fi
;
if
[
"
$TEST_STYLE
"
x
!=
"x"
]
;
then
pylint
--output-format
=
colorized fsl
||
true
;
fi
;
if
[
"
$TEST_STYLE
"
x
!=
"x"
]
;
then
exit
0
;
fi
...
...
.gitlab-ci.yml
View file @
e6eae8f7
...
...
@@ -67,6 +67,9 @@ stages:
# - SSH_PRIVATE_KEY_CONDA_DEPLOY - private key for rsyncing conda builds
# to remote host (CONDA_HOST)
#
# - SSH_PRIVATE_KEY_CONDA_INDEX - private key for updating conda channel
# (on CONDA_HOST)
#
# - SSH_SERVER_HOSTKEYS - List of trusted SSH hosts
#
# - DOC_HOST: - Username@host to upload documentation to
...
...
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