Megan Marsh
91aa5f8bbb
resolve conflicts; fix to work with hookedprovisioner which has been added since PR was made
2018-06-07 15:53:18 -07:00
Marc Carmier
a5f802ec01
Add unit tests for DebuggedProvisionner
2018-06-07 14:09:26 -07:00
Marc Carmier
93f5bbbf45
Add waiting for key between provisioner
2018-06-07 14:09:26 -07:00
Josh Soref
c5482b3e7e
spelling: warnings
2018-03-14 03:29:50 +00:00
Josh Soref
c49c40ac41
spelling: targeted
2018-03-14 03:24:39 +00:00
Josh Soref
5dd9be653a
spelling: should
2018-03-14 03:22:32 +00:00
Josh Soref
d3dc5ba6d3
spelling: provisioner
2018-03-14 02:15:21 +00:00
Josh Soref
785b42368d
spelling: easily
2018-03-13 07:40:52 +00:00
Josh Soref
8dfafa6a5e
spelling: dispatchable
2018-03-13 07:38:01 +00:00
Matthew Hooker
1418a42bf5
Remove telemetry error reporting message.
...
This seems to cause some confusion, and it's not needed anyway
2018-02-20 10:54:20 -08: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
ebe995c0ff
run goimports
2018-01-22 17:21:10 -08:00
Matthew Hooker
c28a50af16
try to fix transient test failure
2017-11-30 16:30:37 -08:00
Matthew Hooker
b07a0cd6f0
fix tests
...
always sort telemetry options
2017-11-14 16:39:03 -08:00
Matthew Hooker
49c20e3b1c
bump telemetry timeout to 2s
2017-11-14 16:30:44 -08:00
Matthew Hooker
a5197840df
add config key reporting
2017-11-14 16:30:44 -08:00
Matthew Hooker
3e3768ec3e
fix tests
2017-11-14 16:30:43 -08:00
Matthew Hooker
46f41d1f12
WIP: add options to telemetry
2017-11-14 16:30:43 -08: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
68287566b8
Merge pull request #5167 from hashicorp/fix5147
...
preserve left-side whitespace in output
2017-08-28 14:22:34 -07:00
Sean Chittenden
cd84b17923
Fix building packer on GOOS=solaris
...
Update to golang/x/sys/unix is coming in the subsequent commit.
2017-08-14 10:34:06 -07:00
Megan Marsh
d733be711a
Merge pull request #5238 from hashicorp/fix5237
...
do not wait for rpc upload command to return
2017-08-11 09:33:35 -07:00
Matthew Hooker
2d3b639c7b
don't need a waitgroup for uploading files
2017-08-10 17:02:23 -07:00
Matthew Hooker
b05643cd47
increase telemetry report timeout
2017-08-10 16:57:20 -07:00
Luke Farnell
d9a5b69403
clean up ineffectual assignments
2017-08-07 13:20:01 -04:00
Matthew Hooker
6d997d82e0
preserve left-side whitespace in output
2017-07-24 14:24:28 -07:00
Megan Marsh
07decf99ad
quick patch to make ansible work again
2017-07-19 10:28:13 -07:00
Megan Marsh
b2d5fcd48a
move wait earlier
2017-07-05 12:27:59 -07:00
Megan Marsh
9ee97aaa2a
while I'm at it, kill this race condition in uploads, too
2017-07-03 13:30:11 -07:00
Megan Marsh
d8637751a3
rpc/communicator fix race condition that causes stdout from ssh provisioner to be truncated
2017-07-03 12:19:13 -07:00
Matthew Hooker
5e3a119069
increase telemetry timeout
2017-06-26 10:36:37 -07:00
Matthew Hooker
8681ea6026
report panic comment and shorter timeout
2017-06-21 15:56:29 -07:00
Matthew Hooker
5da9b3de61
Telemetry logging changes
2017-06-21 15:22:49 -07:00
Matthew Hooker
beb338b78b
remove unneeded logs
2017-06-19 13:08:53 -07:00
Matthew Hooker
f534b85ee9
get chris's nits.
2017-06-16 17:23:41 -07:00
Matthew Hooker
2d581dfc7b
fix tests.
2017-06-15 14:08:17 -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
048e316645
s/TargettedUi/TargetedUI/
2017-03-29 12:44:42 -07:00
Matthew Hooker
79287d7e47
simplify some code
2017-03-28 20:36:20 -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
Matthew Hooker
230079f73a
spell fixes
2017-03-28 20:36:19 -07:00
Ash Berlin
242ed49ecb
Use bufio.Scanner in BasicUi.Ask so we can read whole lines
...
The previous version used fmt.Fscanln which sounds like it should scan
for a whole line, but it actually errors if there is more than a single
word/token given. You can see this here https://play.golang.org/p/1RYXdtPSbk
And looking at the only usage of this function in core it won't break
anything to change it to actually return whole lines instead.
line, err := ui.Ask("[c] Clean up and exit, [a] abort without cleanup, or [r] retry step (build may fail even if retry succeeds)?")
Closes #4474
2017-01-29 14:10:14 +00:00
Matthew Hooker
f1175c1921
parallels/vmware: don't wait for shutdown command.
...
Resolves #4134
replaces/ closes #4379
Leaving Hyper-V builder alone for now until we can get a case that reproduces.
2017-01-20 01:44:18 -08:00
Rickard von Essen
f6c611da5b
Merge pull request #3940 from bhcleek/fix-fastpath
...
allow ssh communicator's Upload fastpath to execute
2016-11-05 19:58:33 +01:00
Matthew Hooker
d920b3fbf4
run gofmt
2016-11-01 14:08:04 -07:00
Matthew Hooker
892d5e82c9
expect_disconnect option
...
provisioner/shell: Adds option to fail if the remote server disconnects
us.
2016-10-21 11:39:03 -07:00
Billie H. Cleek
b4f6d40001
allow ssh communicator's Upload fastpath to execute
...
Add os.FileInfo implementation to packer/rpc, and use it to pass
Upload's *os.FileInfo argument through the RPC boundary.
2016-09-28 23:22:04 -07:00