Commit Graph

802 Commits (6c40bfb0cdfd4e3ae3132d240387999cfb4500a2)

Author SHA1 Message Date
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)
4 years ago
Jenna Goldstrich 0bac9b6f63
Remove a skip for darwin arm64 (m1/m2 macs) for exec tests. (#12088)
4 years ago
Lucas Bajolet 296562614f hcl2_upgrade: fix liniting issues with fmt.Sprintf
4 years ago
Lucas Bajolet 3c249c0d42 hcl2_upgrade: replace passthroughs by pre-visit
4 years ago
Wilken Rivera 7cb0c98925
Merge pull request #12033 from hashicorp/error_messages_rework
4 years ago
Zach Shilton 879fd9035c
fix: update redirected and broken links (#12060)
4 years ago
Lucas Bajolet 61c810e720 command: rework HCP-related error messages
4 years ago
Lucas Bajolet 35496e533d packer: include builder type in HCP name for JSON
4 years ago
Wilken Rivera 12e9316f94 Add documenation for HCPConfigMode type
4 years ago
Wilken Rivera 148d5e3a2d Add initialize method to Iteration
4 years ago
Wilken Rivera 7f7f397124 Rename withHCLBucketConfiguration function
4 years ago
Wilken Rivera a4a97d5c05 Move datasource data into its own bucketConfiguratioOpts func
4 years ago
Wilken Rivera cf9304266e Consolidate bucket configuration logic
4 years ago
Lucas Bajolet b3188637bf registry: load bucket slug in command/registry
4 years ago
Lucas Bajolet 9267d933bc command: report multiple errors in bad HCP config
4 years ago
Lucas Bajolet ae15ed339c registry: add function to detect explicit HCP
4 years ago
Lucas Bajolet c0e7e7bd3c hcl2: report error on build without sources
4 years ago
Lucas Bajolet 61c56e161c hcl2: add example for undefined variable set warn
4 years ago
Lucas Bajolet 73af77aeed command: enhance error message on no build to run
4 years ago
Lucas Bajolet e94b8766cb build: exit immediately if no builds and diags
4 years ago
Lucas Bajolet 3f6c0a5f23 command: move func to extract stdout/err in tests
4 years ago
Eng Zer Jun f5ec0f1c57 test: use `T.Setenv` to set env vars in tests
4 years ago
Lucas Bajolet 779a31a25f hcp: use HCP_PACKER_REGISTRY to disable HCP
4 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)
5 years ago
Adrien Delorme c54326b030 remove all non official plugins from vendored plugins
5 years ago
Adrien Delorme faeef90910 remove ansible plugin from bundled plugins
5 years ago
Adrien Delorme 8acd453065 remove vagrant plugin from bundled plugins
5 years ago
Adrien Delorme bfe200d920 remove qemu plugin from bundled plugins
5 years ago
Adrien Delorme d9d96169d8 remove googlecompute plugin from bundled plugins
5 years ago
Adrien Delorme 4efa69cfff remove docker plugin from bundled plugins
5 years ago
Adrien Delorme 7a21f141c8 remove vsphere plugin from bundled plugins
5 years ago
Adrien Delorme eea27b02d5 remove parallels plugin from bundled plugins
5 years ago
Adrien Delorme 36c30706f1 remove vmware plugin from bundled plugins
5 years ago
Adrien Delorme eca7b442c1 remove virtualbox plugin from bundled plugins
5 years ago
Adrien Delorme 37ac5b260f remove azure plugin from bundled plugins
5 years ago
Adrien Delorme bb33cf9845 remove amazon plugin from bundled plugins
5 years ago
Rohit Kothari 6a569b964f
Show successful message upon successful packer validate (#11337)
5 years ago
Adrien Delorme a766d59d82
packer init: better error handling with a special care for gh rate limit errors (#11330)
5 years ago
Megan Marsh e3719dd8a4
Merge pull request #11319 from hashicorp/add_iteration_id
5 years ago
Megan Marsh b763b79d9f implement contextual variable packer.iteration_id
5 years ago
Adrien Delorme 254e020b08
Allow to use build variables in a post processor (#11323)
5 years ago
Adrien Delorme 3135714465
rename all things 'inexist[e|a]nt' to 'nonexistent' & fix tests (#11325)
5 years ago
teddylear 11f5da8b5a
fix: Removing test debris (#11300)
5 years ago
Adrien Delorme fee561f8ea
use the github.com/scaleway/packer-plugin-scaleway now (#11296)
5 years ago
Wilken Rivera d6a5234412 Unregister packer-image-iteration datasource
5 years ago
Wilken Rivera b10df3abb7
Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221)
5 years ago
Megan Marsh 48de1fc7da allow datasources to use other datasources
5 years ago
Megan Marsh fd80f8da8c Add two new data sources -- hcp-packer-iteration and hcp-packer-image. These data sources together will allow users to query hcp_packer for the image_ids they need to use as source images to their builds, with a simple UI and clear outputs.
5 years ago
Adrien Delorme 27d89ac8d4
update all plugins + pin go to go 1.17 (#11237)
5 years ago
Megan Marsh d6792820f4
Merge pull request #11227 from hashicorp/hcp_data_source
5 years ago
Adrien Delorme c083b53c4f
packer fix: state that the command does not work for hcl files (#11238)
5 years ago
Adrien Delorme d25373a8d6
move inspec provisioner out (#11230)
5 years ago
Adrien Delorme acb01cb800
move salt-masterless provisioner out (#11229)
5 years ago
Megan Marsh 980deeb684 Implement hcp packer data source. This is a rough copy of the terraform provider's data source, to make beta user experience consistent across both sources
5 years ago