Mitchell Hashimoto
3f49f1a6d0
builder/amazon/chroot: delete the EBS volume after we're done
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
e5f0cbe298
builder/amazon/chroot: step to gather instance info
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
726c4a68ef
builder/amazon/chroot: create the volume
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
90a27bc57b
builder/amazon/chroot: extract the source AMI info
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
c189c7ed12
builder/amazon/chroot: verify we're on an EC2 instance
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
b329323bb2
builder/amazon/chroot: rename to builder-amazon-chroot
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
c6fde36b5e
builder/amazon/chroot: boilerplate
2013-07-30 16:07:48 -07:00
Mitchell Hashimoto
8046d2635a
add tests files to everything to test compilation
2013-07-30 16:05:20 -07:00
Mitchell Hashimoto
8c341b0c78
packer/plugin: flush os.Stderr whenever a plugin ends
2013-07-30 10:48:59 -07:00
Mitchell Hashimoto
ce0322662d
packer/plugin: use chan struct{} for condition variable behavior
2013-07-30 10:43:43 -07:00
Mitchell Hashimoto
31731414be
packer/plugin: clean up stderr
2013-07-30 10:41:02 -07:00
Mitchell Hashimoto
467474910c
packer/plugin: more stable stderr logging
2013-07-30 10:38:48 -07:00
Mitchell Hashimoto
6110079401
packer: Use ch for condition variable
...
Thanks @titanous I didnt know this worked.
2013-07-29 13:20:57 -07:00
Mitchell Hashimoto
1812efe3b5
communicator/ssh: use SetExited
2013-07-29 12:12:42 -07:00
Mitchell Hashimoto
1400645d69
packer/rpc: Use the SetExited for remote communicators
2013-07-29 12:07:37 -07:00
Mitchell Hashimoto
6a940d9ea8
packer: use locks/conds to avoid races on RemoteCmd.Exited [GH-42]
2013-07-29 12:04:58 -07:00
Mitchell Hashimoto
0bff938880
builder/virtualbox,vmware: use DownloadableURL
2013-07-29 00:13:30 -07:00
Mitchell Hashimoto
85ec53e76c
builder/common: Don't prepend slash to URL path if path is empty
2013-07-29 00:13:30 -07:00
Mitchell Hashimoto
ac8548d998
builder/common: make rel path absolute in DownloadableURL [GH-215]
2013-07-29 00:13:30 -07:00
Mitchell Hashimoto
1ebb1b7ef6
builder/common: add DownloadableURL to remove duplication parsing URLs
2013-07-29 00:13:30 -07:00
Mitchell Hashimoto
9a37de618d
Merge pull request #224 from zyegfryed/patch-1
...
website: typo
2013-07-28 11:42:46 -07:00
Sébastien Fievet
a5054cf314
Typo
2013-07-28 16:49:03 +02:00
Mitchell Hashimoto
beb97af6ce
Up version for dev
2013-07-26 10:15:35 -07:00
Mitchell Hashimoto
801a13dd38
v0.2.1
2013-07-26 09:54:05 -07:00
Mitchell Hashimoto
e5b14ac450
builder/amazon/common: wait for AMI to be available [GH-207]
2013-07-26 09:38:16 -07:00
Mitchell Hashimoto
e6557c53c2
ctrl-c closes stdin for plugins so that they are unblocked
2013-07-25 23:27:13 -07:00
Mitchell Hashimoto
b455d70346
Remove TODO, it was from pre-0.1
2013-07-25 23:14:56 -07:00
Mitchell Hashimoto
48b08fe71a
update comments in signal.go
2013-07-25 21:36:46 -05:00
Mitchell Hashimoto
74ef543d5c
packer/plugin: connect stdin to parent stdin
2013-07-25 21:24:49 -05:00
Mitchell Hashimoto
9f38f4cb47
fmt
2013-07-25 20:49:39 -05:00
Mitchell Hashimoto
7a00b240c1
builder/amazon/*: sigint while waiting for state change works
2013-07-25 20:49:15 -05:00
Mitchell Hashimoto
f5f4266371
Update CHANGELOG
2013-07-25 15:20:20 -05:00
Mitchell Hashimoto
1ec2eacb92
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
88dcb43a3f
Merge pull request #1 from jstamerj/jstamerj/windows
...
Jstamerj/windows
2013-07-25 09:32:13 -07:00
Jeff Stamerjohn
c5aad085f3
Merge branch 'master' into jstamerj/windows
2013-07-25 09:31:02 -07:00
Jeff Stamerjohn
41df9fa2e8
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
029dabaa49
Update CHANGELOG
2013-07-25 10:55:25 -05:00
Mitchell Hashimoto
4857faa363
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
0130b1310c
builder/amazon/instance: default x509_upload_path
2013-07-25 10:51:38 -05:00
Mitchell Hashimoto
30a4bf7687
website: document the amazon-instance builder
2013-07-25 10:51:21 -05:00
Mitchell Hashimoto
8c3281405d
builder/amazon/*: wait for AMI to be ready in common, use it instance
2013-07-25 00:56:37 -05:00
Mitchell Hashimoto
072d7a647a
builder/amazon/instance: register AMI using API
2013-07-25 00:45:55 -05:00
Mitchell Hashimoto
77b92cd048
builder/amazon/instance: register the AMI
2013-07-25 00:19:04 -05:00
Mitchell Hashimoto
17f6914fc1
builder/amazon/instance: prefix has CreateTime support
2013-07-24 23:51:46 -05:00
Mitchell Hashimoto
5e6695264a
builder/amazon/instance: upload bundle
2013-07-24 23:29:21 -05:00
Mitchell Hashimoto
ad1015f35c
builder/amazon/instance: bundle volume and keep track of dir
2013-07-24 23:22:16 -05:00
Mitchell Hashimoto
801541714e
builder/amazon/instance: run ec2-bundle-vol in batch mode
2013-07-24 22:51:59 -05:00
Mitchell Hashimoto
3f543dddaa
builder/amazon/instance: sudo the ec2-bundle-vol by default
2013-07-24 16:07:33 -05:00
Mitchell Hashimoto
b5552c00f3
builder/amazon/instance: detect error bundling
2013-07-24 15:44:58 -05:00
Mitchell Hashimoto
c6358b0475
builder/amazon/instance: ec2-bundle-vol is called
2013-07-24 15:43:35 -05:00