Skip to content

Commit

Permalink
incus-run: Remove matrix part of JOB_NAME
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Dec 11, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 93bdf39 commit e9f32e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/incus-run
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ cleanup() {
trap cleanup EXIT HUP INT TERM

# Create instance name
JOB_NAME="${JOB_NAME:-"unknown"}"
JOB_NAME="$(echo ${JOB_NAME:-"unknown"} | cut -d/ -f1)"
instance_name="$(mktemp -u "${JOB_NAME}-XXXX")"

# Create instance

0 comments on commit e9f32e7

Please sign in to comment.