Commit Graph

5468 Commits

Author SHA1 Message Date
Alvaro Miranda 04b33f902f Merge pull request #1 from kikitux/bf-backquotes-makefile
remove backquotes from Makefile
2015-10-14 17:54:26 +13:00
Alvaro Miranda 81f3296dd5 remove backquotes from Makefile
backquotes get evaluated in WARN message, replacing with simple quotes
2015-10-14 17:54:01 +13:00
Chris Bednarski a4eba1102b Switch bool chan to struct chan for less memory usage 2015-10-12 22:04:13 -07:00
Chris Bednarski 445595c6b5 Merge pull request #2825 from mitchellh/b-2793
Add explicit wait after Communicator.Download to make sure serveSingleCopy completes
2015-10-12 19:01:47 -07:00
Chris Bednarski 4856544027 Add a comment to indicate why we're waiting on the channel 2015-10-12 18:42:17 -07:00
Chris Bednarski b51cd5406a Add explicit wait after Communicator.Download to make sure serveSingleCopy completes 2015-10-12 18:12:22 -07:00
Chris Bednarski 4f59480adb Merge pull request #2812 from mitchellh/sethvargo/faster_deploy
Use a faster deploy script
2015-10-12 16:40:26 -07:00
Chris Bednarski f01956405b Merge pull request #2654 from mitchellh/b-xmlpath
Update dependency to an SSL-enabled path; this was migrated from launchpad to github
2015-10-12 16:39:35 -07:00
Eric Johnson 96d522fb64 Merge pull request #2811 from sparkprime/verbatim_account
account_file can be verbatim JSON string
2015-10-12 15:57:52 -07:00
Chris Bednarski 6e75a49f89 Merge pull request #2824 from mitchellh/b-ugorji
Switch from hashicorp/go-msgpack to the original upstream ugorgi/go to fix a slew of race conditions
2015-10-12 14:16:41 -07:00
Chris Bednarski 74d604e5a8 Switch from hashicorp/go-msgpack to the original upstream ugorgi/go to fix a slew of race conditions 2015-10-12 13:50:24 -07:00
Chris Bednarski ff6d448886 Merge pull request #2814 from mitchellh/b-2793-repro
Add a test case to validate download file size when downloading from docker
2015-10-12 13:38:52 -07:00
Mark Peek 1aad5cf6d5 provisioner/windows-restart: remove race in test 2015-10-12 13:20:18 -07:00
Mark Peek f401e765df Merge pull request #2822 from markpeek/markpeek-alt-rand
Initialize the random seeding in main and the RPC server (for plugins)
2015-10-12 13:17:28 -07:00
Mark Peek e5a713ff01 Alternative fix for #2641: make random script name actually random 2015-10-11 13:31:09 -07:00
Mark Peek 45829c30e5 builder/amazon/*: fix go vet 2015-10-11 12:18:23 -07:00
Mark Peek 268ce81dd3 helper/communicator: allow docker custom communicator 2015-10-11 11:48:16 -07:00
Mark Peek 2306f4a4e4 Fixes #2699: catch invalid communicator types 2015-10-11 11:20:50 -07:00
Mark Peek 44fd528645 Merge pull request #2819 from markpeek/markpeek-win-restart-sync
Syncronize cancellation in windows-restart tests
2015-10-11 11:14:26 -07:00
Mark Peek d87b68efe8 Syncronize cancellation in windows-restart tests
Two windows-restart tests would timeout and fail due to the cancellation
thread firing before the cancel object was created. This change syncronizes
the start of the threads to prevent this from occurring.
2015-10-10 14:32:39 -07:00
Chris Bednarski 5eddaa77bf Corrected sprintf formatting in error messages 2015-10-08 17:43:54 -07:00
Chris Bednarski cc153aa71f Added a test to verify byte size for larger files downloaded from docker 2015-10-08 17:15:27 -07:00
Chris Bednarski 8ff5c07d0c Add a new packer template for testing large file downloads 2015-10-08 16:37:14 -07:00
Mark Peek 23d5e50600 Merge pull request #2790 from dragon788/patch-1
Added correct format for compression_level
2015-10-08 15:33:44 -07:00
Chris Bednarski bd82df7aa1 Merge pull request #2712 from bensojona/f-document-artifact-types
Document recommended artifact-types
2015-10-08 14:34:17 -07:00
Chris Bednarski d21e9ffddf Merge pull request #2810 from mitchellh/b-make-release
Split bin from prerelease guard so we can cross-compile dev builds
2015-10-08 14:33:34 -07:00
Seth Vargo 8f727219d9 Use a faster deploy script 2015-10-08 13:50:50 -04:00
Mark Peek 1bff430984 Merge pull request #2759 from eranchetz/patch-1
Remove errant backslash in build-image.html.markdown
2015-10-08 06:39:37 -07:00
Dave Cunningham 1fea962a3a account_file can be verbatim JSON string 2015-10-08 02:40:18 -04:00
Chris Bednarski e384df4397 Add warning that dev builds should not be shipped to production 2015-10-07 16:51:04 -07:00
Chris Bednarski 52e7f89571 Split bin from prerelease guard so we can cross-compile dev builds 2015-10-07 15:33:01 -07:00
Mark Peek 31d3678814 Merge pull request #2807 from markpeek/markpeek-docker-tmpdir
Workaround docker-machine shared folder mapping issue
2015-10-07 14:14:02 -07:00
Mark Peek 77bfd1de2e Workaround docker-machine shared folder mapping issue
When using docker-machine on a Mac only the /Users folder is shared with
the VM. Uploads fail since the normal tmpdir is not shared. This change
uses the local packer directory (usually when run in the users home
folders) allowing it to work without setting TMPDIR explicitly. A better
fix would be to use the docker API directly but that would force users
to use docker API version 20+.
- fixes #901, fixes #1752, fixes #2436, fixes #2675, fixes #2697.
2015-10-07 13:29:53 -07:00
Mark Peek a3a7c974d0 Merge pull request #2422 from vtolstov/qemu
fix qemu driver and builder
2015-10-06 21:30:38 -07:00
Mark Peek 5ef142c8bd Fixes #2777: isotime interpolation uses InitTime 2015-10-06 16:45:30 -07:00
Adrian Bridgett da771c469e spot_price of "0" to mean on demand
this helps avoid duplicating packer templates just to select
spot instances or not
2015-10-06 22:13:17 +01:00
Adrian Bridgett 8349e22df9 Add ebs_optimized support 2015-10-06 21:36:21 +01:00
Sébastien Fievet 3495204382 Fix ansible inventory example 2015-10-06 15:04:04 +02:00
Chris Becker 647a072257 Fix template error on ansible provisioner documentation 2015-10-05 13:19:21 -04:00
James Nugent b60e1fd862 Add suggestion to AWS Instance builder error message
A common cause of the failure of the bundle volume step is missing the
ec2-bundle-vol command on the target instance. This commit adds a note
about this to the error message produced as Packer output if the
bundling step fails (it is already in the documentation).
2015-10-02 17:06:33 -04:00
Mark Peek 2411c779d1 Make qemu ssh_wait_timeout example more reasonable 2015-10-01 22:52:06 -07:00
Chris Bednarski 4116dff925 Merge pull request #2789 from rk295/patch-1
Confusing to specify this twice
2015-10-01 11:44:03 -07:00
Shawn Neal 357e494ee3 Fix failing Windows guest command tests 2015-10-01 10:04:59 -07:00
Shawn Neal 7195b2f35b Add Windows to Chef provisioner documentation 2015-10-01 10:04:59 -07:00
Shawn Neal 8014dac742 Add Windows support to Chef provisioners
- Add guest os type to change the default Chef-Solo and Chef-Client provisioner behavior. Paths, commands etc.
- Change Chef installation download location to chef.io domain
- Add encrypted data bag secret configuration
2015-10-01 10:04:59 -07:00
Shawn Neal affebcda86 Windows Powershell commands need to specify shell
The WinRM communicator defaults to the regular Windows cmd shell so we need to tell Packer to use Powershell when running these guest commands.
2015-10-01 10:02:11 -07:00
Shawn Neal 67f6d6cdb5 Adds provisioner guest commands abstraction
Provisioners often needs to perform command line operations on guests that may have different syntax and shells. The GuestCommands type abstracts these away so provisioners can avoid littering branching logic all over the place.
2015-10-01 10:02:10 -07:00
dragon788 c48e2319ab Added correct format for compression_level 2015-09-30 20:40:58 -05:00
Robin Kearney 87f2f7c96d Confusing to specify this twice 2015-09-30 13:13:46 +01:00
Eric Herot 5091f0a221 Add documentation about the encrypted data bag secret flag to the Chef Client provisioners section 2015-09-29 14:52:49 -04:00