Commit Graph

1134 Commits

Author SHA1 Message Date
Mitchell Hashimoto b30a1303a2 Merge pull request #218 from jstamerj/master
builder/virtualbox, communicator/ssh: fixes for running on windows
2013-07-25 13:19:08 -07:00
Jeff Stamerjohn 4fae365f2b Merge pull request #1 from jstamerj/jstamerj/windows
Jstamerj/windows
2013-07-25 09:32:13 -07:00
Jeff Stamerjohn 32eaa39a5f Merge branch 'master' into jstamerj/windows 2013-07-25 09:31:02 -07:00
Jeff Stamerjohn 4ff0185add Windows fixes
Strip carriage returns from end of lines in virtualbox/driver.go, fixing wait for virtualbox host shutdown.
Fix target upload directory path in communicator.go to use forward slashes.  (When running on windows path/filepath returns backslashes...which does not work when the target host is unix).
2013-07-25 09:28:04 -07:00
Mitchell Hashimoto b3f8a22ca6 Update CHANGELOG 2013-07-25 10:55:25 -05:00
Mitchell Hashimoto 7f91d24a7d Merge branch 'builder-amazon-instance'
This adds the "amazon-instance" builder to Packer which can create
instance-storage backed AMIs. The instance-storage backed AMIs are built
by launching another instance-store backed instance, provisioning it,
and then using EC2 AMI tools to bundle and register a new AMI.
2013-07-25 10:52:16 -05:00
Mitchell Hashimoto fc39042283 builder/amazon/instance: default x509_upload_path 2013-07-25 10:51:38 -05:00
Mitchell Hashimoto 321d1cce16 website: document the amazon-instance builder 2013-07-25 10:51:21 -05:00
Mitchell Hashimoto d46741e4f7 builder/amazon/*: wait for AMI to be ready in common, use it instance 2013-07-25 00:56:37 -05:00
Mitchell Hashimoto b5fdab407f builder/amazon/instance: register AMI using API 2013-07-25 00:45:55 -05:00
Mitchell Hashimoto 0552bc7306 builder/amazon/instance: register the AMI 2013-07-25 00:19:04 -05:00
Mitchell Hashimoto 03a2cc8b22 builder/amazon/instance: prefix has CreateTime support 2013-07-24 23:51:46 -05:00
Mitchell Hashimoto c504beacc6 builder/amazon/instance: upload bundle 2013-07-24 23:29:21 -05:00
Mitchell Hashimoto 877172166b builder/amazon/instance: bundle volume and keep track of dir 2013-07-24 23:22:16 -05:00
Mitchell Hashimoto 63474f47e4 builder/amazon/instance: run ec2-bundle-vol in batch mode 2013-07-24 22:51:59 -05:00
Mitchell Hashimoto d3d7bfe876 builder/amazon/instance: sudo the ec2-bundle-vol by default 2013-07-24 16:07:33 -05:00
Mitchell Hashimoto 7763411914 builder/amazon/instance: detect error bundling 2013-07-24 15:44:58 -05:00
Mitchell Hashimoto c1361b0cf5 builder/amazon/instance: ec2-bundle-vol is called 2013-07-24 15:43:35 -05:00
Mitchell Hashimoto fd43c27de1 builder/amazon/instance: check for the ami tools 2013-07-23 23:19:44 -05:00
Mitchell Hashimoto 110fd0e17f builder/amazon/common: SSH into private IP if in VPC 2013-07-23 22:48:33 -05:00
Mitchell Hashimoto dd1c4d4d2a fmt 2013-07-23 22:48:33 -05:00
Mitchell Hashimoto c710323f04 builder/amazon/*: Fix failing tests from rebase of VPC 2013-07-23 22:48:33 -05:00
Mitchell Hashimoto f94500b324 builder/amazon/instance: boilerplate for bundle volume 2013-07-23 22:48:33 -05:00
Mitchell Hashimoto 2674bdc96d builder/amazon/instance: after upload x509, should continue 2013-07-23 22:48:33 -05:00
Mitchell Hashimoto 39b3b18d81 builder/amazon/instance: upload x509 cert 2013-07-23 22:48:33 -05:00
Mitchell Hashimoto 42f78804fe plugin/builder-amazon-instance: add the plugin 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto e85a01d9da fmt 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto 992a9bfb22 builder/amazon/common: extract Artifact 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto 0a76d07363 builder/amazon: provision on instance 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto 2f9840a4cf builder/amazon: extract SSH connect funcs 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto 64ced7ff2c builder/amazon: extract StepRunSourceInstance 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto 30ab70388b builder/amazon/common: panic if SSHPot is 0 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto 4f568f4998 builder/amazon: extract StepSecurityGroup 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto 45096d0768 builder/amazon: extract StepKeyPair for both 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto b3edb2fba5 fmt 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto 1750b34f70 builder/amazon/*: clean up tests 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto 60ed71b2ff builder/amazon/common: tests for runconfig 2013-07-23 22:48:32 -05:00
Mitchell Hashimoto 56c3cbfb2a builder/common: common config struct for Packer configs 2013-07-23 22:48:31 -05:00
Mitchell Hashimoto 4878cec0e4 builder/amazon/ebs: validate access config 2013-07-23 22:48:31 -05:00
Mitchell Hashimoto e5e306049c builder/amazon/common: RunConfig for launch info 2013-07-23 22:48:31 -05:00
Mitchell Hashimoto 5aced3f339 builder/amazon/common: AccessConfig for standard access config 2013-07-23 22:48:31 -05:00
Mitchell Hashimoto 980841b6c0 builder/amazon/instance: boilerplate 2013-07-23 22:48:31 -05:00
Mitchell Hashimoto 7472bbb17c packer: In the case of an error, close stdout/stderr writers 2013-07-23 22:46:51 -05:00
Mitchell Hashimoto b64a2532f4 provisioner/shell: use StartWithUi 2013-07-23 22:44:32 -05:00
Mitchell Hashimoto 56cf09f29e builder/virtualbox: shutdown messages go to Ui 2013-07-23 22:42:39 -05:00
Mitchell Hashimoto 641c46451b packer: Preserve original stdout/stderr on StartWithUi
/cc @sit
2013-07-23 22:38:03 -05:00
Mitchell Hashimoto 665b03a342 fmt 2013-07-23 22:36:09 -05:00
Mitchell Hashimoto 425aaf2cea packer: RemoteCmd.StartWithUi thanks to @sit
I ended up working on this on my own outside your PR, sorry, but it is
basically the same as yours.
2013-07-23 22:35:05 -05:00
Mitchell Hashimoto 86ebfe0dc4 packer/rpc: remove unused test file 2013-07-23 13:45:35 -07:00
Mitchell Hashimoto 2227e5ab31 command/build: if any builds fail, exit with 1 exit status 2013-07-23 13:36:07 -07:00