Project

General

Profile

Latest Builds » History » Version 11

laforge, 01/26/2019 04:24 PM
add Raspbian and ubuntu 18.10; change example to debian9

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