convert

boxfuseConvert

Convert this Image from the CloudCaptain Vault into an AWS AMI.

Usage: gradle boxfuseConvert -Dboxfuse.image=image

> gradle boxfuseConvert -Dboxfuse.image=hello:1.0

Waiting for AWS to create an AMI for axelfontaine/hello:1.0 in eu-central-1 (this may take up to 50 seconds) ...
AMI created in 00:12.603s -> ami-74d4d369

Class name

com.boxfuse.client.gradle.task.ConvertTask

Properties

Plugin Parameter Gradle/System property Default Description
user boxfuse.user Required - Your CloudCaptain Client user. Also configurable via the BOXFUSE_USER environment variable
secret boxfuse.secret Required - Your CloudCaptain Client secret. Also configurable via the BOXFUSE_SECRET environment variable
env boxfuse.env prod Use the AWS region of this CloudCaptain environment to create the AMI
image boxfuse.image The Image to use

Sample Configuration

boxfuse {
    user='1234567890abcdef1234567890abcdef12345678'
    secret='ABCDEFGHIJKL1234567abcdefghijklmnopqrstu'
    image='myapp:123'
}

Dynamically defined properties

After you execute convert, CloudCaptain will automatically define the following Gradle properties

Gradle property Description
boxfuse.aws.region.ami The id of the new AMI (where region is the region the AMI was created it according to the env parameter
boxfuse.image The image that was used to create the AMI

pull