Project

General

Profile

Latest Builds » History » Version 3

Version 2 (laforge, 10/28/2017 08:50 PM) → Version 3/20 (laforge, 10/28/2017 08:51 PM)

{{>toc}}

h1. _Latest_ Builds

sysmocom has setup Debian source package builds for the _latest_ version tag of the Osmocom GSM related software. Starting from October 28, 2017, there are daily builds for

* Debian 8 (i586, amd64)
* Debian 9 (i586, amd64)
* xUbuntu 16.04 (i586, amd64)
* xUbuntu 16.10 (i586, amd64)
* xUbuntu 17.04 (i586, amd64)
* xUbuntu 17.10 (amd64)

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

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

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

h2. How to use the _osmocom:latest_ builds

The download repositories are at:

* http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_8.0/
* http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_9.0/
* http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_16.04/
* http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_16.10/
* http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_17.04/
* http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_17.10/

Adding the repository to your Debian 8 system:
<pre>
sudo su
wget http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_8.0/Release.key
sha256sum Release.key
=> 487d3c309facae16e83b3863bc042033fd02c41eb7183ced196d83225abb5729
apt-key add Release.key
echo "deb http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_8.0/ ./" > /etc/apt/sources.list.d/osmocom-latest.list
apt-get update
exit
</pre>



h2. How are those builds created?

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

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

It's possible to reproduce the latest nightly builds locally using
<pre>
osc co
osc build
</pre>

To test local changes with nightly infrastructure one can create local packages the same way jenkins job above does:
<pre>
gbp buildpackage -S -uc -us --git-ignore-new --git-export-dir=/tmp
</pre>
and than repeat build steps outlined above for local build.



h2. E-Mail Notifications of build failures

Build failure notifications are sent to the "gerrit-log mailing list":https://lists.osmocom.org/mailman/listinfo/gerrit-log
Add picture from clipboard (Maximum size: 48.8 MB)