From Fedora Project Wiki
(Created page with "= 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 mo...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Schema =
<pre>
result: one_of(PASSED, INFO, FAILED, ABORTED, CRASHED, NEEDS_INSPECTION, RUNNING, text)
Testruns =
{
  _id
  testcase: url (reference to Testcase)
  result
  start_time: datetime
  end_time: datetime
  summary
  highlights
  outputs
  score: int
  log: url
  testrun_data: document(_TestrunData)
  phases:  list_of({name, result, start_time: datetime, end_time: datetime})
}
_TestrunData = document with un-specified key names. Each keys' value is (by default) a list of strings
{
  $key = list_of(text)
}
Jobs =
{
  _id
  start_time: datetime
  end_time: datetime
  result
  name
  summary
  log: url
  testrun_ids: list()
}
Testcases =
{
  _id = url
  name
}
</pre>
= Setup =
= Setup =



Latest revision as of 15:41, 7 May 2013

Schema


result: one_of(PASSED, INFO, FAILED, ABORTED, CRASHED, NEEDS_INSPECTION, RUNNING, text)

Testruns = 
{
  _id
  testcase: url (reference to Testcase)
  result
  start_time: datetime
  end_time: datetime
  summary
  highlights
  outputs
  score: int
  log: url
  testrun_data: document(_TestrunData)
  phases:  list_of({name, result, start_time: datetime, end_time: datetime})
}

_TestrunData = document with un-specified key names. Each keys' value is (by default) a list of strings
{
   $key = list_of(text)
}


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

  1. 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

  1. systemctl --system daemon-reload
  2. service mongod start
  3. chkconfig mongod on