Project

General

Profile

Actions

Nightly Builds » History » Revision 43

« Previous | Revision 43/58 (diff) | Next »
laforge, 04/28/2022 12:39 PM


Nightly Builds

sysmocom has setup package builds for the current master version of the Osmocom GSM related software. The packages are built for various Linux distributions, find the complete list here.

NOTE: USE NIGHTLY BUILDS ONLY FOR DEVELOPMENT/TESTING. The Latest_Builds are a more stable alternative.

The Osmocom jenkins builds source packages once a day and uploads them to the Open(SUSE) Build Service (OBS).

The OBS page is at https://build.opensuse.org/project/show/network:osmocom:nightly

A nice status overview on the builds is available at https://build.opensuse.org/project/monitor/network:osmocom:nightly

How to use the osmocom:nightly builds

Debian based distributions

The download repositories are at:

For example, adding the repository to your Debian 11 system:

$ sudo su
# wget https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_11/Release.key 
# sha256sum Release.key
b5e2c1df9ff80bc73dd00a0c153ef308e7ec643ddb859e69789fcd4a9b1893d3  Release.key
# apt-key add Release.key
# rm Release.key
# echo "deb http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_11/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list
# apt-get update
# exit

RPM based distributions

Example for CentOS_8, adjust it as necessary for other distributions as found here.

$ sudo su
# wget https://download.opensuse.org/repositories/network:osmocom:nightly/CentOS_8/network:osmocom:nightly.repo
# sha256sum network:osmocom:nightly.repo
71cf8a1f6d84b3ddc279fc816e85205f8c8bb3c8a4c941646da5ae90adfe3988  network:osmocom:nightly.repo
# mv network:osmocom:nightly.repo /etc/yum.repos.d/
# exit

As soon as you try to install a package from the Osmocom repository (e.g. dnf install osmo-hlr), dnf will import the repositories GPG key as defined in the .repo file (repomd.xml.key), download the repository index and finally install the Osmocom packages.

How are those builds created?

See https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_nightly/ for corresponding build job.

The script at http://git.osmocom.org/osmo-ci/tree/scripts/osmocom-nightly-packages.sh is used to
  • obtain a current clone of the respective git repository
  • check out the current master in that repository
  • build debian source packages
  • upload them to the OBS network:osmocom:nightly sub-project.

It's possible to reproduce the nightly builds locally using

$ osc co
$ osc build

To test local changes with one can create local packages the same way jenkins job above does:

$ gbp buildpackage -S -uc -us --git-ignore-new --git-export-dir=/tmp

and then repeat build steps outlined above for local build.

E-Mail Notifications of build failures

Build failure notifications are sent to the gerrit-log mailing list

Mirrors

In case you have trouble reaching download.opensuse.org, you can try https://ftp.uni-stuttgart.de/opensuse/repositories/network:/osmocom:/ as a base URL.

Historical Archives / Older Packages

If you are interested in a historical archive of previous / older packages, you can find it at https://downloads.osmocom.org/obs-mirror/ - it contains a daily mirror of the entire network:osmocom: OBS hierarchy, including the nightly builds. The full URL e.g. for Raspbian 10 of April 22nd, 2021 would be https://downloads.osmocom.org/obs-mirror/20210422-002301/nightly/Raspbian_10/

Files (0)

Updated by laforge almost 2 years ago · 43 revisions

Add picture from clipboard (Maximum size: 48.8 MB)