Commit Graph

85 Commits (26629efbf0c8100fd31ddff0d520f6ea5fdfbf9e)

Author SHA1 Message Date
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
Ladar Levison 8fee49ab9f Added a 'split' function to parse template variables.
8 years ago
Krzysztof Wilczynski 7d80e37c14
Add new `packer_version` function.
8 years ago
Ben Root 5beca186d7 Unit test to verify that parsing fails on a certain kind of malformed JSON
9 years ago
Matthew Hooker 3fe1f20770
use json unmarshal instead of json decoder
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker d1b20b3d9c
remove a bunch of dead code.
9 years ago
Matthew Hooker db49f10cad
update changelog
9 years ago
Matthew Hooker 5ea0eb0ec6
print time.Time with %v
9 years ago
Matthew Hooker d920b3fbf4 run gofmt
9 years ago
Jake Champlin aca4aed47c Display better error messages on json.SyntaxError
10 years ago
Mark Peek 71ed8e4a38 Fix #2742: Include template line numbers on error
10 years ago
Mark Peek 5ef142c8bd Fixes #2777: isotime interpolation uses InitTime
11 years ago
Mitchell Hashimoto fd2d44c212 helper/config: copy buildname/buildtype properly
11 years ago
Mitchell Hashimoto 723b91ccf3 Merge pull request #2232 from mitchellh/f-build-name
11 years ago
Mitchell Hashimoto d6f8ec9315 Merge pull request #2230 from mitchellh/f-json-comments
11 years ago
Mitchell Hashimoto 1d94e0f8e3 template: abslute path for template path
11 years ago
Mitchell Hashimoto f1b3c8a7ae template/interpolate: build_name and build_type functions
11 years ago
Mitchell Hashimoto facbb6577d template: allow _ prefix to root level keys for comments [GH-2066]
11 years ago
James G. Kim d7c77895dc Add tests for only and except of post-processors
11 years ago
James G. Kim a5818b158f Fixes 'unknown configuration key' errors for 'only' and 'except'
11 years ago