From Fedora Project Wiki
(initial boxgrinder delivery s3 test case) |
mNo edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
|description=Deliver an appliance to Amazon S3 | |description=Deliver an appliance to Amazon S3 | ||
|setup= | |setup= | ||
{{admon/note|You need an Amazon | {{admon/note|AWS account required|You need an Amazon AWS account to perform this Test Case}} | ||
# [[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>/root/.boxgrinder/config</code> | |||
<pre> | <pre> | ||
plugins: | plugins: | ||
Line 14: | Line 14: | ||
path: /images # default: / | path: /images # default: / | ||
</pre> | </pre> | ||
{{admon/warning|BoxGrinder Build config file location|The default location for this file is <code>/root/.boxgrinder/config</code>. You can put this file in different location by specifying <code>BG_CONFIG_FILE</code> environment variable.}} | |||
|actions= | |actions= | ||
# | # Execute <pre>boxgrinder-build /boxgrinder-appliances/testing-appliances/jeos-appls/fedora-15-jeos.appl -p ec2 -d s3 --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. | ||
# Step # | # Step #1 completes without error (indicated on console) | ||
# Program completes with exit code 0 | # Program completes with exit code 0 | ||
# A tar.gz file of the appliance has appeared in your S3 bucket at the expected path | # A tar.gz file of the appliance has appeared in your S3 bucket at the expected path | ||
}} | }} |
Latest revision as of 07:40, 28 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
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 s3 --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 appliance has appeared in your S3 bucket at the expected path