Commit Graph

41 Commits (poc/packer-init)

Author SHA1 Message Date
Sylvia Moss 9181a435aa
Make max_retries a string to allow variable interpolation (#9673)
6 years ago
Juan Manuel Mesa 75efe3fcd1
Clean linting issues for packages template and interpolate (#9120)
6 years ago
Sylvia Moss 553b1fb9f8
Add RetriedProvisioner to allow retry provisioners (#9061)
6 years ago
Moss a6d90babbf Add check for json duplicate fields
6 years ago
Lars Lehtonen c6e6220fef
template: replace deprecated os.SEEK_SET with io.SeekStart
6 years ago
Megan Marsh 14baa769ab improve error message
6 years ago
Megan Marsh 4c29f88a0a reuse code
6 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 3b8f3c5a8b remove any reference to Push
7 years ago
Adrien Delorme d8d5631dc2 allow to set provisioner timeout from buildfile
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 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
Megan Marsh 8a6441a7a5 add tests for SensitiveVars
8 years ago
Megan Marsh ff6a039d5b replace scrubconfig with packer.LogSecretFilter.Set
8 years ago
Matthew Hooker 3fe1f20770
use json unmarshal instead of json decoder
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
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 facbb6577d template: allow _ prefix to root level keys for comments [GH-2066]
11 years ago
James G. Kim a5818b158f Fixes 'unknown configuration key' errors for 'only' and 'except'
11 years ago
Mitchell Hashimoto 2b9e52e743 template: stores the path
11 years ago
Mitchell Hashimoto f8c877771d Merge branch 'f-packer-push-name'
11 years ago
Mitchell Hashimoto 2fb08be192 template: store Rawcontents
11 years ago
Mitchell Hashimoto 97a48e35bb template: ParseFile
11 years ago
Mitchell Hashimoto 2e4dd63912 template: parse push
11 years ago
Mitchell Hashimoto 43fbd26dc9 template: copy some description and min vesrion
11 years ago
Mitchell Hashimoto 839784b044 template: parse post-processors
11 years ago
Mitchell Hashimoto fbda5b119a template: variable parsing
11 years ago
Mitchell Hashimoto 4583ed6108 template: parse provisioners
11 years ago
Mitchell Hashimoto 95890003b7 template: builder parsing
11 years ago