Commit a569ecc6 authored by Naundorf's avatar Naundorf
Browse files

Update .gitlab-ci.yml

parent e0b119da
Pipeline #6450 failed with stage
in 2 minutes and 22 seconds
......@@ -7,7 +7,6 @@ before_script:
- echo "$SSH_PRIVATE_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
# - ssh-keyscan 193.196.53.93 > ~/.ssh/known_hosts
# - ssh-keyscan bwunicluster.scc.kit.edu > ~/.ssh/known_hosts
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
......@@ -15,9 +14,6 @@ before_script:
Test SSH:
script:
- 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 execute_vehicle_classification"
# - scp -o "Proxyjump ubuntu@193.196.53.93" testscript.sh $USER_NAME:~/test_dir/testscript.sh
- scp -o "Proxyjump ubuntu@193.196.53.93" execute_vehicle_classification.sh $USER_NAME:~/execute_vehicle_classification/execute_vehicle_classification.sh
# - ssh -J ubuntu@193.196.53.93 $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 execute_vehicle_classification/execute_vehicle_classification.sh && ./execute_vehicle_classification/execute_vehicle_classification.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