Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
fslpy
Commits
b0a2c67f
Commit
b0a2c67f
authored
6 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: Infrastructure to update conda channel after deploy
parent
0ee48df0
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.ci/deploy_conda.sh
+1
-0
1 addition, 0 deletions
.ci/deploy_conda.sh
.ci/setup_ssh.sh
+6
-0
6 additions, 0 deletions
.ci/setup_ssh.sh
.gitlab-ci.yml
+3
-0
3 additions, 0 deletions
.gitlab-ci.yml
with
10 additions
and
0 deletions
.ci/deploy_conda.sh
+
1
−
0
View file @
b0a2c67f
...
...
@@ -3,3 +3,4 @@
set
-e
rsync
-rv
dist/conda-bld/
--exclude
'repodata*'
--exclude
"*json"
"condadeploy:"
ssh condaindex
This diff is collapsed.
Click to expand it.
.ci/setup_ssh.sh
+
6
−
0
View file @
b0a2c67f
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
3
−
0
View file @
b0a2c67f
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment