Skip to content

Commit

Permalink
Add the job id as a label for the ephemeral runner
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <normandf@mila.quebec>
  • Loading branch information
lebrice committed Jul 4, 2024
1 parent f0377bf commit 2a40d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions-runner-job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ TOKEN=`curl -L \

# Create the runner and configure it programmatically
./config.sh --url https://github.com/mila-iqia/ResearchTemplate --token $TOKEN \
--unattended --replace --name $cluster --labels $cluster --ephemeral
--unattended --replace --name $cluster --labels $cluster $SLURM_JOB_ID --ephemeral

# Launch the actions runner.
./run.sh

0 comments on commit 2a40d08

Please sign in to comment.