Commit Graph

50 Commits (d-powershell-generated-docs)

Author SHA1 Message Date
sylviamoss 39a8dee4ea add tests and update override example
6 years ago
Adrien Delorme c7b35dd6bc
HCL2: add post-processors block to run multiple post-processor after a build (#9638)
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 d84d956e36 add language coment !
6 years ago
Adrien Delorme a15ad19411 test builds can be 'excepted'
6 years ago
Adrien Delorme c1c8b8d22a complete -> recipes
6 years ago
Adrien Delorme 10e5d952ac unquote 'cooking...'
6 years ago
Adrien Delorme 0deaa5d2a5 add a complete tests for builder variables + only/except
6 years ago
Adrien Delorme 7969b690de Revert "Share build info with Provisioner and Post-Processor via HCL2 variables (#9444)"
6 years ago
Adrien Delorme 3d371a2d5d
Add complete HCL2 examples + allow to name a singular build.source blocks (#9490)
6 years ago
Sylvia Moss 99046c9178
Share build info with Provisioner and Post-Processor via HCL2 variables (#9444)
6 years ago
Adrien Delorme 6f4d79799b add thorough test
6 years ago
Adrien Delorme dabcc866e5 add another inspect test
6 years ago
Adrien Delorme fb337f8867
hcl work on only/except (#9454)
6 years ago
Moss daaeccd8b0 Skip consecutives post-processors
6 years ago
Moss bfb9df0039 fix except flag for JSON and HCL2
6 years ago
Wilken Rivera f672f5bd9b command/validate: Add support for HCL2 configuration files
6 years ago
Adrien Delorme bac9c74447
packer console for HCL2 (#9359)
6 years ago
Tom Dyas c0a6623ea2
teach HCL mode builds to honor -only and -except options (#8947)
6 years ago
Adrien Delorme 2af40c762b
HCL2: pass on builder type and name (#8956)
6 years ago
Adrien Delorme d068430abf
make sure locals are evaluated only once variables are + test this (#8918)
6 years ago
Adrien Delorme ad8dafa3bd
HCL: add tests and fixes around var-file and var args (#8914)
6 years ago
Sylvia Moss 23fa3107a3
Render variables one time on prepare method (#8727)
6 years ago
Moss a0329ef196 Simplify testing template
6 years ago
Moss 7466c4fdca Return exit code 1 when builder type is not found
6 years ago
Megan Marsh 59efa0faee rename option to error-cleanup-privisoner, which I think is clearer
7 years ago
Megan Marsh 0683bc409b add test for error-cleanup provisioner, and fix tests by fixing null builder to use an actual none communicator instead of skipping communicator generation altogether
7 years ago
Adrien Delorme 583d93790f add tests for cancellation while building
7 years ago
Adrien Delorme a2cc2532ea add TestBuildParallel_Timeout to test errors on parallel builds
7 years ago
Adrien Delorme 852af993e6 BuildParallel: test with 3 parallel builds
7 years ago
Adrien Delorme 14486003a1 fix test to be race free
7 years ago
Brett Wandel aaf56ffd26 added: testing
7 years ago
Adrien Delorme d7b1b597a7 test provisionning timeout
7 years ago
Megan Marsh 217a93fc30 fix build_test.go on windows. This code needs to not be run in parallel, or else there can be race conditions with the post-processors all trying to access the same file at once. Additionally, I changed the test template itself so that it is valid code on either bash or cmd. Finally, I found and fixed a small bug in naming the file extensions in shell local inline scripts.
7 years ago
Adrien Delorme 7e2d86731e tests: add a post-processor that creates an unnamed.txt file
7 years ago
Adrien Delorme 074a74ec38 make sure 'only' completely ignores post-processor
7 years ago
Adrien Delorme 58245f2557 break a chain of post-processors when one is skipped & make `-only`
7 years ago
Adrien Delorme 4bf3cd44fc allow to skip a post processor
7 years ago
Adrien Delorme 905db043c4 command.TestBuildOnlyFileCommaFlags: create some files using post processors
7 years ago
Matthew Hooker ddf23a2c46
Complete Atlas deprecation.
8 years ago
Megan Marsh fdca364f4b allow user to mark variables as sensitive for packer push
9 years ago
Justin Campbell 16adc3f7cc
command/push: Add test for var-file push to Atlas
9 years ago
Chris Bednarski b3eacc5c2b Updated test to verify expected behavior
11 years ago
Chris Bednarski 28a13111b8 Add stub for validate test
11 years ago
Chris Bednarski 94e1f83070 Added a black-box acceptance test for -only and -except build flags
11 years ago
Mitchell Hashimoto 1bcb52a093 command/fix: validate resulting template [GH-2075]
11 years ago
Mitchell Hashimoto 579264bb5b command/push: interpolate
11 years ago
Mitchell Hashimoto c9504d50ba command/push: send artifact true/false if we're post-processing
11 years ago
Mitchell Hashimoto fbc1551048 command/push: partially implemented, tests
11 years ago