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
924ace58
Commit
924ace58
authored
Sep 27, 2021
by
Sintal
Browse files
Update .gitlab-ci.yml
parent
8a4c2187
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
924ace58
...
@@ -13,6 +13,6 @@ before_script:
...
@@ -13,6 +13,6 @@ 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 $USER_NAME "mkdir -p
execute_vehicle_classification
"
-
ssh $USER_NAME "mkdir -p
test_dir
"
-
scp
execute_vehicle_classification.sh $USER_NAME:~/execute_vehicle_classification/execute_vehicle_classification
.sh
-
scp
test_script.sh $USER_NAME:~/test_dir/test_script
.sh
-
ssh $USER_NAME "chmod 700
execute_vehicle_classification/execute_vehicle_classification.sh && sbatch -p single ./execute_vehicle_classification/execute_vehicle_classification
.sh $GITLAB_KEY"
-
ssh $USER_NAME "chmod 700
test_dir/testscript.sh && sbatch -p single ./test_dir/test_script
.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