Releases: solo-io/packer-plugin-arm-image
Releases · solo-io/packer-plugin-arm-image
v0.2.8
Re-add sleep of 2 sec before looking for partitions (#172) This fixes issue #162 and #165. I refactored the timeout handling, with #169 by increasing the existing timeout and removing the additional 2 sec sleep, because the 2 sec sleep was not working in all cases. Unfortunately, the increase alone is not sufficient, so I'm re-adding the 2 sec sleep again.
v0.2.7
v0.2.6
Fix 'file already closed' error for compressed images (#137) When unpacking compressed images that are not compressed as zip archives (e.g. gzip, xz) the image would unpack nearly all of the way and then would fail with an error like: 'read |0: file already closed' as is documented in GitHub issue [61](https://github.com/solo-io/packer-plugin-arm-image/issues/61). As the decompression is offloaded to an external tool for these compression types and the data is streamed through a reader and writer in order to allow reporting on progress, we ensure that the exec.Cmd instance for the external decompression tool is not torn down until the associated reader is closed. The [docs](https://pkg.go.dev/os/exec#Cmd.StdoutPipe) for Cmd.StdoutPipe explain this in more detail.