Commit Graph

723 Commits

Author SHA1 Message Date
Mitchell Hashimoto b10abe30e0 builder/docker: StepPull test, driver abstraction for tests 2013-11-09 12:12:23 -08:00
Mitchell Hashimoto 13267c856f builder/docker: test StepTempDir 2013-11-09 11:58:20 -08:00
Mitchell Hashimoto b3dc5411ef builder/docker: config validation test 2013-11-09 11:47:32 -08:00
Mitchell Hashimoto 027d00b2fc builder/docker: perform cleanup in run method, not prematurely 2013-11-09 10:15:25 -08:00
Mitchell Hashimoto 5f752269df builder/docker: Communicator.Start doesn't block 2013-11-09 10:13:27 -08:00
Mitchell Hashimoto f2475baa7a builder/docker: export the final image 2013-11-09 09:48:36 -08:00
Mitchell Hashimoto 0bbb8116f5 builder/docker: remove the exit code file when we're done 2013-11-09 00:47:37 -08:00
Mitchell Hashimoto 13abefef9a 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 ac5bf3f3b0 builder/docker: comment the sleep on remote exec 2013-11-09 00:06:45 -08:00
Mitchell Hashimoto b06dd1567a builder/docker: fix upload for copy to work 2013-11-09 00:05:44 -08:00
Mitchell Hashimoto 41b17c3316 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 4cdd532a93 builder/docker: a non-working communicator 2013-11-08 23:43:41 -08:00
Mitchell Hashimoto 4e6d46bbd0 builder/docker: start a container 2013-11-08 22:17:46 -08:00
Mitchell Hashimoto ab1f83fa11 builder/docker: tests for some exec stuff 2013-11-08 22:02:47 -08:00
Mitchell Hashimoto 539d415a27 builder/docker: pull images 2013-11-08 22:00:57 -08:00
Mitchell Hashimoto 049e3adc5d builder/docker: boilerplate 2013-11-08 16:55:02 -08:00
Mitchell Hashimoto aa59cd55ae builder/vmware: downcase more vmx data 2013-11-08 14:21:31 -08:00
Mitchell Hashimoto 8062fd729d builder/vmware: Fusion suppresses upgrade requests 2013-11-08 12:19:09 -08:00
Mitchell Hashimoto 1915c00525 builder/vmware: fix local output dir exists check 2013-11-08 11:48:04 -08:00
Mitchell Hashimoto 9e9f31314d builder/amazon/chroot: fix compile error 2013-11-08 11:19:10 -08:00
Mitchell Hashimoto 21c7d1c8b1 builder/amazon/chroot: allow no such file errors on upload [GH-588] 2013-11-08 10:53:54 -08:00
Mitchell Hashimoto e4b719a286 builder/amazon/chroot: quote commands and pass through a shell [GH-581] 2013-11-08 10:22:56 -08:00
Mitchell Hashimoto 7495f5bd26 builder/vmware: case-insensitive VMX creation [GH-608] 2013-11-07 22:06:30 -08:00
Mitchell Hashimoto 226c244a46 builder/vmware: start/stop ESXi5 VMX with proper path 2013-11-07 21:22:12 -08:00
Mitchell Hashimoto f88301a890 builder/vmware: only unregister if registration success 2013-11-07 21:19:24 -08:00
Mitchell Hashimoto 5f380a614f builder/vmware: register the VMX to the proper path on esx 2013-11-07 21:18:25 -08:00
Mitchell Hashimoto 4fd6b3222f builder/vmware: log when writing a VMX 2013-11-07 21:03:15 -08:00
Mitchell Hashimoto d1134ea788 builder/vmware: for remote builds, put VMX in temp dir 2013-11-07 21:02:12 -08:00
Mitchell Hashimoto 8dba90e4ad builder/vmware: set proper default disk type for esx 2013-11-07 20:57:05 -08:00
Mitchell Hashimoto 13a420fe50 builder/vmware: make upload dst,src like normal go 2013-11-07 20:47:15 -08:00
Mitchell Hashimoto a665e01ba8 builder/vmware: esx file check works properly 2013-11-07 20:46:34 -08:00
Mitchell Hashimoto aba932b58b builder/vmware: upload the ISO to the ESXi machine 2013-11-07 12:28:41 -08:00
Mitchell Hashimoto 4d299ee41d 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 e7542ff33d 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
Mitchell Hashimoto 2e0ff556f2 builder/qemu: set proper HTTPIP for boot command [GH-597] 2013-11-05 22:05:56 -08:00
Mitchell Hashimoto 34c411eb12 builder/qemu: catch early exits of qemu 2013-11-05 22:03:43 -08:00
Mitchell Hashimoto da120d3c07 builder/qemu: remove constructor, more Go-like 2013-11-05 21:43:20 -08:00
Mitchell Hashimoto ac9b643e81 builder/qemu: simplify driver, make things more Go-like 2013-11-05 21:40:49 -08:00
Mitchell Hashimoto 144a9d2ac7 builder/qemu: remove floppy support, not used currently 2013-11-05 18:11:38 -08:00
Mitchell Hashimoto 7370acf9e8 builder/qemu: log VM output 2013-11-05 17:59:09 -08:00
Mitchell Hashimoto 3e58ca4c98 builder/qemu: unnecssary log 2013-11-05 17:48:52 -08:00
Mitchell Hashimoto 1d70002719 builder/qemu: get rid of unnecessary step 2013-11-05 17:48:16 -08:00
Mitchell Hashimoto 1de263d3d8 builder/qemu: alphabetize some things 2013-11-05 17:47:22 -08:00
Mitchell Hashimoto 3683d7cd23 builder/qemu: passing tests 2013-11-05 15:44:38 -08:00
Mitchell Hashimoto 701f31ca4d Merge pull request #385 from TranscendComputing/master
builder/qemu: Qemu builder
2013-11-05 15:28:23 -08:00
Mitchell Hashimoto 8bbf9a8da8 Merge branch 'security-groups' of https://github.com/whiteley/packer into whiteley-security-groups
Conflicts:
	builder/amazon/common/run_config.go
2013-11-05 14:34:12 -08:00
Ross Smith II bf79008abf fixed artifact test 2013-11-05 14:27:42 -08:00
Ross Smith II a479482d67 post-processor/vagrant: Adds vagrant support for digitalocean
Conflicts:
	post-processor/vagrant/post-processor.go
2013-11-05 14:27:28 -08:00
Mitchell Hashimoto fe0b1aa75b Merge pull request #589 from mitchellh/f-do-droplet-name
builder/digitalocean: add a droplet_name configuration value
2013-11-04 14:35:44 -08:00
Mitchell Hashimoto d740015ef4 builder/vmware: check for ifconfig in /sbin [GH-591] 2013-11-04 14:34:51 -08:00