Skip to content

Commit

Permalink
Run actions runner directly
Browse files Browse the repository at this point in the history
  • Loading branch information
ohinds committed Jul 3, 2023
1 parent bc3980a commit 684b064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/guide-notebooks-slurm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
cat<<EOF > start_node_runner.sh
#!/bin/bash
set -ex
cd ${HOME}/actions-runner
cd
./run.sh
EOF
jobid=$(sbatch -t 10 --mem 16G -p gablab start_node_runner.sh | cut -d ' ' -f 4)
jobid=$(sbatch -t 10 --mem 16G -p gablab -D ${HOME}/actions-runner run.sh | cut -d ' ' -f 4)
while [ 1 ]; do
node=$(squeue --noheader -j ${jobid} -o "%N")
if [ -z ${node} ]; then
Expand Down

0 comments on commit 684b064

Please sign in to comment.