packer/hcl2template
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
..
addrs addrs: remove Plugin.ForDisplay func, the String one does the job 2021-02-15 15:32:42 +01:00
function hcl2_upgrade: special case: vsphere fix (#11216) 2021-08-25 14:20:08 +02:00
internal Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913) 2021-04-16 11:52:03 +02:00
repl packer console for HCL2 (#9359) 2020-06-05 17:23:54 +02:00
shim Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913) 2021-04-16 11:52:03 +02:00
testdata allow datasources to use other datasources 2021-09-03 16:10:39 -07:00
common_test.go Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221) 2021-09-13 21:07:54 -04:00
components.go Implicit required_plugin blocks (#10732) 2021-03-24 11:31:39 +01:00
decode.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
docs.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
formatter.go fix: print unchanged formatted file when using stdin (#11047) 2021-06-03 14:02:42 +02:00
formatter_test.go un-remove tests 2021-03-15 12:00:19 +01:00
functions.go hcl2_upgrade: special case: vsphere fix (#11216) 2021-08-25 14:20:08 +02:00
parser.go HCP Packer registry enabled Packer client (#11154) 2021-08-05 09:25:19 -04:00
plugin.go Allow to have dynamic blocks in a build block + tests (#10825) 2021-03-30 15:53:04 +02:00
registry.go Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221) 2021-09-13 21:07:54 -04:00
types.build.from.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
types.build.go Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221) 2021-09-13 21:07:54 -04:00
types.build.hcp_packer_registry.go Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221) 2021-09-13 21:07:54 -04:00
types.build.hcp_packer_registry_test.go Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221) 2021-09-13 21:07:54 -04:00
types.build.post-processor.go Fix {{packer_version}} interpolation regression (#11200) 2021-08-12 10:55:32 +02:00
types.build.provisioners.go Fix {{packer_version}} interpolation regression (#11200) 2021-08-12 10:55:32 +02:00
types.build_test.go Fix {{packer_version}} interpolation regression (#11200) 2021-08-12 10:55:32 +02:00
types.datasource.go remove unnecessary complexity 2021-09-07 09:21:00 -07:00
types.datasource_test.go allow datasources to use other datasources 2021-09-03 16:10:39 -07:00
types.hcl_post-processor.go create util function in hcl2 template that will load config values into hcl values without panicing if it finds something it cannot handle 2021-01-25 12:25:41 -08:00
types.hcl_provisioner.go create util function in hcl2 template that will load config values into hcl values without panicing if it finds something it cannot handle 2021-01-25 12:25:41 -08:00
types.hcl_ref.go Hcl2 input variables, local variables and functions (#8588) 2020-02-06 11:49:21 +01:00
types.packer_config.go Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221) 2021-09-13 21:07:54 -04:00
types.packer_config_test.go Allow to have dynamic blocks in a build block + tests (#10825) 2021-03-30 15:53:04 +02:00
types.required_plugins.go Implicit required_plugin blocks (#10732) 2021-03-24 11:31:39 +01:00
types.required_plugins_test.go Implicit required_plugin blocks (#10732) 2021-03-24 11:31:39 +01:00
types.source.go Fix {{packer_version}} interpolation regression (#11200) 2021-08-12 10:55:32 +02:00
types.source_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
types.variables.go HCL2 variables: split validation from getting value (#10843) 2021-03-30 14:58:26 -04:00
types.variables_test.go HCL2 variables: split validation from getting value (#10843) 2021-03-30 14:58:26 -04:00
utils.go Simplify error message when config file can't be "stat'd" (#10763) 2021-03-15 14:07:07 +01:00
version.go regenerate 2021-01-15 11:59:36 -08:00
version_required.go refactor packer version out of hcltemplate code. 2020-11-09 12:29:53 -08:00