Commit Graph

40 Commits (2dbfef57504d06ac27909297f2e97656956213b0)

Author SHA1 Message Date
Adrien Delorme 0e3fcb589b
Implicit required_plugin blocks (#10732)
5 years ago
Adrien Delorme ed091163be
HCL2 Parse packer.required_plugins block + packer init (#10304)
5 years ago
Sylvia Moss 291121dd55
(2) Implement datasources (#10440)
5 years ago
Adrien Delorme 52d2d7fe5f
Copy `MapOf...` plugin types back into Packer core (#10466)
5 years ago
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Megan Marsh 39ab646236
move plugin and rpc code into sdk; other minor tweaks (#10359)
5 years ago
Megan Marsh 5576bb5caa move packer config constants next to the packer config
5 years ago
Megan Marsh b69d69095e move postprocessor to sdk, fix generation code
5 years ago
Megan Marsh be5763ec41 move provisioner interface into sdk
5 years ago
Megan Marsh ada91b24e9 extract builder interface to sdk
5 years ago
Megan Marsh 9e47696dff move helper/config to bundle with the other template definitions
5 years ago
Adrien Delorme 2987d25335 simplify tests
6 years ago
Adrien Delorme 971254928a various fixes
6 years ago
Adrien Delorme 88175873e5 fix tests to actually check cty values & types
6 years ago
Adrien Delorme 6911495fc4 add VariableAssignment struct that help describe an input var assignment
6 years ago
Adrien Delorme 44616d3bff
refactor initialization out from packer configs + tests (#9627)
6 years ago
Adrien Delorme 125178d943
core: Decode: when in HCL2 decoding mode; reset the whole struct before preparing it. (#9622)
6 years ago
Adrien Delorme 0ed10f921f add test
6 years ago
Adrien Delorme 39261f3671 add hcl2 post processor type that reprepares itself
6 years ago
Adrien Delorme db6c3adbba add hcl2 provisioner type that reprepares itself
6 years ago
Adrien Delorme 7969b690de Revert "Share build info with Provisioner and Post-Processor via HCL2 variables (#9444)"
6 years ago
Sylvia Moss 99046c9178
Share build info with Provisioner and Post-Processor via HCL2 variables (#9444)
6 years ago
Jeremiah Snapp 0d7c5dc670
Enable only/except for provisioners and post-processors (#9357)
6 years ago
Adrien Delorme 0062160581 Update common_test.go
6 years ago
Adrien Delorme 5c2b8da63b get builds from PackerConfig instead of parser
6 years ago
Adrien Delorme 2df21496b3 hcl2template: let PackerConfig actually start a builder/provisioner/post-processor
6 years ago
Tom Dyas c0a6623ea2
teach HCL mode builds to honor -only and -except options (#8947)
6 years ago
Sylvia Moss 553b1fb9f8
Add RetriedProvisioner to allow retry provisioners (#9061)
6 years ago
Adrien Delorme c9ec967205 better testing
6 years ago
Adrien Delorme 710ebdcef5 add more test for var files
6 years ago
Adrien Delorme c8300b620a allow to use hcl files as var files in HCL mode
6 years ago
Adrien Delorme 59cc246942 Merge remote-tracking branch 'origin/master' into fix_8730
6 years ago
Adrien Delorme 50896d4ddf WIP
6 years ago
Sylvia Moss 591b684f08
Fix HCL2 local variables decoding to allow local usage within another local in the same locals block (#8755)
6 years ago
Adrien Delorme a8fcb2d91a
HCL2: add support for dynamic blocks, document for loops and splat expressions (#8720)
6 years ago
Adrien Delorme 79867ca26e add test for unset variable
6 years ago
Adrien Delorme 193dad46e6
Hcl2 input variables, local variables and functions (#8588)
6 years ago
Sylvia Moss 08b0bd1d2c
Fix HCL2 code generation for slices within another slice (#8669)
6 years ago
Adrien Delorme ee2d74ce9e
hcl2template/common_test.go: make testParse a helper (#8495)
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago