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
Mitchell Hashimoto
544b4b1429
builder/amazon/instance: check for the ami tools
2013-07-23 23:19:44 -05:00
Mitchell Hashimoto
3efdb009d7
builder/amazon/common: SSH into private IP if in VPC
2013-07-23 22:48:33 -05:00
Mitchell Hashimoto
b9b5de5684
fmt
2013-07-23 22:48:33 -05:00
Mitchell Hashimoto
a5546fa0f3
builder/amazon/*: Fix failing tests from rebase of VPC
2013-07-23 22:48:33 -05:00
Mitchell Hashimoto
b11b60746b
builder/amazon/instance: boilerplate for bundle volume
2013-07-23 22:48:33 -05:00
Mitchell Hashimoto
c39299c21f
builder/amazon/instance: after upload x509, should continue
2013-07-23 22:48:33 -05:00
Mitchell Hashimoto
d11cabf893
builder/amazon/instance: upload x509 cert
2013-07-23 22:48:33 -05:00
Mitchell Hashimoto
caaa6667ed
plugin/builder-amazon-instance: add the plugin
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
b91fb5e1a0
fmt
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
a780d0e0dd
builder/amazon/common: extract Artifact
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
5a4f5c3f6f
builder/amazon: provision on instance
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
5c7c0a6ee2
builder/amazon: extract SSH connect funcs
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
51f7db35f4
builder/amazon: extract StepRunSourceInstance
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
579eaaabc5
builder/amazon/common: panic if SSHPot is 0
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
f8319f8881
builder/amazon: extract StepSecurityGroup
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
e67e4cfa16
builder/amazon: extract StepKeyPair for both
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
5921492c8e
fmt
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
d489f99aad
builder/amazon/*: clean up tests
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
ae864b3efa
builder/amazon/common: tests for runconfig
2013-07-23 22:48:32 -05:00
Mitchell Hashimoto
9fb778c012
builder/common: common config struct for Packer configs
2013-07-23 22:48:31 -05:00
Mitchell Hashimoto
45d50279f3
builder/amazon/ebs: validate access config
2013-07-23 22:48:31 -05:00
Mitchell Hashimoto
6fdf237c15
builder/amazon/common: RunConfig for launch info
2013-07-23 22:48:31 -05:00
Mitchell Hashimoto
8f649af165
builder/amazon/common: AccessConfig for standard access config
2013-07-23 22:48:31 -05:00
Mitchell Hashimoto
9348f481dd
builder/amazon/instance: boilerplate
2013-07-23 22:48:31 -05:00
Mitchell Hashimoto
17acee653b
packer: In the case of an error, close stdout/stderr writers
2013-07-23 22:46:51 -05:00
Mitchell Hashimoto
1c5e9848b5
provisioner/shell: use StartWithUi
2013-07-23 22:44:32 -05:00
Mitchell Hashimoto
479855a4f1
builder/virtualbox: shutdown messages go to Ui
2013-07-23 22:42:39 -05:00
Mitchell Hashimoto
3641c1a708
packer: Preserve original stdout/stderr on StartWithUi
...
/cc @sit
2013-07-23 22:38:03 -05:00
Mitchell Hashimoto
2e82358d2a
fmt
2013-07-23 22:36:09 -05:00
Mitchell Hashimoto
32c84c17b1
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
bd1fe21718
packer/rpc: remove unused test file
2013-07-23 13:45:35 -07:00
Mitchell Hashimoto
6422fabd19
command/build: if any builds fail, exit with 1 exit status
2013-07-23 13:36:07 -07:00
Mitchell Hashimoto
54fb31b7a3
Update CHANGELOG
2013-07-21 22:40:02 -07:00
Mitchell Hashimoto
51b63efe50
Merge pull request #210 from rgarcia/vpc-launch
...
builder/amazon: support launching in VPC
2013-07-21 22:39:01 -07:00
Rafael Garcia
282554b2b0
builder/amazon/ebs: support launching in VPC
...
adds `vpc_id` and `subnet_id` to builder config
depends on https://github.com/mitchellh/goamz/pull/4
2013-07-21 00:44:14 -07:00
Mitchell Hashimoto
38ae1a0ba9
packer: Properly handle ? in URLs in cache keys
...
/cc @sit - Found another edge case
2013-07-20 19:20:29 -07:00