From Fedora Project Wiki
(initial boxgrinder delivery EBS test case) |
m (small layout fix) |
||
Line 5: | Line 5: | ||
* Launch the JEOS AMI built in the AMI test case: [[QA:TestCase_boxgrinder_deliver_ami]], or any other Fedora 15 AMI. | * Launch the JEOS AMI built in the AMI test case: [[QA:TestCase_boxgrinder_deliver_ami]], or any other Fedora 15 AMI. | ||
* Install BoxGrinder Build and git on the instance: <pre>yum install -y git rubygem-boxgrinder-build</pre> | * Install BoxGrinder Build and git on the instance: <pre>yum install -y git rubygem-boxgrinder-build</pre> | ||
* Clone the BoxGrinder test appliances into a convenient location using command < | * Clone the BoxGrinder test appliances into a convenient location using command <pre>git clone https://github.com/msavy/boxgrinder-appliances.git</pre> | ||
* Put the following BoxGrinder config into a file named: <code>~/.boxgrinder/config</code>. Insert appropriate values, see: http://boxgrinder.org/tutorials/boxgrinder-build-plugins/#EBS_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/#EBS_Delivery_Plugin, for more information. | ||
<pre> | <pre> |
Revision as of 17:03, 22 April 2011
Description
Deliver an appliance to Amazon EBS, from an Amazon EC2 instance. You cannot deliver to EBS outside of an EC2 instance.
Setup
- Launch the JEOS AMI built in the AMI test case: QA:TestCase_boxgrinder_deliver_ami, or any other Fedora 15 AMI.
- Install BoxGrinder Build and git on the instance:
yum install -y git rubygem-boxgrinder-build
- 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/#EBS_Delivery_Plugin, for more information.
plugins: ebs: access_key: AWS_ACCESS_KEY # required secret_access_key: AWS_SECRET_ACCESS_KEY # required account_number: AWS_ACCOUNT_NUMBER # required delete_on_termination: false # default: true
How to test
- Navigate to directory
boxgrinder-appliances/testing-appliances/jeos-appls/
- Execute
boxgrinder-build fedora-15-jeos.appl -p ec2 -d ebs
- Once completed, a JEOS EBS should be available. Launch an instance.
- Log into the EBS instance via SSH with user:
ec2user
password:boxgrinder
- Run the following Test Case in the VM: QA:Network_basic_test_case
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
- AMI boots successfully, and can log into the EC2 appliance without error
- QA:Network_basic_test_case is performed successfully on the new appliance