12043 Commits

Author SHA1 Message Date
Gennady Lipenkov
be7e0ae4f8 go mod vendor && go mod tidy 2019-04-12 01:29:34 +03:00
Gennady Lipenkov
ddd2106973 Remove LICENSE and THIRD-PARTY 2019-04-12 01:13:27 +03:00
Gennady Lipenkov
f9c7606452 Adopt new Builder interface signature 2019-04-12 01:10:52 +03:00
Gennady Lipenkov
8f53ca5e5e Add 'yandex' plugin as Builder 2019-04-12 01:00:54 +03:00
Gennady Lipenkov
8e4e314553 Bulk update 'yandex' builder
Squashed commit of the following:

commit ccc020231780179d241d46eef7c0ba103366aed0
Author: Yandex.Cloud Bot <ycloud-bot@yandex.ru>
Date:   Tue Apr 9 14:38:30 2019 +0000

    sync upstream
2019-04-12 01:00:54 +03:00
Gennady Lipenkov
a12c5d57ec Bulk update builder (doc, acc test)
Squashed commit of the following:

commit 372db94a5c4bc81bd4149de5ea9c21946362f3f9
Author: Yandex.Cloud Bot <ycloud-bot@yandex.ru>
Date:   Thu Apr 4 13:16:03 2019 +0000

    sync upstream
2019-04-12 01:00:54 +03:00
Gennady Lipenkov
d816bb1700 Init doc page
Squashed commit of the following:

commit adff177ad2e3fc9d73bcf9703c7443ae33922dca
Author: Yandex.Cloud Bot <ycloud-bot@yandex.ru>
Date:   Tue Mar 26 20:52:08 2019 +0000

    sync upstream
2019-04-12 01:00:54 +03:00
Gennady Lipenkov
9f3884814c add dependencies to vendor/ 2019-04-12 01:00:54 +03:00
Gennady Lipenkov
af333a5de0 Initial version 2019-04-12 01:00:51 +03:00
Megan Marsh
54d2b32d8c
Cut version 1.4.0 v1.4.0 2019-04-11 11:29:21 -07:00
Megan Marsh
b8555d4681 cut release 1.4.0 2019-04-11 11:19:03 -07:00
Megan Marsh
e9c3dcdd6d update changelog 2019-04-11 11:17:34 -07:00
Megan Marsh
09d2418552
Merge pull request #7270 from hashicorp/go_mod_vendor
make go mod manage deps
2019-04-11 09:42:50 -07:00
Adrien Delorme
63f5bbbc73 use our own copy of iochan.LineReader 2019-04-11 14:25:24 +02:00
Adrien Delorme
032527ecfe Revert "Merge pull request #7391 from carlpett/proxmox-builder"
This reverts commit b7d62b2ae0bbf3c6bc36aaa1baba47eb7d0f6d95, reversing
changes made to c36eaf16f70432fe1b9a992e4a891d9215b76b8c.
2019-04-11 14:19:25 +02:00
Adrien Delorme
267e2253a2 check if running go mod vendor has an effect on vendor directory and if so fail 2019-04-11 14:19:25 +02:00
Adrien Delorme
aa6d5e1d74 Update CONTRIBUTING.md
to explain go mod usages
2019-04-11 14:19:25 +02:00
Adrien Delorme
5a896367ef make sure CI builds with GO111MODULE=off 2019-04-11 14:19:25 +02:00
Adrien Delorme
aee73d745d update code after go mod update 2019-04-11 14:19:24 +02:00
Adrien Delorme
2f97dc2933 go mod vendor && go mod tidy 2019-04-11 14:19:24 +02:00
Adrien Delorme
dcd21d37da
Merge pull request #7489 from hashicorp/context_provisioner
Context provisioner
2019-04-11 11:55:29 +02:00
Megan Marsh
212645b91c
Merge pull request #7466 from hashicorp/provisioner_timeout
Provisioner timeout
2019-04-10 13:21:50 -07:00
Megan Marsh
7742ae1981
Merge pull request #7440 from hashicorp/context_provisioner
Context parameter for cancellation in Builder, Provisioner, Hook & PostProcessor
2019-04-10 10:50:59 -07:00
Adrien Delorme
e7d30ee783
Merge pull request #7485 from kaneshin/patch-1
Fix minor typo for GCP docs
2019-04-10 09:09:01 +02:00
Shintaro Kaneko
e1164a6a56
Fix minor typo for GCP docs 2019-04-10 10:47:50 +09:00
Megan Marsh
c822d58c74
Merge pull request #7479 from shanamatthews/patch-1
update account link
2019-04-09 10:27:15 -07:00
Adrien Delorme
8565a30c69 TimeoutProvisioner: also display an error log when the context times out 2019-04-09 17:46:38 +02:00
Adrien Delorme
6ff392d713 Update windows_container_communicator.go
after merge
2019-04-09 17:46:38 +02:00
Adrien Delorme
d72040f4fa move retry code into the common/retry pkg and make retry context aware 2019-04-09 17:46:38 +02:00
Adrien Delorme
e5cc032938
Merge pull request #7482 from schrej/patch-1
Docs: fix typo in openstack builder
2019-04-09 17:05:50 +02:00
Jakob
65afb675d1
Fix typo in openstack builder docs 2019-04-09 16:51:39 +02:00
Shana Matthews
9e5726b98a
update account link 2019-04-08 19:48:58 -07:00
Adrien Delorme
aa3cb5be63 document common provisioner parameters 2019-04-08 20:09:22 +02:00
Adrien Delorme
0b4ada9690 make sleep provisioner available to packer 2019-04-08 20:09:22 +02:00
Adrien Delorme
d7b1b597a7 test provisionning timeout 2019-04-08 20:09:21 +02:00
Adrien Delorme
06941a86a3 make the file builder run provisioners for testing purposes 2019-04-08 20:09:21 +02:00
Adrien Delorme
2b06d74019 add a sleep provisioner
mainly for testing purposes
2019-04-08 20:09:21 +02:00
Adrien Delorme
eadb40da91 Update communicator_test.go
fix tess
2019-04-08 20:09:21 +02:00
Adrien Delorme
2a90ce6178 packer communicator: use iochan.LineReader instead of iochan.LineReader(in)
* as it's the recommended way
2019-04-08 20:09:21 +02:00
Adrien Delorme
d8d5631dc2 allow to set provisioner timeout from buildfile 2019-04-08 20:09:21 +02:00
Adrien Delorme
f555e7a9f2 allow a provisioner to timeout
* I had to contextualise Communicator.Start and RemoteCmd.StartWithUi
NOTE: Communicator.Start starts a RemoteCmd but RemoteCmd.StartWithUi will run the cmd and wait for a return, so I renamed StartWithUi to RunWithUi so that the intent is clearer.
Ideally in the future RunWithUi will be named back to StartWithUi and the exit status or wait funcs of the command will allow to wait for a return. If you do so please read carrefully https://golang.org/pkg/os/exec/#Cmd.Stdout to avoid a deadlock
* cmd.ExitStatus to cmd.ExitStatus() is now blocking to avoid race conditions
* also had to simplify StartWithUi
2019-04-08 20:09:21 +02:00
Adrien Delorme
f7cd2b9334 add a 5 seconds timeout to provisioner hook 2019-04-08 20:09:21 +02:00
Adrien Delorme
a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner 2019-04-08 20:09:01 +02:00
Megan Marsh
0a52d3afc9 update changelog 2019-04-08 11:04:13 -07:00
Megan Marsh
b7d62b2ae0
Merge pull request #7391 from carlpett/proxmox-builder
Implement Proxmox builder
2019-04-08 09:54:11 -07:00
Megan Marsh
c36eaf16f7
Merge pull request #7473 from MisterMiles/patch-1
Update shell-local.html.md
2019-04-08 09:53:39 -07:00
Megan Marsh
efd568c10c fix docs 2019-04-08 09:30:23 -07:00
Calle Pettersson
65cd5bbd29 Change disk size config parameter name 2019-04-06 08:10:28 +02:00
Megan Marsh
1d7b6fd810
Merge pull request #7474 from hashicorp/test_timeout_bump
increase timeout for tests to reduce flakiness in travis
2019-04-05 13:00:45 -07:00
Megan Marsh
12bd1c5f96 increase timeout for tests to reduce flakiness in travis 2019-04-05 10:57:47 -07:00