From Fedora Project Wiki
(initial boxgrinder delivery local test case) |
mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|description=Deliver an appliance to a locally mounted drive. | |description=Deliver an appliance to a locally mounted drive. | ||
|setup= | |setup= | ||
# [[Test_Day:2011-04-28_Cloud_SIG_BoxGrinder_Build#Prepare your environment|Prepare your environment]] | |||
# Put the following BoxGrinder config into a file named: <code>/root/.boxgrinder/config</code>. | |||
<pre> | <pre> | ||
plugins: | plugins: | ||
local: | local: | ||
path: / | path: /tmp/boxgrinder-appliances | ||
package: true | package: true | ||
overwrite: false | overwrite: false | ||
</pre> | </pre> | ||
{{admon/ | {{admon/warning|BoxGrinder Build config file location|The default location for this file is <code>/root/.boxgrinder/config</code>. You can put this file in different location by specifying <code>BG_CONFIG_FILE</code> environment variable.}} | ||
|actions= | |actions= | ||
# | # Execute: <pre>boxgrinder-build testing-appliances/jeos-appls/fedora-14-jeos.appl -d local --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. | ||
# Step # | # Step #1 completes without error (indicated on console) | ||
# Program completes with exit code 0 | # Program completes with exit code 0 | ||
# Determine whether a tar.gz file has appeared in the expected local directory | # Determine whether a tar.gz file has appeared in the expected local directory | ||
}} | }} |
Latest revision as of 07:33, 28 April 2011
Description
Deliver an appliance to a locally mounted drive.
Setup
- Prepare your environment
- Put the following BoxGrinder config into a file named:
/root/.boxgrinder/config
.
plugins: local: path: /tmp/boxgrinder-appliances package: true overwrite: false
How to test
- Execute:
boxgrinder-build testing-appliances/jeos-appls/fedora-14-jeos.appl -d local --trace
Expected Results
The following must be true to consider this a successful test run.
- Step #1 completes without error (indicated on console)
- Program completes with exit code 0
- Determine whether a tar.gz file has appeared in the expected local directory