From Fedora Project Wiki
(→Schema) |
|||
Line 17: | Line 17: | ||
score: int | score: int | ||
log: url | log: url | ||
testrun_data: | testrun_data: list_of({key, value}) | ||
phases: list_of({name, result, start_time: datetime, end_time: datetime}) | phases: list_of({name, result, start_time: datetime, end_time: datetime}) | ||
} | } | ||
Jobs = | Jobs = | ||
Line 46: | Line 40: | ||
</pre> | </pre> | ||
= Setup = | = Setup = |
Revision as of 15:27, 7 May 2013
Schema
result: one_of(PASSED, INFO, FAILED, ABORTED, CRASHED, NEEDS_INSPECTION, RUNNING, text) Testruns = { _id testcase: url result start_time: datetime end_time: datetime summary highlights outputs score: int log: url testrun_data: list_of({key, value}) phases: list_of({name, result, start_time: datetime, end_time: datetime}) } Jobs = { _id start_time: datetime end_time: datetime result name summary log: url testrun_ids: list() } Testcases = { _id = url name }
Setup
add repo
[10gen] name=10gen Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 gpgcheck=0 enabled=1
install
- yum install mongo-10gen mongo-10gen-server
edit
/etc/init.d/mongod: - # pidfile: /var/run/mongo/mongod.pid +# pidfile: /var/lib/mongo/mongod.lock
/etc/mongod + smallfiles = true
run
- systemctl --system daemon-reload
- service mongod start
- chkconfig mongod on