Skip to content

Our Testing Server

Eduardo J edited this page Jun 24, 2022 · 7 revisions

Automatic upgrade of the OBS packages

Our testing server automatically picks up new versions of OBS.

There is a publisher hook defined in /usr/lib/obs/server/BSConfig.pm with the following code:

our $publishedhook = {
  'OBS:Server:Unstable/15.4' => '/usr/local/sbin/run_update.sh',
};

The script /usr/local/sbin/run_update.sh automatically pulls the packages from the reference server and installs it.

Clone this wiki locally