projects
/
leap_platform.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a15c73
)
[CI] Re-add public ssh-key for platform test
author
Varac
<varac@leap.se>
Thu, 25 Jan 2018 09:35:12 +0000
(10:35 +0100)
committer
Varac
<varac@leap.se>
Thu, 25 Jan 2018 09:38:22 +0000
(10:38 +0100)
tests/platform-ci/ci-build.sh
patch
|
blob
|
history
diff --git
a/tests/platform-ci/ci-build.sh
b/tests/platform-ci/ci-build.sh
index
571ef53
..
59b399e
100755
(executable)
--- a/
tests/platform-ci/ci-build.sh
+++ b/
tests/platform-ci/ci-build.sh
@@
-92,6
+92,9
@@
ssh_setup() {
# see https://gitlab.com/gitlab-org/gitlab-ee/issues/2940 for fixing
# broken line endings
ssh-add <(echo "$SSH_PRIVATE_KEY" | sed 's/\r$//')
+
+ [ -d ~/.ssh ] || /bin/mkdir ~/.ssh
+ /bin/cp "${ROOTDIR}/provider/users/gitlab-runner-${provider_name}/gitlab-runner-${provider_name}_ssh.pub" ~/.ssh/id_rsa.pub
}
build_from_scratch() {