Skip to content

Our Testing Server

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

We have a test instance at our disposal to test the master branch of the open-build-service git repository: https://build-test.opensuse.org

Automatic upgrade of the OBS packages

Every time code is merged on master in the open-build-service git repository, rpm packages are built locally, in the test instance.

There is a publisher hook which triggers the script /usr/local/sbin/run_update.sh every time the packages are (first built, and then) published. This is 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 installs the new packages.

Clone this wiki locally