Commit Graph

813 Commits (dev_version_changes)

Author SHA1 Message Date
Wilken Rivera da061169bc cmd/hcl2_upgrade: Don't error when using a HashiCorp plugin that is not installed
2 years ago
Wilken Rivera e8d5436228 Remove functions for detecting plugin usage
2 years ago
Wilken Rivera c65bb2fdca Remove amazon plugin from acceptance test
2 years ago
Wilken Rivera ac71611cf5 Remove all HashiCorp vendored plugins
2 years ago
Lucas Bajolet 020f18e37f command: remove unused FlagSetFlags enum
2 years ago
Lucas Bajolet c0e594738b init: warn if no requirements specified
2 years ago
guoguangwu 7eb6a45cd4 chore: remove refs to deprecated io/ioutil
2 years ago
guoguangwu 324e628b86 chore: unnecessary use of fmt.Sprintf
2 years ago
Lucas Bajolet eb9e1a4795 packer: remove implicit required plugins
3 years ago
hashicorp-copywrite[bot] 19055df3ec
[COMPLIANCE] License changes (#12568)
3 years ago
Wilken Rivera 99c79ecbd6
Add build tags to skip amd64 tests on darwin/arm64 (#12549)
3 years ago
Lucas Bajolet 3512a175a6 command: change wording for init's postitional arg
3 years ago
Lucas Bajolet d0198c8a17 packer: track bundled plugins usage on telemetry
3 years ago
Lucas Bajolet b522edca36 hcl2_upgrade: add required_plugins in out template
3 years ago
Lucas Bajolet a2930bda4f packer: warn on bundled plugins usage
3 years ago
Wilken Rivera 8982d4f168
Migrate external Parallels plugin to Parallels/packer-plugin-parallels (#12476)
3 years ago
Wilken Rivera d67bacc8d3
Remove community plugins from the vendored plugins list (#12436)
3 years ago
Wilken Rivera 06fe087097
Merge pull request #12380 from hashicorp/bump-go-1.20
3 years ago
Wilken Rivera 65f6428fce
Remove external archived provisioner plugins (#12374)
3 years ago
Wilken Rivera 13a24db0de
Remove IONOS plugins from vendored plugins (#12385)
3 years ago
Wilken Rivera eca75a6847 Run make fmt to fix checks
3 years ago
Wilken Rivera ddd7ee98b6 Bump go.mod to 1.20
3 years ago
Wilken Rivera 08d1dfe36c
Remove external plugin for Digital Ocean (#12376)
3 years ago
Lucas Bajolet 31921f0c9f packer: track template type in spans
3 years ago
Wilken Rivera e0a5286645
cmd/console: Add config-type flag to command help (#12360)
3 years ago
Wilken Rivera f678c06396
Migrate external UCloud plugin to ucloud/packer-plugin-ucloud (#12335)
3 years ago
Wilken Rivera 20c2d48df7
Migrate external Linode plugin to linode/packer-plugin-linode (#12329)
3 years ago
hashicorp-copywrite[bot] b7df3ca36f
[COMPLIANCE] Add Copyright and License Headers (#12254)
3 years ago
Wilken Rivera 095959ed6d Fix crash when variables block is undefined
3 years ago
Lucas Bajolet ec1d2e68f5 hcp: generate fingerprints on each new build
3 years ago
Lucas Bajolet 4d559e23b7
hcl2: don't warn on excluded post-processor (#12187)
3 years ago
Lucas Bajolet ca197afe9b hcp: remove superfluous return value on GetBuilds
3 years ago
Wilken Rivera 9002ac263f
Update BuildBlock with valid HCL2Ref (#12167)
3 years ago
Wilken Rivera 3b9274aa04
command/validate: Add `-evaluate-datasources` flag to command help text (#12152)
3 years ago
Wilken Rivera dbeeab448a
cmd/hcl2_upgrade: Generate variable block for all referenced user input variables (#12136)
3 years ago
Lucas Bajolet bb2384c56a command/validate: add option to eval datasources
3 years ago
Wilken Rivera 57cbe4e203
core: Update validation options for undeclared variables (#12104)
3 years ago
Wilken Rivera 606e6c48f1 internal: reorganise registry/HCP code
3 years ago
Lucas Bajolet 1cee460d0d hcp: extract all HCP-related code to hcp package
3 years ago
Lucas Bajolet dad07c6097 hcp: keep map of build names for hcp tracking
3 years ago
Lucas Bajolet f3e4c2c3bb tmp: move HCP logic to unwrap builds/post
3 years ago
Lucas Bajolet 68ddb2f89d
hcl2_upgrade: add share_image_gallery workaround (#12087)
3 years ago
Jenna Goldstrich 0bac9b6f63
Remove a skip for darwin arm64 (m1/m2 macs) for exec tests. (#12088)
3 years ago
Lucas Bajolet 296562614f hcl2_upgrade: fix liniting issues with fmt.Sprintf
3 years ago
Lucas Bajolet 3c249c0d42 hcl2_upgrade: replace passthroughs by pre-visit
3 years ago
Wilken Rivera 7cb0c98925
Merge pull request #12033 from hashicorp/error_messages_rework
3 years ago
Zach Shilton 879fd9035c
fix: update redirected and broken links (#12060)
3 years ago
Lucas Bajolet 61c810e720 command: rework HCP-related error messages
3 years ago
Lucas Bajolet 35496e533d packer: include builder type in HCP name for JSON
3 years ago
Wilken Rivera 12e9316f94 Add documenation for HCPConfigMode type
3 years ago
Wilken Rivera 148d5e3a2d Add initialize method to Iteration
3 years ago
Wilken Rivera 7f7f397124 Rename withHCLBucketConfiguration function
3 years ago
Wilken Rivera a4a97d5c05 Move datasource data into its own bucketConfiguratioOpts func
3 years ago
Wilken Rivera cf9304266e Consolidate bucket configuration logic
3 years ago
Lucas Bajolet b3188637bf registry: load bucket slug in command/registry
3 years ago
Lucas Bajolet 9267d933bc command: report multiple errors in bad HCP config
3 years ago
Lucas Bajolet ae15ed339c registry: add function to detect explicit HCP
3 years ago
Lucas Bajolet c0e7e7bd3c hcl2: report error on build without sources
3 years ago
Lucas Bajolet 61c56e161c hcl2: add example for undefined variable set warn
3 years ago
Lucas Bajolet 73af77aeed command: enhance error message on no build to run
3 years ago
Lucas Bajolet e94b8766cb build: exit immediately if no builds and diags
3 years ago
Lucas Bajolet 3f6c0a5f23 command: move func to extract stdout/err in tests
3 years ago
Eng Zer Jun f5ec0f1c57 test: use `T.Setenv` to set env vars in tests
3 years ago
Lucas Bajolet 779a31a25f hcp: use HCP_PACKER_REGISTRY to disable HCP
3 years ago
Wilken Rivera 11e71729f1
Remove Oracle plugin from the list of vendored plugins (#11983)
4 years ago
Lucas Bajolet a298617ecb command/build: warn and exit when nothing to build
4 years ago
Lucas Bajolet 7cd095062a parser: extract HCP logic out of the HCL parser
4 years ago
Lucas Bajolet 4be7e38474 command: move GetConfig methods to meta
4 years ago
Wilken Rivera e3ad29d2aa
Update third-party plugin imports (#11912)
4 years ago
teddylear 805225a113
feat: add http datasource (#11658)
4 years ago
Wilken Rivera a7c37ee34d
Add tests for the packer plugins subcommand (#11660)
4 years ago
Wilken Rivera 1c398a73b4
Set default file extension for binary removal on Windows (#11627)
4 years ago
Wilken Rivera ea3c73a480
Set default file extension for binary installations on Windows (#11625)
4 years ago
Adrien Delorme 0362a3ec10
all shells: Pass env vars through a key value store (#11569)
4 years ago
Adrien Delorme e03ad29ca0
Sanitize var code (#11566)
4 years ago
Adrien Delorme 9f4a1281dd
Add `packer plugins` command and subcommands to interact with plugins (#11553)
4 years ago
teddylear 1d01ad3651
feat: print all locals errors when there is a circular error (#11527)
4 years ago
Wilken Rivera 58fa1f96e2
Temporarily revert the use of indirect redirects for external plugins (#11430)
4 years ago
Adrien Delorme 3278c1a817
Packer SVC acc tests (#11274)
4 years ago
Wilken Rivera 4a0fbd911a
Add support for variable interpolation to hcp_packer_registry and build blocks. (#11421)
4 years ago
Adrien Delorme 710d109c55
HCL2: fix a crash when an HCL2 component is nil after a misconfiguration (#11382)
4 years ago
Adrien Delorme c54326b030 remove all non official plugins from vendored plugins
4 years ago
Adrien Delorme faeef90910 remove ansible plugin from bundled plugins
4 years ago
Adrien Delorme 8acd453065 remove vagrant plugin from bundled plugins
4 years ago
Adrien Delorme bfe200d920 remove qemu plugin from bundled plugins
4 years ago
Adrien Delorme d9d96169d8 remove googlecompute plugin from bundled plugins
4 years ago
Adrien Delorme 4efa69cfff remove docker plugin from bundled plugins
4 years ago
Adrien Delorme 7a21f141c8 remove vsphere plugin from bundled plugins
4 years ago
Adrien Delorme eea27b02d5 remove parallels plugin from bundled plugins
4 years ago
Adrien Delorme 36c30706f1 remove vmware plugin from bundled plugins
4 years ago
Adrien Delorme eca7b442c1 remove virtualbox plugin from bundled plugins
4 years ago
Adrien Delorme 37ac5b260f remove azure plugin from bundled plugins
4 years ago
Adrien Delorme bb33cf9845 remove amazon plugin from bundled plugins
4 years ago
Rohit Kothari 6a569b964f
Show successful message upon successful packer validate (#11337)
4 years ago
Adrien Delorme a766d59d82
packer init: better error handling with a special care for gh rate limit errors (#11330)
4 years ago
Megan Marsh e3719dd8a4
Merge pull request #11319 from hashicorp/add_iteration_id
4 years ago
Megan Marsh b763b79d9f implement contextual variable packer.iteration_id
4 years ago
Adrien Delorme 254e020b08
Allow to use build variables in a post processor (#11323)
4 years ago
Adrien Delorme 3135714465
rename all things 'inexist[e|a]nt' to 'nonexistent' & fix tests (#11325)
4 years ago
teddylear 11f5da8b5a
fix: Removing test debris (#11300)
4 years ago