Skip to content

Commit e286273

Browse files
authored
remove adding cluster in slurm
1 parent d910c93 commit e286273

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/testslurm.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ jobs:
2424
- name: Display previous jobs with sacct
2525
run: |
2626
echo "Allowing ports/daemons time to start" && sleep 10
27-
docker exec slurm bash -c "sacctmgr -i add cluster name=linux \
28-
&& supervisorctl restart slurmdbd \
29-
&& supervisorctl restart slurmctld \
30-
&& sacctmgr -i add account none,test Cluster=linux Description='none' Organization='none'"
27+
sacctmgr -i add account none,test Cluster=linux Description='none' Organization='none'"
3128
docker exec slurm bash -c "sacct && sinfo && squeue" 2&> /dev/null
3229
if [ $? -ne 0 ]; then
3330
echo "Slurm docker image error"

0 commit comments

Comments
 (0)