Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
kwant
kwant
Commits
8fbfddc7
Commit
8fbfddc7
authored
Jan 15, 2021
by
Christoph Groth
Browse files
gitlab-ci: rename variable
parent
636e1e53
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
8fbfddc7
...
...
@@ -10,7 +10,7 @@ stages:
variables
:
# rsync is used to send documentation to our web servers: we never send any
# secret information, and using 'ssh-keyscan' causes the CI server's IP to be blacklisted
IGNORE_HOSTKEY
:
"
ssh
-o
StrictHostKeyChecking=no
-o
UserKnownHostsFile=/dev/null"
SSH_COMMAND
:
"
ssh
-o
StrictHostKeyChecking=no
-o
UserKnownHostsFile=/dev/null"
## Building Docker environments
## Only runs when docker specifications change
...
...
@@ -262,7 +262,7 @@ upload coverage:
-
echo $MASTER_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script
:
-
mv htmlcov $CI_BUILD_REF_SLUG
-
rsync -rlv -e "$
IGNORE_HOSTKEY
" --delete --relative $CI_BUILD_REF_SLUG kwant@kwant-project.org:coverage/
-
rsync -rlv -e "$
SSH_COMMAND
" --delete --relative $CI_BUILD_REF_SLUG kwant@kwant-project.org:coverage/
after_script
:
-
rm -rf ~/.ssh
...
...
@@ -280,7 +280,7 @@ remove_coverage:
-
echo $MASTER_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script
:
-
mkdir empty/
-
rsync -rlv -e "$
IGNORE_HOSTKEY
" --delete empty/ kwant@kwant-project.org:coverage/$CI_BUILD_REF_SLUG
-
rsync -rlv -e "$
SSH_COMMAND
" --delete empty/ kwant@kwant-project.org:coverage/$CI_BUILD_REF_SLUG
after_script
:
-
rm -rf ~/.ssh
...
...
@@ -297,7 +297,7 @@ upload documentation to the test server:
-
mkdir -p ~/.ssh
-
echo $TEST_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script
:
-
rsync -rlv -e "$
IGNORE_HOSTKEY
" --delete doc/build/html/* kwant@kwant-project.org:doc/$CI_BUILD_REF_SLUG
-
rsync -rlv -e "$
SSH_COMMAND
" --delete doc/build/html/* kwant@kwant-project.org:doc/$CI_BUILD_REF_SLUG
after_script
:
-
rm -rf ~/.ssh
...
...
@@ -315,7 +315,7 @@ remove_docs:
-
echo $TEST_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script
:
-
mkdir empty
-
rsync -arv -e "$
IGNORE_HOSTKEY
" --delete empty/ kwant@kwant-project.org:doc/$CI_BUILD_REF_SLUG/
-
rsync -arv -e "$
SSH_COMMAND
" --delete empty/ kwant@kwant-project.org:doc/$CI_BUILD_REF_SLUG/
after_script
:
-
rm -rf ~/.ssh
...
...
@@ -331,7 +331,7 @@ upload dev version docs:
-
mkdir -p ~/.ssh
-
echo $MASTER_WEBSITE_KEY | base64 -d > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
script
:
-
rsync -rlv -e "$
IGNORE_HOSTKEY
" --delete doc/build/html/* kwant@kwant-project.org:doc/dev
-
rsync -rlv -e "$
SSH_COMMAND
" --delete doc/build/html/* kwant@kwant-project.org:doc/dev
after_script
:
-
rm -rf ~/.ssh
...
...
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