Commit 2c0c85f9 authored by Naundorf's avatar Naundorf
Browse files

Update .gitlab-ci.yml

parent 971b4303
Pipeline #6394 failed with stage
in 8 minutes and 57 seconds
......@@ -14,8 +14,7 @@ before_script:
Test SSH:
script:
- ssh -J ubuntu@193.196.53.93 $USER_NAME "test/testscript.sh"
# - GITLAB_KEY=$(echo "$GITLAB_KEY" | tr -d '\r' | tr -d '\n')
# - ssh -J ubuntu@193.196.53.93 $USER_NAME "mkdir -p test_dir"
# - scp 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"
- GITLAB_KEY=$(echo "$GITLAB_KEY" | tr -d '\r' | tr -d '\n')
- ssh -J ubuntu@193.196.53.93 $USER_NAME "mkdir -p test_dir"
- scp 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"
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