Megan Marsh
e54b1cedd9
text/template turns out to swallow custom error types.
2019-07-08 15:39:46 -07:00
Megan Marsh
2bbc3d50d7
better error handling when using interpolate funcs; don't swallow func errors
2019-07-08 13:49:14 -07:00
Adrien Delorme
2eef6a1492
Merge pull request #7726 from hashicorp/packer-interpolate
...
Packer console
2019-06-12 11:00:11 +02:00
Adrien Delorme
ddb4d77dc8
Update packer/core.go
...
remove commented log line
2019-06-11 11:09:22 +02:00
Megan Marsh
ca99cbd2d2
remove loglines
2019-06-10 11:34:57 -07:00
Megan Marsh
1a9adc29b3
fixing interpolation
...
fix sensitive_vars test which never worked but somehow was passing before this change.
2019-06-10 11:30:52 -07:00
Megan Marsh
b8ac1a800d
implement a packer console analogous to the terraform console
2019-06-05 16:35:22 -07:00
Adrien Delorme
d8d5631dc2
allow to set provisioner timeout from buildfile
2019-04-08 20:09:21 +02:00
Megan Marsh
b52ee14776
remove unreachable code
2019-03-14 10:05:10 -07:00
Megan Marsh
86c3c44afe
switch on err type not string
2019-03-13 14:59:05 -07:00
Megan Marsh
bf0d7b3620
make it work and add tests
2019-03-13 10:49:13 -07:00
Megan Marsh
7cb31714ad
Allow user variables to be interpreted within the variables section of the template.
2019-03-13 10:49:13 -07:00
Adrien Delorme
0f7065f6b1
post-processor except: don't match empty names
2019-02-20 12:38:03 +01:00
Adrien Delorme
dd3e2c255c
respect a 'only' defined in a post-processor
2019-02-01 15:50:06 +01:00
Adrien Delorme
074a74ec38
make sure 'only' completely ignores post-processor
...
before this commit, if one would put a 'only' inside the post-processor definition, the post process could be skipped
2019-02-01 15:21:41 +01:00
Adrien Delorme
58245f2557
break a chain of post-processors when one is skipped & make `-only`
...
"blind" to post-processors
* to avoid trouble
* other arrays of post processors might still be there !
* add docs
* update tests
2019-01-11 14:08:30 +01:00
Adrien Delorme
61ade0e127
allow to use --only with post-processors
2019-01-10 15:44:34 +01:00
Adrien Delorme
4bf3cd44fc
allow to skip a post processor
2019-01-10 15:44:34 +01:00
Megan Marsh
8a6441a7a5
add tests for SensitiveVars
2018-08-21 10:28:22 -07:00
Megan Marsh
ff6a039d5b
replace scrubconfig with packer.LogSecretFilter.Set
...
filter winrm password from logs
Add new root-level packer template option, sensitive-variables, to tell us what user variables to mark sensitive.
2018-08-20 15:35:55 -07:00
Matthew Hooker
31fcfe4bc2
PoC for filtering logs
2018-08-20 15:20:21 -07:00
Josh Soref
5dd9be653a
spelling: should
2018-03-14 03:22:32 +00:00
Matthew Hooker
7382382727
Add telemetry reporting through checkpoint
...
Will report builders/provisioner/post-processor types used per build,
and whether or not the build passed.
Will also report any panics we see.
You may opt out of this reporting by setting the environment variable
`CHECKPOINT_DISABLE`.
2017-06-15 13:21:11 -07:00
Matthew Hooker
81522dced0
move packer to hashicorp
2017-04-04 13:39:01 -07:00
Matthew Hooker
d920b3fbf4
run gofmt
2016-11-01 14:08:04 -07:00
Chris Bednarski
b3eacc5c2b
Updated test to verify expected behavior
2015-07-13 19:32:28 -07:00
Mitchell Hashimoto
2498ad02c8
packer: validate minimum version [GH-2310]
2015-06-29 11:49:45 -07:00
Mitchell Hashimoto
1b775cca2e
packer: core interpolates Push
2015-05-29 15:41:52 -07:00
Mitchell Hashimoto
579264bb5b
command/push: interpolate
2015-05-29 15:35:55 -07:00
Mitchell Hashimoto
639e63fd7c
packer: test for template path
2015-05-29 14:29:32 -07:00
Mitchell Hashimoto
590997df44
packer: automatically validate when creating a core
2015-05-28 14:43:15 -07:00
Mitchell Hashimoto
e0a9215e47
packer: test for environment variables interpolation
2015-05-28 14:40:45 -07:00
Mitchell Hashimoto
1ee2b014a6
packer: remove Ui/Cache from CoreConfig
2015-05-27 20:09:52 -07:00
Mitchell Hashimoto
53e77eacea
packer: overrides work
2015-05-26 09:46:04 -07:00
Mitchell Hashimoto
26c7ac2d90
packer: post-processors
2015-05-26 09:28:59 -07:00
Mitchell Hashimoto
b25ae21e13
packer: run provisioners
2015-05-26 09:14:29 -07:00
Mitchell Hashimoto
c12072ecad
packer: tests around interpolated names
2015-05-25 18:15:07 -07:00
Mitchell Hashimoto
dc74ec5612
packer: remove Environment
2015-05-25 17:29:10 -07:00
Mitchell Hashimoto
3ebfe06ec8
packer: render build names
2015-05-23 16:12:32 -07:00
Mitchell Hashimoto
d74dacc4c0
packer: Core.Build
2015-05-23 15:08:50 -07:00
Mitchell Hashimoto
ded13a8b10
packer: Core, and template validate
2015-05-23 14:48:07 -07:00