From 95f3e78e95f7de2ed53799c9beb8a07c4661d2cf Mon Sep 17 00:00:00 2001 From: Sintal <61sima1bif@hft-stuttgart.de> Date: Tue, 4 May 2021 16:49:20 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8dc0226..a94f7ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,14 +1,9 @@ image: ubuntu before_script: - - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - - 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 + - echo "test from fork" + Test SSH: script: - - ssh $USER_NAME "test/testscript.sh" \ No newline at end of file + - echo "test from fork" -- GitLab