Commit Graph

70 Commits

Author SHA1 Message Date
Mitchell Hashimoto 9ca3d05241 builder/amazonebs: tests for env vars 2013-07-01 15:22:35 -07:00
Mitchell Hashimoto 2a7a7173f1 Merge pull request #40 from justincampbell/amazon-env-vars
builder/amazonebs: Default to AWS env vars for key and secret
2013-07-01 15:11:19 -07:00
Justin Campbell 4b2b23c32f Add AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY 2013-06-29 09:32:07 -04:00
Jack Pearkes c3363e48ed builder/amazonebs: sleep between checks for ami create
fixes #50
2013-06-29 12:35:48 +02:00
Justin Campbell 9c9c60aabf Default to AWS_ env vars for key and secret 2013-06-28 13:45:15 -04:00
Krzysztof Wilczynski 8201b7f6e1 Fix a typo.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2013-06-28 17:33:42 +01:00
Mitchell Hashimoto 6d87e6aa76 builder/amazonebs: Wait for instance to terminate during cleanup 2013-06-27 21:42:07 -04:00
Mitchell Hashimoto 2e0a051539 builder/*: Fail if provisioning fails [GH-33] 2013-06-26 17:54:57 -07:00
Mitchell Hashimoto 227ab55617 builder/amazonebs: Artifact ID works 2013-06-26 17:40:21 -07:00
Mitchell Hashimoto c490911eb6 builder/amazonebs: Get rid of TODO since we can specify source states 2013-06-19 20:57:56 -07:00
Mitchell Hashimoto cac0f49bb8 builder/amazonebs: Return proper errors 2013-06-19 20:54:02 -07:00
Mitchell Hashimoto 72f5d84cb7 fmt 2013-06-18 21:54:33 -07:00
Mitchell Hashimoto 0edeb49467 builder/amazonebs: If only one error on destroy, just return it 2013-06-18 16:25:35 -07:00
Mitchell Hashimoto 4f229dea09 builder/amazonebs: Implement Artifact.Destroy 2013-06-18 16:24:35 -07:00
Mitchell Hashimoto 0f354c79d1 packer: Add Destroy method to artifact
[GH-18]
2013-06-18 16:01:14 -07:00
Mitchell Hashimoto e1c0616a14 builder/amazonebs: Tests for invalid AMI name 2013-06-17 15:24:33 -07:00
Jack Pearkes e0a4e72be5 builder/amazonebs: check for err parsing template for ami name 2013-06-17 23:55:08 +02:00
Mitchell Hashimoto d0dc0a769e fmt 2013-06-15 11:07:30 -07:00
Mitchell Hashimoto f754c171e8 builder/*: Add support for debug 2013-06-15 10:51:09 -07:00
Mitchell Hashimoto a6194467ac builder/*: Adhere to the new interface 2013-06-14 12:29:48 -07:00
Mitchell Hashimoto 521b59a6fa Make everything support the new builder interface 2013-06-12 16:06:56 -07:00
Mitchell Hashimoto dc641324de builder/amazonebs: Create temporary security group as well 2013-06-11 14:37:10 -07:00
Mitchell Hashimoto 3b3efab805 builder/amazonebs: Tell the user if the termination failed 2013-06-11 14:15:43 -07:00
Mitchell Hashimoto ccc95e7e5c builder/amazonebs: Slight slepe between connection attempts to SSH 2013-06-11 14:13:33 -07:00
Mitchell Hashimoto 352f875dbf builder/amazonebs: Handle interrupts while waiting for SSH 2013-06-11 14:10:57 -07:00
Mitchell Hashimoto 417f7e7f47 fmt 2013-06-11 14:09:31 -07:00
Mitchell Hashimoto de9c4ace9e builder/amazonebs: Timeouts while waiting for SSH to connect 2013-06-11 14:09:16 -07:00
Mitchell Hashimoto 62309cb6de Build/Builder take a Cache object now 2013-06-09 22:00:47 -07:00
Mitchell Hashimoto c29d754fa8 builder/vmware: break out the proper loop 2013-06-08 19:26:07 -07:00
Mitchell Hashimoto be1e60aa26 builder/amazonebs: Validate region exists 2013-06-08 17:54:18 -07:00
Mitchell Hashimoto 4fa27e6a30 builder/amazonebs: Finish basic validation 2013-06-08 17:49:03 -07:00
Mitchell Hashimoto 4223e5bcca builder/amazonebs: Additional validation 2013-06-08 17:46:34 -07:00
Mitchell Hashimoto 6a23cb726c builder/amazonebs: Config validation, testing 2013-06-08 17:41:56 -07:00
Mitchell Hashimoto ec22477185 builder/amazonebs: Use unix timestamps 2013-06-04 13:12:04 -07:00
Mitchell Hashimoto a436b91330 builder/amazonebs: interpolate create time into AMI name 2013-06-04 12:52:52 -07:00
Mitchell Hashimoto 04a4d91431 builder/amazonebs: Better checking for states 2013-06-04 11:29:59 -07:00
Mitchell Hashimoto a099e32df2 builder/amazonebs: Handle case where no AMIs 2013-06-04 11:26:08 -07:00
Mitchell Hashimoto f67fdecab6 builder/amazonebs: If cancelled, don't return artifact 2013-06-04 10:59:12 -07:00
Mitchell Hashimoto 5aa78cb4aa builder/amazonebs: Properly implement cancel 2013-06-04 10:53:35 -07:00
Mitchell Hashimoto 0df18df40f builder/amazonebs: extract multistep, use that 2013-06-04 10:00:06 -07:00
Mitchell Hashimoto 079d6f4d43 packer: Introduce Cancel() method to Builder 2013-06-03 14:44:34 -07:00
Mitchell Hashimoto bf296b396e builder/amazonebs: panics in edge cases 2013-06-01 21:50:20 -07:00
Mitchell Hashimoto 33f8d29571 builder/amazonebs, command/build: use new UI interface 2013-05-27 15:15:42 -07:00
Mitchell Hashimoto 35a947e304 builder/amazonebs: Add provisioning step 2013-05-23 22:47:59 -07:00
Mitchell Hashimoto 4bd7db0759 go fmt 2013-05-22 14:36:33 -07:00
Mitchell Hashimoto 8273565255 better comments for TODO 2013-05-22 14:36:21 -07:00
Mitchell Hashimoto cf6d2218ea builder/amazonebs: Artifact returns AMIs 2013-05-21 22:28:41 -07:00
Mitchell Hashimoto 8dfe78dd19 packer: Log UI output 2013-05-21 11:40:07 -07:00
Mitchell Hashimoto dfc332f98c builder/amazonebs: Add ssh_* settings 2013-05-21 11:36:26 -07:00
Mitchell Hashimoto 4453fda2e8 go fmt 2013-05-21 00:56:27 -07:00