From 97cabbfb947fc0cb9795ac07bcc73a0da0583032 Mon Sep 17 00:00:00 2001 From: Varac Date: Thu, 25 Jan 2018 10:35:12 +0100 Subject: [CI] Re-add public ssh-key for platform test --- tests/platform-ci/ci-build.sh | 3 +++ 1 file changed, 3 insertions(+) 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() { -- cgit v1.2.3