packer/packer
Wilken Rivera b10df3abb7
Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221)
* Update handling of registry artifacts

This change uses the github.com/hashicorp/packer-plgin-sdk/packer/registryimage for querying
Artifact State for HCP Registry Image metadata. To handle the conversion
of the RPC response, mapstructure was introduced to conversion state
data into an registryimage.Image before publishing to a image bucket.

* Update to use registry image from packersdk

* Rename internal registry service pkg

* Update vendored plugins to latest version

* The latest release of Amazon, GoogleCompute, and Azure have support
  for publishing images to the HCP Packer registry.
2021-09-13 21:07:54 -04:00
..
plugin-getter document the plugin-getter.Get interface (#11196) 2021-08-11 16:32:38 +02:00
test-fixtures Fix {{packer_version}} interpolation regression (#11200) 2021-08-12 10:55:32 +02:00
build.go HCP Packer registry enabled Packer client (#11154) 2021-08-05 09:25:19 -04:00
build_test.go remove sdk 2020-12-17 13:29:25 -08:00
builder_test.go packer: builder prepare can return warnings 2013-11-02 22:31:12 -05:00
client_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
cmd_builder.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
cmd_builder_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
cmd_datasource.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
cmd_datasource_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
cmd_hook.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
cmd_hook_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
cmd_post_processor.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
cmd_post_processor_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
cmd_provisioner.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
cmd_provisioner_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
core.go Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221) 2021-09-13 21:07:54 -04:00
core_test.go Fix {{packer_version}} interpolation regression (#11200) 2021-08-12 10:55:32 +02:00
fixconfigmode_enumer.go fix enum 2020-05-08 16:54:44 +02:00
maps.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
packer_test.go packer: Core, and template validate 2015-05-23 14:48:07 -07:00
plugin.go Implemented DEFAULT_NAME handling for datasource plugins (#11026) 2021-05-18 10:47:43 +02:00
plugin_client.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
plugin_discover_test.go Multi plugin naming (#10608) 2021-02-15 11:10:43 +01:00
plugin_folders.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
plugin_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
post_processor_mock.go Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913) 2021-04-16 11:52:03 +02:00
post_processor_mock.hcl2spec.go Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913) 2021-04-16 11:52:03 +02:00
progressbar.go update all plugins + pin go to go 1.17 (#11237) 2021-09-02 12:15:13 +02:00
progressbar_solaris.go remove sdk 2020-12-17 13:29:25 -08:00
progressbar_test.go Switch to explicitly declaring TrackProgress on UI, using an underlying progress bar specifically stored on the struct. Export UiProgressTracker. These changes allow us to optionaly switch to the NoopProgressTracker when no TTY is set. 2020-09-21 16:05:14 -07:00
provisioner.go remove sdk 2020-12-17 13:29:25 -08:00
provisioner_test.go remove sdk 2020-12-17 13:29:25 -08:00
provisioner_timeout.go remove sdk 2020-12-17 13:29:25 -08:00
registry_artifact.go HCP Packer registry enabled Packer client (#11154) 2021-08-05 09:25:19 -04:00
registry_builder.go Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221) 2021-09-13 21:07:54 -04:00
registry_post_processor.go Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221) 2021-09-13 21:07:54 -04:00
run_interfaces.go Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221) 2021-09-13 21:07:54 -04:00
telemetry.go remove sdk 2020-12-17 13:29:25 -08:00
telemetry_test.go add config key reporting 2017-11-14 16:30:44 -08:00
testing.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
ui.go remove sdk 2020-12-17 13:29:25 -08:00
ui_test.go remove sdk 2020-12-17 13:29:25 -08:00