From Fedora Project Wiki

(Updated repository)
m (fix cron path)
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{header|qa}}
{{header|qa}}


This page details installing and configuring an [[Autoqa|autoqa]] server.  Autoqa is currently packaged for Fedora and EPEL, but due to library dependencies, the package is not yet available for Fedora.  The following section describes how to install autoqa.
This page details installing and configuring an [[AutoQA]] server.  AutoQA is currently packaged for Fedora and EPEL, but due to library dependencies, the package is not yet available in official Fedora repositories.  The following section describes how to install AutoQA.


= Use the Right Repo =
= Use the Right Repo =


Configure the system to receive updates from the the autoqa package repository.  To use the autoqa package repository, download the appropriate repository file listed below.
Configure the system to receive updates from the the AutoQA package repository.  To use the AutoQA package repository, download the appropriate repository file listed below.


* For '''Fedora''', execute the command: {{command|wget -P /etc/yum.repos.d http://repos.fedorapeople.org/repos/fedora-qa/autoqa/fedora-autoqa.repo}}
* For '''Fedora''', execute the command: {{command|wget -P /etc/yum.repos.d http://repos.fedorapeople.org/repos/fedora-qa/autoqa/fedora-autoqa.repo}}
* Otherwise, for '''EPEL''', execute the command: {{command|wget -P /etc/yum.repos.d http://repos.fedorapeople.org/repos/fedora-qa/autoqa/epel-autoqa.repo}}  
* Otherwise, for '''EPEL''', execute the command: {{command|wget -P /etc/yum.repos.d http://repos.fedorapeople.org/repos/fedora-qa/autoqa/epel-autoqa.repo}}  


= Package Install =
{{admon/note|updates-testing?|Just like with Fedora, there is an autoqa <code>updates-testing</code> package repository.  If you would like to test early releases of autoqa, and related packages, subscribe to the following package repositories:
* For '''Fedora''', execute the command: {{command|wget -P /etc/yum.repos.d http://repos.fedorapeople.org/repos/fedora-qa/autoqa/fedora-autoqa-testing.repo}}
* Otherwise, for '''EPEL''', execute the command: {{command|wget -P /etc/yum.repos.d http://repos.fedorapeople.org/repos/fedora-qa/autoqa/epel-autoqa-testing.repo}}
}}


Finally, with yum repositories configured, use the yum command to install autoqa and it's dependencies.
= Install AutoQA =


<pre># yum install autoqa</pre>
Use the following yum command to install AutoQA and its dependencies:
 
<pre>yum install autoqa</pre>
 
{{admon/question|Need autotest-server?|If you are planning to use AutoQA to develop and run tests on a single system, the {{package|autoqa}} package is all you'll need.  However, if you want multiple systems scheduling and running tests (see [[AutoQA architecture]]), you will want to install the {{package|autotest-server}} package.  For more information, see [[Install and configure autotest]].}}
 
= Configure AutoQA =
 
AutoQA tries to have reasonable defaults. But you will still probably want to configure additional optional services that can be integrated into AutoQA. Read more at [[AutoQA Configuration]] to see the list of available configuration files and their settings.
 
= Configure Cron =
 
On the server you will want to periodically run AutoQA [[AutoQA architecture|watchers]], which will schedule corresponding tests. We have prepared a cron file for these purposes, you can install it by:
<pre>
cp /usr/share/doc/autoqa-*/autoqa.cron /etc/cron.d/
</pre>
If you think that some watcher should be run more or less frequently (or you want to disable some of them completely), just edit the installed cron file.


[[Category:AutoQA]]
[[Category:AutoQA]]

Latest revision as of 16:33, 11 January 2012

This page details installing and configuring an AutoQA server. AutoQA is currently packaged for Fedora and EPEL, but due to library dependencies, the package is not yet available in official Fedora repositories. The following section describes how to install AutoQA.

Use the Right Repo

Configure the system to receive updates from the the AutoQA package repository. To use the AutoQA package repository, download the appropriate repository file listed below.

updates-testing?
Just like with Fedora, there is an autoqa updates-testing package repository. If you would like to test early releases of autoqa, and related packages, subscribe to the following package repositories:

Install AutoQA

Use the following yum command to install AutoQA and its dependencies:

yum install autoqa
Need autotest-server?
If you are planning to use AutoQA to develop and run tests on a single system, the autoqa package is all you'll need. However, if you want multiple systems scheduling and running tests (see AutoQA architecture), you will want to install the autotest-server package. For more information, see Install and configure autotest.

Configure AutoQA

AutoQA tries to have reasonable defaults. But you will still probably want to configure additional optional services that can be integrated into AutoQA. Read more at AutoQA Configuration to see the list of available configuration files and their settings.

Configure Cron

On the server you will want to periodically run AutoQA watchers, which will schedule corresponding tests. We have prepared a cron file for these purposes, you can install it by:

cp /usr/share/doc/autoqa-*/autoqa.cron /etc/cron.d/

If you think that some watcher should be run more or less frequently (or you want to disable some of them completely), just edit the installed cron file.