packer-cn/packer
Adrien Delorme ed091163be
HCL2 Parse packer.required_plugins block + packer init (#10304)
This adds the new `required_plugins` block to be nested under the packer block.

Example:
```hcl
packer {
  required_plugins {
    aws = {
      version = ">= 2.7.0"
      source = "azr/aws"
    }
    azure = ">= 2.7.0"
  }
}
```

For example on darwin_amd64 Packer will install those under :
* "${PACKER_HOME_DIR}/plugin/github.com/azr/amazon/packer-plugin-amazon_2.7.0_x5.0_darwin_amd64"
* "${PACKER_HOME_DIR}/plugin/github.com/hashicorp/azure/packer-plugin-azure_2.7.0_x5.0_darwin_amd64_x5"

+ docs
+ tests
2021-02-02 18:05:04 +01:00
..
plugin-getter HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
test-fixtures fix tests by moving mock hooks and communicators, and BasicUi definition, into SDK 2020-11-30 14:30:30 -08:00
build.go remove sdk 2020-12-17 13:29:25 -08: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 HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
core_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01: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 HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01: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 HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +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 remove sdk 2020-12-17 13:29:25 -08:00
post_processor_mock.hcl2spec.go remove sdk 2020-12-17 13:29:25 -08:00
progressbar.go noop progress bar is nil progress bar 2020-09-24 12:26:09 +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
run_interfaces.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01: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