From Fedora Project Wiki
m (change format of page.) |
m (change config path) |
||
Line 4: | Line 4: | ||
{{admon/note|You need an Amazon AWS account and the CloudFront service enabled to perform this Test Case}} | {{admon/note|You need an Amazon AWS account and the CloudFront service enabled to perform this Test Case}} | ||
# [[Test_Day:2011-04-28_Cloud_SIG_BoxGrinder_Build#Prepare your environment|Prepare your environment]] | # [[Test_Day:2011-04-28_Cloud_SIG_BoxGrinder_Build#Prepare your environment|Prepare your environment]] | ||
# Put the following BoxGrinder config into a file named: <code> | # Put the following BoxGrinder config into a file named: <code>/root/.boxgrinder/config</code>. Insert appropriate values, see: http://boxgrinder.org/tutorials/boxgrinder-build-plugins/#S3_Delivery_Plugin, for more information. | ||
<pre> | <pre> | ||
plugins: | plugins: | ||
Line 16: | Line 16: | ||
|actions= | |actions= | ||
# Execute <pre>boxgrinder-build boxgrinder-appliances/testing-appliances/jeos-appls/fedora-15-jeos.appl -p ec2 -d cloudfront --trace</pre> | # Execute <pre>boxgrinder-build /boxgrinder-appliances/testing-appliances/jeos-appls/fedora-15-jeos.appl -p ec2 -d cloudfront --trace</pre> | ||
|results= | |results= | ||
The following must be true to consider this a successful test run. | The following must be true to consider this a successful test run. |
Revision as of 11:22, 23 April 2011
Description
Deliver an appliance to Amazon S3
Setup
- Prepare your environment
- Put the following BoxGrinder config into a file named:
/root/.boxgrinder/config
. Insert appropriate values, see: http://boxgrinder.org/tutorials/boxgrinder-build-plugins/#S3_Delivery_Plugin, for more information.
plugins: s3: access_key: AWS_ACCESS_KEY # (required) secret_access_key: AWS_SECRET_ACCESS_KEY # (required) bucket: stormgrind-test # (required) account_number: 0000-0000-0000 # (required) path: /images # default: /
How to test
- Execute
boxgrinder-build /boxgrinder-appliances/testing-appliances/jeos-appls/fedora-15-jeos.appl -p ec2 -d cloudfront --trace
Expected Results
The following must be true to consider this a successful test run.
- Step #1 completes without error (indicated on console)
- Program completes with exit code 0
- A tar.gz file of the JEOS appliance has appeared in CloudFront