QA:TestCase boxgrinder deliver s3

From FedoraProject

Jump to: navigation, search

Contents

Description

Deliver an appliance to Amazon S3

Setup

Note.png
AWS account required
You need an Amazon AWS account to perform this Test Case
  1. Prepare your environment
  2. 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: /
Warning (medium size).png
BoxGrinder Build config file location
The default location for this file is /root/.boxgrinder/config. You can put this file in different location by specifying BG_CONFIG_FILE environment variable.

How to test

  1. 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.

  1. Step #1 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