Commit Graph

32 Commits

Author SHA1 Message Date
M. Marsh eb557af8bf
Merge branch 'master' into f-autocomplete 2018-04-26 11:18:37 -07:00
Matthew Hooker c6299972b9
s/boot_command/bootcommand/ 2018-04-19 14:26:31 -07:00
Matthew Hooker 673245afcf
Replace boot command parser with PEG parser. 2018-04-19 14:26:28 -07:00
SwampDragons 997f8e4a2a
Merge pull request #5318 from hashicorp/sigtermcleanup
Gracefully clean up on SIGTERM
2018-02-02 11:56:56 -08:00
Matthew Hooker c3eb54f183
log when loading config from environment 2017-12-14 11:26:09 -08:00
Jeremy Voorhis 40625777c1 Enable autocomplete for top-level commands 2017-10-13 11:57:44 -07:00
Matthew Hooker afd394e0bd
only output telemetry logs when enabled. 2017-10-05 14:31:24 -07:00
Matthew Hooker fdaf4ed8d3
Gracefully clean up on SIGTERM 2017-09-08 11:42:32 -07:00
Matthew Hooker 0af5b4d1ad
don't do any logging in realMain.
We should write to os.Stderr explicitly, like we already do.

don't warn if config lookup fails in main
2017-06-21 15:23:31 -07:00
Matthew Hooker f534b85ee9
get chris's nits. 2017-06-16 17:23:41 -07:00
Matthew Hooker 3898556caa
log per eng-003 2017-06-16 17:09:42 -07:00
Matthew Hooker 35332e4498
fix panic with deadlines. update panicwrap dep 2017-06-15 13:23:05 -07: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 d1b20b3d9c
remove a bunch of dead code.
https://github.com/dominikh/go-tools/tree/master/cmd/unused
2017-03-28 20:36:20 -07:00
Chris Bednarski 7a9c3bc2a0 Added -force truncation behavior for manifest, and added docs 2016-06-10 15:57:01 -07:00
Christopher Boumenot 728c496370 Move version to its own package. (#3460) 2016-04-21 13:19:43 -07:00
wrc 9674a30227 Fix -debug command line option misbehaviour: forbid stdin redirection to a pipe when run as plugin server 2016-03-13 13:14:44 +03:00
Chris Bednarski 33d1c17d29 Generate plugins.go from main.go 2016-02-05 11:17:05 -08:00
Mark Peek ba7814b0ed Merge pull request #2846 from markpeek/packer-tmp
Create docker temp files under packer.d when TMPDIR is not set
2015-10-26 17:09:22 -07:00
Chris Bednarski 7acdc1b6af Hide the plugin command from help output 2015-10-21 16:57:38 -07:00
Mark Peek 38c81cf3e3 Move ConfigFile() and ConfigDir() from package main to packer 2015-10-16 17:32:36 -07:00
Mark Peek e5a713ff01 Alternative fix for #2641: make random script name actually random 2015-10-11 13:31:09 -07:00
Mitchell Hashimoto 2498ad02c8 packer: validate minimum version [GH-2310] 2015-06-29 11:49:45 -07:00
Mitchell Hashimoto 511013dbe4 fix go vet warning 2015-06-13 17:05:38 -04:00
Mitchell Hashimoto 0dd80c0eca config file doesn't need to exist if set [GH-2225] 2015-06-13 10:17:42 -04:00
Mitchell Hashimoto 1ee2b014a6 packer: remove Ui/Cache from CoreConfig 2015-05-27 20:09:52 -07:00
Mitchell Hashimoto dc74ec5612 packer: remove Environment 2015-05-25 17:29:10 -07:00
Mitchell Hashimoto 9d89ca8e07 command: build should be converted to new API, compiles 2015-05-23 16:30:45 -07:00
Stefan Scherer 8b10e70bc8 fixed packer --version 2014-12-13 19:40:39 +01:00
Mitchell Hashimoto 8dbe0f065c Remove version from "packer" package 2014-10-27 20:51:34 -07:00
Mitchell Hashimoto bf9e734179 Rename some files, style 2014-10-27 20:42:41 -07:00