Skip to content

Commit

Permalink
Remove (now) redundant print out of new image name
Browse files Browse the repository at this point in the history
  • Loading branch information
cdunbar13 committed Oct 21, 2024
1 parent ae27246 commit 4b86ca8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 27 deletions.
9 changes: 0 additions & 9 deletions modules/packer/custom-image/image.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,4 @@ build {
built-by = "cloud-hpc-toolkit"
}
}

# if the jq command is present, this will print the image name to stdout
# if jq is not present, this exits silently with code 0
post-processor "shell-local" {
inline = [
"command -v jq > /dev/null || exit 0",
"echo \"Image built: $(jq -r '.builds[-1].artifact_id' ${var.manifest_file} | cut -d ':' -f2)\"",
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,4 @@ build {
built-by = "cloud-hpc-toolkit"
}
}

# if the jq command is present, this will print the image name to stdout
# if jq is not present, this exits silently with code 0
post-processor "shell-local" {
inline = [
"command -v jq > /dev/null || exit 0",
"echo \"Image built: $(jq -r '.builds[-1].artifact_id' ${var.manifest_file} | cut -d ':' -f2)\"",
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,4 @@ build {
built-by = "cloud-hpc-toolkit"
}
}

# if the jq command is present, this will print the image name to stdout
# if jq is not present, this exits silently with code 0
post-processor "shell-local" {
inline = [
"command -v jq > /dev/null || exit 0",
"echo \"Image built: $(jq -r '.builds[-1].artifact_id' ${var.manifest_file} | cut -d ':' -f2)\"",
]
}
}

0 comments on commit 4b86ca8

Please sign in to comment.