From Fedora Project Wiki
(initial boxgrinder delivery s3 test case) |
m (fix admon note) |
||
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|You need an Amazon AWS account to perform this Test Case}} | ||
* Clone the BoxGrinder test appliances into a convenient location using command <code>git clone https://github.com/msavy/boxgrinder-appliances.git</code> | * Clone the BoxGrinder test appliances into a convenient location using command <code>git clone https://github.com/msavy/boxgrinder-appliances.git</code> | ||
* Put the following BoxGrinder config into a file named: <code>~/.boxgrinder/config</code>. Insert appropriate values, see: http://boxgrinder.org/tutorials/boxgrinder-build-plugins/#S3_Delivery_Plugin, for more information. | * Put the following BoxGrinder config into a file named: <code>~/.boxgrinder/config</code>. Insert appropriate values, see: http://boxgrinder.org/tutorials/boxgrinder-build-plugins/#S3_Delivery_Plugin, for more information. |
Revision as of 16:37, 22 April 2011
Description
Deliver an appliance to Amazon S3
Setup
- Clone the BoxGrinder test appliances into a convenient location using command
git clone https://github.com/msavy/boxgrinder-appliances.git
- Put the following BoxGrinder config into a file named:
~/.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
- Navigate to directory
boxgrinder-appliances/testing-appliances/jeos-appls/
- Execute
boxgrinder-build fedora-15-jeos.appl -p ec2 -d s3
Expected Results
The following must be true to consider this a successful test run.
- Step #2 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