From Fedora Project Wiki

m (final uri for test rpm)
m (update)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{admon/important|If you are using a Fedora 14 HOST, there is a known issue. Use the following work-around|
* The work-around is probably '''not''' necessary for building a Fedora 14 appliances on a Fedora 15 host. If you experience problems, try the work-around.  If that fixes it, then please mention this in your notes.
* Edit boxgrinder-appliances/testing-appliances/modular-appls/_test_base.appl, comment out (or remove) line 13. Note this in your references, and see if you can build successfully from this point.}}
{{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.
Line 4: Line 10:
# [[Test_Day:2011-04-28_Cloud_SIG_BoxGrinder_Build#Prepare your environment|Prepare your environment]]
# [[Test_Day:2011-04-28_Cloud_SIG_BoxGrinder_Build#Prepare your environment|Prepare your environment]]
# Create local repository directory <pre>mkdir -p /tmp/boxgrinder-repo</pre>
# Create local repository directory <pre>mkdir -p /tmp/boxgrinder-repo</pre>
# Download our test RPM <pre>wget --directory-prefix=/tmp/boxgrinder-repo http://repo.boxgrinder.org/testday/boxgrinder/ephemeral-test.rpm</pre>
# Download our test RPM <pre>wget --directory-prefix=/tmp/boxgrinder-repo http://repo.boxgrinder.org/boxgrinder/testday/ephemeral-repo-test-0.1-1.noarch.rpm</pre>
# Create repodata <pre>createrepo /tmp/boxgrinder-repo</pre>
# Create repodata <pre>createrepo /tmp/boxgrinder-repo</pre>
|actions=
|actions=
# Execute <pre>boxgrinder-build testing-appliances/modular-appls/fedora_15.appl</pre>
# Execute <pre>boxgrinder-build testing-appliances/modular-appls/fedora_14.appl --trace</pre>
|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.

Latest revision as of 23:57, 28 April 2011

If you are using a Fedora 14 HOST, there is a known issue. Use the following work-around
  • The work-around is probably not necessary for building a Fedora 14 appliances on a Fedora 15 host. If you experience problems, try the work-around. If that fixes it, then please mention this in your notes.
  • Edit boxgrinder-appliances/testing-appliances/modular-appls/_test_base.appl, comment out (or remove) line 13. Note this in your references, and see if you can build successfully from this point.



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/boxgrinder/testday/ephemeral-repo-test-0.1-1.noarch.rpm
  4. Create repodata
    createrepo /tmp/boxgrinder-repo

How to test

  1. Execute
    boxgrinder-build testing-appliances/modular-appls/fedora_14.appl --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