openSUSE-release-tools/docs/totest.asciidoc

53 lines
1.5 KiB
Plaintext
Raw Normal View History

2014-06-11 10:38:35 +02:00
ToTest Plugin Documentation
===========================
2014-06-10 15:57:14 +02:00
:author: openSUSE Team at SUSE
:toc:
Introduction
------------
[id="intro"]
In the current Factory model,
https://build.opensuse.org/project/show/openSUSE:Factory:ToTest[Factory:ToTest]
2017-01-13 17:36:36 +01:00
represents the project that stores several Factory Snapshots that are
2014-06-10 15:57:14 +02:00
candidates to be released if the measured quality (according to
openQA) is good enough.
2017-01-13 17:36:36 +01:00
This plugin encapsulates several conditions that are needed to decide
2014-06-10 15:57:14 +02:00
if a snapshot can be published or not:
* Check if the overall status of openQA is green.
* Check if all the repositories in openSUSE:Factory can be published.
2017-01-13 17:36:36 +01:00
If Factory meets both criteria, this plugin will publish a new version
of the project openSUSE:Factory:ToTest, if the version is different
2014-06-10 15:57:14 +02:00
from the current Factory.
Installation
------------
[id="install"]
Clone this repository:
-------------------------------------------------------------------------------
git clone https://github.com/openSUSE/osc-plugin-factory.git
-------------------------------------------------------------------------------
Link the plugin and the library in +~/.osc-plugins+ or +/var/lib/osc-plugins+.
-------------------------------------------------------------------------------
cd osc-plugin-factory
ln -sr ./osc-totest.py ./osclib ~/.osc-plugins
-------------------------------------------------------------------------------
Command line
------------
[id="cli"]
2017-01-13 17:36:36 +01:00
This plugin does not have any parameters, and needs to be executed with
2014-06-10 15:57:14 +02:00
the proper permissions in OBS.