Skip to content
Snippets Groups Projects
Verified Commit 97cabbfb authored by Varac's avatar Varac
Browse files

[CI] Re-add public ssh-key for platform test

parent 5a15c732
Branches
Tags
No related merge requests found
Pipeline #
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment