Commit 95f3e78e authored by Sintal's avatar Sintal
Browse files

Update .gitlab-ci.yml

parent b425124b
No related merge requests found
Pipeline #3412 passed with stage
in 11 seconds
Showing with 3 additions and 8 deletions
+3 -8
image: ubuntu image: ubuntu
before_script: before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - echo "test from fork"
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan bwunicluster.scc.kit.edu > ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
Test SSH: Test SSH:
script: script:
- ssh $USER_NAME "test/testscript.sh" - echo "test from fork"
\ No newline at end of file
Supports Markdown
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