Commit 8b2cbe94 authored by Sintal's avatar Sintal
Browse files

Update .gitlab-ci.yml

parent 45b1e23b
Pipeline #3598 failed with stage
in 17 seconds
......@@ -4,10 +4,11 @@ before_script:
- echo "Hello, $GITLAB_USER_LOGIN!"
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- apt-get install sshpass
- echo $SSH_PASSPHRASE
- sshpass -p $SSH_PASSPHRASE
#- apt-get install sshpass
#- sshpass -p $SSH_PASSPHRASE
- echo "$SSH_PRIVATE_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
- expect "Enter passphrase for (stdin):"
- send $SSH_PASSPHRASE
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan bwunicluster.scc.kit.edu > ~/.ssh/known_hosts
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment