summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2018-01-25 10:35:12 +0100
committerVarac <varac@leap.se>2018-01-25 10:38:22 +0100
commit97cabbfb947fc0cb9795ac07bcc73a0da0583032 (patch)
tree0a8739f11bc1e2375c1861b730022456e28d8967 /tests
parent5a15c7324812b8a8198f802d086f8095afdff3b9 (diff)
[CI] Re-add public ssh-key for platform test
Diffstat (limited to 'tests')
-rwxr-xr-xtests/platform-ci/ci-build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/platform-ci/ci-build.sh b/tests/platform-ci/ci-build.sh
index 571ef53c..59b399ee 100755
--- 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() {