Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lukas Werner
cx-custom-gitlab-runner
Commits
1b864a09
Commit
1b864a09
authored
Aug 10, 2021
by
Lukas Werner
Browse files
Shortened error message
parent
b7319af9
Changes
1
Hide whitespace changes
Inline
Side-by-side
runner_scripts/root/run.sh
View file @
1b864a09
...
...
@@ -79,9 +79,7 @@ if [[ ("$2" == "step_script" || "$2" == "build_script") && "${CUSTOM_ENV_NO_SLUR
:
"
${
SLURM_NODELIST
:
=
"phinally"
}
"
# default node: phinally
if
[
!
$(
sinfo
-n
"
$SLURM_NODELIST
"
-h
-O
NodeList
)
]
;
then
echo
-e
"
${
TXT_RED
}${
TXT_BOLD
}
Unknown node
\"
$SLURM_NODELIST
\"
specified. Available nodes:
${
TXT_CLEAR
}
"
>
&2
echo
"
$(
sinfo
-N
-o
'%N %c %m'
)
"
>
&2
error
"Exiting..."
error
"Unknown node
\"
$SLURM_NODELIST
\"
specified."
fi
SLURM_PARTITION
=
work
...
...
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