Commit Graph

105 Commits (70aa0516deb7cd0d03d321fa025fa5ae581bb883)

Author SHA1 Message Date
Megan Marsh 14baa769ab improve error message
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
6 years ago
psinghal20 6492995a20
feat: add strftime function in templates
6 years ago
Megan Marsh 4c29f88a0a reuse code
7 years ago
Megan Marsh a2824a942d remove extraneous import
7 years ago
Megan Marsh c57e0a9837 remove logline
7 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
Megan Marsh 5bd8fee708 Creates a final "cleanup" provisioner to run if an error occurs during a provisioning step, allowing users to perform any custom cleanup tasks that must happen on the VM before the VM is shut down and destroyed.
7 years ago
Adrien Delorme 0f14077664 Merge remote-tracking branch 'origin/master' into switch_sed_because_license
7 years ago
Adrien Delorme 3fe9d52e3f Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Adrien Delorme df0b06a87a make sed template call deprecated
7 years ago
Adrien Delorme adad25b50b fix switch statement
7 years ago
Adrien Delorme feb3da4f56 replace sed usage with replace and replace_all funcs
7 years ago
Adrien Delorme a279d2e071 template funcs: got force template funcs to be 'FuncGenerator'
7 years ago
Adrien Delorme 3b8f3c5a8b remove any reference to Push
7 years ago
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Megan Marsh e54b1cedd9 text/template turns out to swallow custom error types.
7 years ago
Megan Marsh 2bbc3d50d7 better error handling when using interpolate funcs; don't swallow func errors
7 years ago
Adrien Delorme c11ef90cb6 use interpolate.NewContext() instead of testConfigTemplate(t)
7 years ago
Adrien Delorme d8d5631dc2 allow to set provisioner timeout from buildfile
7 years ago
Adrien Delorme a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner
7 years ago
Megan Marsh 056fcb7cea fix tests and add a few new ones
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Megan Marsh 12fc1fa751 default_keep_input_artifact
7 years ago
Megan Marsh bf0d7b3620 make it work and add tests
7 years ago
Brendan Devenney 328cbf4e42
Merge branch 'master' into feature/7322
7 years ago
Brendan Devenney 4d2a5fb9a2
Implement template marshalling logic
7 years ago
Brendan Devenney afba444373
Refactor rawTemplate to better align with real raw template structure
7 years ago
Brendan Devenney 610eecfc99
Track sensitive variable keys to support JSON template writing
7 years ago
Brendan Devenney d8793e3f85
Store comments in the Template structure
7 years ago
Adrien Delorme 944c00900e parse_test.go: still display file name in case of error
7 years ago
Adrien Delorme c12e9eea3a template/parse_test.go: name the post-processors to their type as it's now the default
7 years ago
Adrien Delorme b6b3cc901c template/parse_test.go: use diff for easier eye debug
7 years ago
Adrien Delorme 5eccbc702d name a post-processor to it's type if it is not named
7 years ago
Adrien Delorme 4bf3cd44fc allow to skip a post processor
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Wheeler Law 4582a55680 Formatting
7 years ago
Wheeler Law 1fdce9dada Tests are passing
7 years ago
Wheeler Law de3bdec567 Working now
7 years ago
Wheeler Law 65c1b039cc Added a sed function. Not quite working yet
7 years ago
Adrien Delorme 379336d9b2 make template/parse_test.go invisible to windows
7 years ago
Megan Marsh 174098ba29 implement vault template function for kv engine; add docs
8 years ago
Megan Marsh dfaf624f4c add template function allowing user to read keys from vault
8 years ago
Olivier Ceyral ee08365b02 Fix error message
8 years ago
Olivier Ceyral a906d1d630 Add consul template function
8 years ago
Megan Marsh 6356078d19 add a few more tests to split function
8 years ago
Megan Marsh 8fbce8c40c
Merge pull request #6357 from ladar/master
8 years ago
Megan Marsh 8a6441a7a5 add tests for SensitiveVars
8 years ago
Megan Marsh ff6a039d5b replace scrubconfig with packer.LogSecretFilter.Set
8 years ago