onefinestay / gonzo

Instance and release management made easy
Other
17 stars 4 forks source link

Capture stack images #35

Closed TomMaddox closed 10 years ago

TomMaddox commented 10 years ago

Provides the gonzo commands / options: gonzo instance-launch [--image-name] gonzo image-create <instance-name> <image-name> gonzo image-delete <image-name> gonzo stack-launch [--create-images] [--quiet] [--delete-after-complete]

The intention is to use the latter to capture images of long stack builds overnight, and then use the images for fast stack builds during the day.

TomMaddox commented 10 years ago

Still some tests to write and more work on the --quiet and --delete-after-complete outputs pending

davidszotten commented 10 years ago

the implementations of aws.image and openstack.image look identical. do we need the split?

TomMaddox commented 10 years ago

No, I guess not. Will refactor

davidszotten commented 10 years ago

rather than two empty Image implementations, could we not remove them completely and just rename BaseImage to Image and use that?

TomMaddox commented 10 years ago

We could, and we also could for Stack implementations. Personally I prefer this style, where each backend clearly follows the same structure as base. Happy to change for both if you think that's wrong though.

davidszotten commented 10 years ago

:+1: