Commit Graph

734 Commits (v1.8.6)

Author SHA1 Message Date
Wilken Rivera f4522fa783 backport of commit 6c9e653120
3 years ago
Lucas Bajolet 79e989d03e hcl2: don't warn on excluded post-processor (#12187)
3 years ago
Lucas Bajolet b2a98664c9 hcp: remove superfluous return value on GetBuilds
3 years ago
Wilken Rivera 76f7922288 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)
3 years ago
Lucas Bajolet a298617ecb command/build: warn and exit when nothing to build
3 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