packer/internal/hcp
Lucas Bajolet ccb5a22bb4 hcp: remove duplicated build registration for JSON
In JSON templates, we register the builds to process on HCP at the
initialisation of the Registry.

However, during the HCP breakout, this code was duplicated with a slight
difference for the JSON templates, and the build names were registered
once during initialisation, with the expected full name, and once at the
start of PopulateIteration, with the truncated name.

This caused a bug when processing a template that contains a builder
with both a name and a type, as both would be registered, but only one
would complete, leading to the iteration being unable to complete.
2022-11-17 15:24:20 -05:00
..
api internal: reorganise registry/HCP code 2022-11-14 13:31:35 -05:00
env internal: reorganise registry/HCP code 2022-11-14 13:31:35 -05:00
registry hcp: remove duplicated build registration for JSON 2022-11-17 15:24:20 -05:00