Project

General

Profile

Latest Builds » History » Version 3

laforge, 10/28/2017 08:51 PM

1 1 laforge
{{>toc}}
2 1 laforge
3 1 laforge
h1. _Latest_ Builds
4 1 laforge
5 1 laforge
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
6 1 laforge
7 1 laforge
* Debian 8 (i586, amd64)
8 1 laforge
* Debian 9 (i586, amd64)
9 1 laforge
* xUbuntu 16.04 (i586, amd64)
10 1 laforge
* xUbuntu 16.10 (i586, amd64)
11 1 laforge
* xUbuntu 17.04 (i586, amd64)
12 1 laforge
* xUbuntu 17.10 (amd64)
13 1 laforge
14 1 laforge
The Osmocom jenkins will build source packages once a day and upload them to the Open(SUSE) Build Service (OBS). 
15 1 laforge
16 1 laforge
The OBS page is at https://build.opensuse.org/project/show/network:osmocom:latest
17 1 laforge
18 2 laforge
A nice status overview on the builds is available at https://build.opensuse.org/project/monitor/network:osmocom:latest
19 1 laforge
20 2 laforge
h2. How to use the _osmocom:latest_ builds
21 2 laforge
22 1 laforge
The download repositories are at:
23 1 laforge
24 1 laforge
* http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_8.0/
25 1 laforge
* http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_9.0/
26 1 laforge
* http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_16.04/
27 1 laforge
* http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_16.10/
28 1 laforge
* http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_17.04/
29 1 laforge
* http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_17.10/
30 1 laforge
31 1 laforge
Adding the repository to your Debian 8 system:
32 1 laforge
<pre>
33 1 laforge
sudo su
34 1 laforge
wget http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_8.0/Release.key 
35 1 laforge
sha256sum Release.key
36 1 laforge
=> 487d3c309facae16e83b3863bc042033fd02c41eb7183ced196d83225abb5729
37 1 laforge
apt-key add Release.key
38 1 laforge
echo "deb http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_8.0/ ./" > /etc/apt/sources.list.d/osmocom-latest.list
39 1 laforge
apt-get update
40 1 laforge
exit
41 1 laforge
</pre>
42 1 laforge
43 1 laforge
h2. How are those builds created?
44 1 laforge
45 1 laforge
See https://jenkins.osmocom.org/jenkins/job/Osmocom_latest_packages/ for corresponding build job.
46 1 laforge
47 2 laforge
The script at http://git.osmocom.org/osmo-ci/tree/scripts/osmocom-latest-packages.sh is used to
48 2 laforge
* obtain a current clone of the respective git repository
49 2 laforge
* check out the latest version tag in that repository
50 2 laforge
* build debian source packages
51 2 laforge
* upload them to the OBS *network:osmocom:latest* sub-project.
52 1 laforge
53 3 laforge
It's possible to reproduce the latest builds locally using
54 1 laforge
<pre>
55 1 laforge
osc co
56 1 laforge
osc build
57 1 laforge
</pre>
58 1 laforge
59 3 laforge
To test local changes with one can create local packages the same way jenkins job above does:
60 1 laforge
<pre>
61 1 laforge
gbp buildpackage -S -uc -us --git-ignore-new --git-export-dir=/tmp
62 1 laforge
</pre>
63 1 laforge
and than repeat build steps outlined above for local build.
64 1 laforge
65 1 laforge
h2. E-Mail Notifications of build failures
66 1 laforge
67 2 laforge
Build failure notifications are sent to the "gerrit-log mailing list":https://lists.osmocom.org/mailman/listinfo/gerrit-log