Commit fdd80a7c authored by Naundorf's avatar Naundorf
Browse files

Update .gitlab-ci.yml

parent e8407516
Pipeline #6425 passed with stage
in 18 seconds
...@@ -15,7 +15,7 @@ before_script: ...@@ -15,7 +15,7 @@ before_script:
Test SSH: Test SSH:
script: script:
- GITLAB_KEY=$(echo "$GITLAB_KEY" | tr -d '\r' | tr -d '\n') - GITLAB_KEY=$(echo "$GITLAB_KEY" | tr -d '\r' | tr -d '\n')
# - ssh -J ubuntu@193.196.53.93 $USER_NAME "mkdir -p test_dir" - ssh -J ubuntu@193.196.53.93 $USER_NAME "mkdir -p test_dir"
- ssh -J 81nasi1bwi@lida.fkc.hft-stuttgart.de $USER_NAME "mkdir -p test_dir" lida.fkc.hft-stuttgart.de # - ssh -J 81nasi1bwi@lida.fkc.hft-stuttgart.de $USER_NAME "mkdir -p test_dir" lida.fkc.hft-stuttgart.de
- scp testscript.sh $USER_NAME:~/test_dir/testscript.sh - scp -o "Proxyjump ubuntu@193.196.53.93" testscript.sh $USER_NAME:~/test_dir/testscript.sh
- ssh $USER_NAME "chmod 700 test_dir/testscript.sh && sbatch -p single ./test_dir/testscript.sh $GITLAB_KEY" - ssh -J ubuntu@193.196.53.93 $USER_NAME "chmod 700 test_dir/testscript.sh && sbatch -p single ./test_dir/testscript.sh $GITLAB_KEY"
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