From Fedora Project Wiki

m (fix external link (it is just a placeholder for now))
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=Build an appliance based upon the modular appliances, which are designed to provide more comprehensive BoxGrinder Build feature coverage.
|description=Build an appliance based upon the modular appliances, which are designed to provide more comprehensive BoxGrinder Build feature coverage.
|setup=Clone the BoxGrinder test appliances into a convenient location using command <code>git clone https://github.com/msavy/boxgrinder-appliances.git</code>
|setup=
 
# [[Test_Day:2011-04-28_Cloud_SIG_BoxGrinder_Build#Prepare your environment|Prepare your environment]]
We must create a local RPM repository in order to include our custom programs, this is the most effective way of adding custom applications into a BoxGrinder appliance.  All of the hard work of dependency resolution is done via the RPMs!
# Create local repository directory <pre>mkdir -p /tmp/boxgrinder-repo</pre>
# Create a directory tree of <code>/var/repo/RPMS/noarch/</code>
# Download our test RPM <pre>wget --directory-prefix=/tmp/boxgrinder-repo http://repo.boxgrinder.org/testday/ephemeral-test.rpm</pre>
# Download the [http://www.boxgrinder.org/testday/ephemeral-test.rpm BoxGrinder test RPM file] to <code>/var/repo/RPMS/noarch/</code> (<code>wget --directory-prefix=/var/repo/RPMS/noarch http://www.boxgrinder.org/testday/ephemeral-test.rpm</code>)
# Create repodata <pre>createrepo /tmp/boxgrinder-repo</pre>
# Execute <code>createrepo /var/repo/RPMS/noarch</code>
 
|actions=
|actions=
# Navigate to directory <code>boxgrinder-appliances/testing-appliances/modular-appls/</code>
# Execute <pre>boxgrinder-build testing-appliances/modular-appls/fedora_15.appl</pre>
# Execute <code>boxgrinder-build fedora_rawhide.appl</code>
|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 #2 completes without error (indicated on console)
# Step #1 completes without error (indicated on console)
# Program completes with exit code 0
# Program completes with exit code 0
}}
}}

Revision as of 08:40, 23 April 2011

Description

Build an appliance based upon the modular appliances, which are designed to provide more comprehensive BoxGrinder Build feature coverage.

Setup

  1. Prepare your environment
  2. Create local repository directory
    mkdir -p /tmp/boxgrinder-repo
  3. Download our test RPM
    wget --directory-prefix=/tmp/boxgrinder-repo http://repo.boxgrinder.org/testday/ephemeral-test.rpm
  4. Create repodata
    createrepo /tmp/boxgrinder-repo

How to test

  1. Execute
    boxgrinder-build testing-appliances/modular-appls/fedora_15.appl

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