Commit Graph

2119 Commits

Author SHA1 Message Date
Mitchell Hashimoto 23ad5442ec builder/docker: perform cleanup in run method, not prematurely 2013-11-09 10:15:25 -08:00
Mitchell Hashimoto 44a41451f0 builder/docker: Communicator.Start doesn't block 2013-11-09 10:13:27 -08:00
Mitchell Hashimoto d5ce8ddb4a builder/docker: export the final image 2013-11-09 09:48:36 -08:00
Mitchell Hashimoto d27ceaf509 builder/docker: remove the exit code file when we're done 2013-11-09 00:47:37 -08:00
Mitchell Hashimoto 2e7574e360 builder/docker: command output and exit codes work
/cc @mwhooker - CCing you on this because it is also ridiculous. See the
big comments
2013-11-09 00:33:36 -08:00
Mitchell Hashimoto eabd32f3ce builder/docker: comment the sleep on remote exec 2013-11-09 00:06:45 -08:00
Mitchell Hashimoto c1f0fe3f3f builder/docker: fix upload for copy to work 2013-11-09 00:05:44 -08:00
Mitchell Hashimoto 5f76ed68c4 builder/docker: Remote execution works!
/cc @mwhooker - WOW. By luck, I had a hunch that maybe something like
this might be going on based on straces I was reading. Check:
https://github.com/dotcloud/docker/issues/2628

Anyways, this works now. No more blocker!
2013-11-08 23:59:25 -08:00
Mitchell Hashimoto 797c44bfc1 builder/docker: a non-working communicator 2013-11-08 23:43:41 -08:00
Mitchell Hashimoto 2e080ece6d builder/docker: start a container 2013-11-08 22:17:46 -08:00
Mitchell Hashimoto 4db609b24c builder/docker: tests for some exec stuff 2013-11-08 22:02:47 -08:00
Mitchell Hashimoto 034e04cc1e builder/docker: pull images 2013-11-08 22:00:57 -08:00
Mitchell Hashimoto f9f10ed512 main: Default config has docker 2013-11-08 16:57:34 -08:00
Mitchell Hashimoto 6047c9a469 plugin/builder-docker 2013-11-08 16:57:13 -08:00
Mitchell Hashimoto 3feab1dea1 builder/docker: boilerplate 2013-11-08 16:55:02 -08:00
Mitchell Hashimoto 652ceb5e0f Ignore Vagrant stuff 2013-11-08 16:41:42 -08:00
Mitchell Hashimoto c8a6def83d builder/vmware: downcase more vmx data 2013-11-08 14:21:31 -08:00
Mitchell Hashimoto e4f1dcb6f9 builder/vmware: Fusion suppresses upgrade requests 2013-11-08 12:19:09 -08:00
Mitchell Hashimoto 781332b297 builder/vmware: fix local output dir exists check 2013-11-08 11:48:04 -08:00
Mitchell Hashimoto 2d0270ac65 website: document need for AMI tools 2013-11-08 11:23:12 -08:00
Mitchell Hashimoto 3adbd09639 builder/amazon/chroot: fix compile error 2013-11-08 11:19:10 -08:00
Mitchell Hashimoto f94203c27a Update CHANGELOG 2013-11-08 11:05:21 -08:00
Mitchell Hashimoto 3780b57a1f builder/amazon/chroot: allow no such file errors on upload [GH-588] 2013-11-08 10:53:54 -08:00
Mitchell Hashimoto 17f1ee3e98 builder/amazon/chroot: quote commands and pass through a shell [GH-581] 2013-11-08 10:22:56 -08:00
Mitchell Hashimoto 02984bdb82 Merge pull request #609 from fgo/patch-2
website: Fix spelling in Provision documentation [ci skip]
2013-11-07 23:03:45 -08:00
Mitchell Hashimoto 52fb77a883 builder/vmware: case-insensitive VMX creation [GH-608] 2013-11-07 22:06:30 -08:00
Francis Go c7db2daf80 Fix spelling in Provision documentation [ci skip] 2013-11-08 17:03:15 +11:00
Mitchell Hashimoto d138e6a925 Merge pull request #607 from fgo/patch-1
website: Fix spelling in Use Cases documentation [ci skip]
2013-11-07 21:35:28 -08:00
Mitchell Hashimoto 47ac6897de builder/vmware: start/stop ESXi5 VMX with proper path 2013-11-07 21:22:12 -08:00
Mitchell Hashimoto ba8a0dbec0 builder/vmware: only unregister if registration success 2013-11-07 21:19:24 -08:00
Mitchell Hashimoto e5ae542142 builder/vmware: register the VMX to the proper path on esx 2013-11-07 21:18:25 -08:00
Mitchell Hashimoto 2ccc5e80c7 builder/vmware: log when writing a VMX 2013-11-07 21:03:15 -08:00
Mitchell Hashimoto b228723903 builder/vmware: for remote builds, put VMX in temp dir 2013-11-07 21:02:12 -08:00
Mitchell Hashimoto a4b54f1cf3 builder/vmware: set proper default disk type for esx 2013-11-07 20:57:05 -08:00
Mitchell Hashimoto 148d7c06ab builder/vmware: make upload dst,src like normal go 2013-11-07 20:47:15 -08:00
Mitchell Hashimoto 2c8843b4de builder/vmware: esx file check works properly 2013-11-07 20:46:34 -08:00
Francis Go e8daef7ca7 Fix spelling in Use Cases documentation 2013-11-08 13:22:25 +11:00
Mitchell Hashimoto 1bd60be25f website: esxi docs 2013-11-07 12:44:40 -08:00
Mitchell Hashimoto 7d893894df website: vmware esxi docs 2013-11-07 12:41:02 -08:00
Mitchell Hashimoto 8a8ac430d1 builder/vmware: upload the ISO to the ESXi machine 2013-11-07 12:28:41 -08:00
Mitchell Hashimoto 859a6f0623 Update CHANGELOG 2013-11-07 12:03:11 -08:00
Mitchell Hashimoto 483cda18c1 builder/vmware: make things more Go-like
This commit currently breaks the builder though, since the ISo is now
uploaded back into ESX.
2013-11-07 12:01:18 -08:00
Doug MacEachern a828a9a064 builder/vmware: new driver to support building images directly on ESX
This driver talks directly to ESX over ssh, using vim-cmd, esxcli and sh;
no vCenter or VIM api required.

Remote* config properties added to support a remote driver

RemoteDriver interface extends Driver:
* SSHAddress - esx flavor uses esxcli to find the VM's ip address
* Download - esx flavor downloads iso files to a vmfs datastore

Driver can optionally implement the following interfaces:
* VNCAddressFinder - esx flavor needs to check remote ports
* OutputDir - esx driver needs a local and remote OutputDir
* Inventory - esx driver needs to register/unregister VMs
* HostIPFinder - esx flavor needs an address on the same network as esx itself
2013-11-07 12:01:18 -08:00
Matthew Hooker b55252b332 Merge pull request #601 from vogxn/master
Update README.md to include updatedeps target
2013-11-07 05:22:06 -08:00
Prasanna Santhanam 826c230a40 Update README.md to include updatedeps target
When new dependencies are included builds on your localrepo will fail
until you have all the latest dependencies in the GOPATH. After doing
updatedeps, make will generate the packer binary.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-11-07 18:48:01 +05:30
Mitchell Hashimoto 636e647c45 builder/qemu: set proper HTTPIP for boot command [GH-597] 2013-11-05 22:05:56 -08:00
Mitchell Hashimoto 5ededd527a builder/qemu: catch early exits of qemu 2013-11-05 22:03:43 -08:00
Mitchell Hashimoto 300897c116 website: remove outdated qemu docs 2013-11-05 21:46:38 -08:00
Mitchell Hashimoto 170e2459ff builder/qemu: remove constructor, more Go-like 2013-11-05 21:43:20 -08:00
Mitchell Hashimoto 3bc0c4aa25 builder/qemu: simplify driver, make things more Go-like 2013-11-05 21:40:49 -08:00