mozilla-platform-ops / monopacker

builds taskcluster worker images for AWS and GCP using packer
Mozilla Public License 2.0
6 stars 9 forks source link

add flag to pause at end of scripts before creating image #120

Open aerickson opened 8 months ago

aerickson commented 8 months ago

When debugging, I often want to inspect the image before creating an image.

Potential implementation: Use https://developer.hashicorp.com/packer/docs/provisioners/breakpoint to implement this. Add a flag that will inject this provisioner at the end of the Packer process.

aerickson commented 1 month ago

Currently working around with monopacker build monopacker-testing-image --packer-args '-on-error=ask' (the packer args) and the debugging-fail script.