Project

General

Profile

Nightly Builds » History » Version 37

laforge, 11/18/2020 03:18 PM

1 8 laforge
{{>toc}}
2
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
7
*NOTE: USE NIGHTLY BUILDS ONLY FOR DEVELOPMENT/TESTING*.  The [[Latest_Builds]] are a more stable alternative.
8
9
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 32 laforge
* xUbuntu 19.04 (amd64)
21 27 laforge
* xUbuntu 19.10 (amd64)
22 1 laforge
23 32 laforge
24 16 laforge
The Osmocom jenkins will build source packages once a day and upload them to the Open(SUSE) Build Service (OBS). 
25 14 neels
26 1 laforge
The OBS page is at https://build.opensuse.org/project/show/network:osmocom:nightly
27
28 16 laforge
A nice status overview on the builds is available at https://build.opensuse.org/project/monitor/network:osmocom:nightly
29 1 laforge
30 16 laforge
h2. How to use the _osmocom:nightly_ builds
31 1 laforge
32
The download repositories are at:
33
34 36 laforge
* Debian
35
** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_8.0/
36
** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_9.0/
37
** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_10/
38
** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_Testing/
39
** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_Unstable/
40
* Raspbian
41
** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Raspbian_10/
42
* Ubuntu
43
** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_18.04/
44
** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_19.04/
45
** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_19.10/
46
** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_20.04/
47
** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_20.10/
48 32 laforge
49
For example, adding the repository to your Debian 10 system:
50 1 laforge
<pre>
51 23 osmith
sudo su
52 32 laforge
wget https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_10/Release.key 
53 19 daniel
sha256sum Release.key
54 34 dexter
=> b5e2c1df9ff80bc73dd00a0c153ef308e7ec643ddb859e69789fcd4a9b1893d3
55 10 msuraev
apt-key add Release.key
56 20 pespin
rm Release.key
57 32 laforge
echo "deb http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_10/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list
58 11 neels
apt-get update
59 1 laforge
exit
60 11 neels
</pre>
61 12 laforge
62 16 laforge
h2. How are those builds created?
63 11 neels
64 33 laforge
See https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_nightly/ for corresponding build job.
65 1 laforge
66 16 laforge
The script at http://git.osmocom.org/osmo-ci/tree/scripts/osmocom-nightly-packages.sh is used to
67
* obtain a current clone of the respective git repository
68
* check out the current master in that repository
69
* build debian source packages
70 24 osmith
* upload them to the OBS *network:osmocom:nightly* sub-project.
71 16 laforge
72
It's possible to reproduce the nightly builds locally using
73
<pre>
74
osc co
75
osc build
76
</pre>
77
78
To test local changes with one can create local packages the same way jenkins job above does:
79
<pre>
80
gbp buildpackage -S -uc -us --git-ignore-new --git-export-dir=/tmp
81
</pre>
82
and than repeat build steps outlined above for local build.
83
84
h2. E-Mail Notifications of build failures
85
86
Build failure notifications are sent to the "gerrit-log mailing list":https://lists.osmocom.org/mailman/listinfo/gerrit-log
87 37 laforge
88
h2. Mirrors
89
90
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.
Add picture from clipboard (Maximum size: 48.8 MB)