Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Naundorf
HPC_Vehicle_Classification
Commits
2c0c85f9
Commit
2c0c85f9
authored
May 03, 2022
by
Naundorf
Browse files
Update .gitlab-ci.yml
parent
971b4303
Pipeline
#6394
failed with stage
in 8 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2c0c85f9
...
...
@@ -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"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment