hashicorp / packer-plugin-googlecompute

Packer plugin for Google Compute Builder
https://www.packer.io/docs/builders/googlecompute
Mozilla Public License 2.0
23 stars 51 forks source link

post-processor: fix ignored error for artifact #199

Closed lbajolet-hashicorp closed 7 months ago

lbajolet-hashicorp commented 7 months ago

The import post-processor attempts to find a tarball from the artifact's files in order to upload it to GCS. The error returned by the code that attempts to get the tarball's path was ignored during the refactor, and the linter on GHA did not point to the error itself, leading me to believe this was a fluke due to the large diff.

This was not a fluke, and this is now fixed with this commit.