Project

General

Profile

Nightly Builds » History » Version 31

unrznbl, 08/04/2019 01:44 PM
fixed debian/raspbian links for 10 to reflect state on server

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