packer-cn/command
Wilken Rivera 3c282de6c3 Add maps for statically vendored components
This change adds a new set of maps for builders, provisioners, and
post-processors that store reference to components that were once part
of Packer and are now vendored. This file acts as a single place for
defining this vendored components, which are then merged into the main
components maps to be used in Packer.

Quick test to ensure the exoscale-import post-processor is still loaded
```
// Validate that exoscale-import is in the know post-procoessors list
~>  packer.test build docker_centos_shell_provisioner.pkr.hcl
Error: Unknown post-processor type "badlynamed-import"

  on docker_centos_shell_provisioner.pkr.hcl line 18:
  (source code not available)

known post-processors: [ucloud-import digitalocean-import docker-push
googlecompute-export manifest vsphere-template docker-tag vsphere checksum
docker-import exoscale-import yandex-export compress googlecompute-import
yandex-import vagrant-cloud alicloud-import amazon-import artifice shell-local
docker-save vagrant]

// Validate that exoscale-import get loaded
~>  packer.test build docker_centos_shell_provisioner.pkr.hcl
Error: Failed preparing post-processor-block "exoscale-import" ""

  on docker_centos_shell_provisioner.pkr.hcl line 18:
  (source code not available)

4 error(s) occurred:

* api_key must be set
* api_secret must be set
* image_bucket must be set
* template_zone must be set

==> Wait completed after 2 microseconds

==> Builds finished but no artifacts were created.
```
2021-03-09 10:09:13 -05:00
..
enumflag move the various flag packages from helper to command, since command is the only package that uses them. 2020-11-16 14:23:35 -08:00
flag-kv move the various flag packages from helper to command, since command is the only package that uses them. 2020-11-16 14:23:35 -08:00
flag-slice move the various flag packages from helper to command, since command is the only package that uses them. 2020-11-16 14:23:35 -08:00
test-fixtures check for nil config map (#10730) 2021-03-05 11:10:00 +01:00
build.go change template parsing error to include warning about file extensions (#10652) 2021-02-18 09:59:30 +01:00
build_cancellation_test.go pin packer to golang 1.16 (#10702) 2021-03-02 11:43:58 +01:00
build_cleanup_script_test.go fix tests 2020-05-08 17:46:33 +02:00
build_parallel_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
build_test.go Fix force flag for hcl2 provisioners and post-processors (#10571) 2021-02-05 10:57:14 +01:00
build_timeout_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
build_windows_test.go Update build_windows_test.go 2020-07-07 12:00:36 +02:00
cli.go add docs 2021-02-12 15:31:13 +01:00
command_test.go remove sdk 2020-12-17 13:29:25 -08:00
config_file_unix.go test: manually-installed-single-component-plugin-works 2021-02-11 16:35:08 +01:00
config_file_windows.go test: manually-installed-single-component-plugin-works 2021-02-11 16:35:08 +01:00
configtype_enumer.go packer console for HCL2 (#9359) 2020-06-05 17:23:54 +02:00
console.go (2) Implement datasources (#10440) 2021-01-20 10:37:16 +01:00
console_test.go console: allow to use console when there are untyped vars (#9864) 2020-09-02 17:19:56 +02:00
core_wrapper.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
exec_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
fix.go remove sdk 2020-12-17 13:29:25 -08:00
fix_test.go remove sdk 2020-12-17 13:29:25 -08:00
fmt.go enable Packer fmt to read from stdin 2021-01-19 15:30:34 -08:00
fmt_test.go remove sdk 2020-12-17 13:29:25 -08:00
hcl2_upgrade.go check for nil config map (#10730) 2021-03-05 11:10:00 +01:00
hcl2_upgrade_test.go Improve upgrade error and transform all variables with template eng to locals 2021-02-23 16:51:13 +01:00
init.go addrs: remove Plugin.ForDisplay func, the String one does the job 2021-02-15 15:32:42 +01:00
init_test.go Add test case for non-github hostname 2021-02-16 14:03:29 -05:00
inspect.go (2) Implement datasources (#10440) 2021-01-20 10:37:16 +01:00
inspect_test.go HCL2: allow calling env as input var default value (#10240) 2020-11-11 11:27:32 +01:00
meta.go remove sdk 2020-12-17 13:29:25 -08:00
plugin.go Add maps for statically vendored components 2021-03-09 10:09:13 -05:00
signal.go remove sdk 2020-12-17 13:29:25 -08:00
utils.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
utils_test.go fix tmpdir creation 2021-02-11 15:17:05 +01:00
validate.go add machine readable to the cli help func and docs (#10658) 2021-02-19 11:17:47 +01:00
validate_test.go HCL2 Parse packer.required_plugins block + packer init (#10304) 2021-02-02 18:05:04 +01:00
vendored_plugins.go Add maps for statically vendored components 2021-03-09 10:09:13 -05:00
version.go packer.io prefix removal, html extension remove for in-code errors 2020-04-07 17:53:22 -04:00
version_test.go command: version tests 2014-10-27 20:58:44 -07:00