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 S3 account to perform this Test Case}}
{{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

Note.png
You need an Amazon AWS account to perform this Test Case
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

  1. Navigate to directory boxgrinder-appliances/testing-appliances/jeos-appls/
  2. 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.

  1. Step #2 completes without error (indicated on console)
  2. Program completes with exit code 0
  3. A tar.gz file of the appliance has appeared in your S3 bucket at the expected path