Project

General

Profile

Nightly Builds » History » Version 9

msuraev, 01/24/2017 09:07 AM

1 8 laforge
{{>toc}}
2
3 1 laforge
h1. Nightly Builds
4
5 9 msuraev
sysmocom has setup nightly Debian source package builds for Osmocom GSM related software. Starting from March 18, 2016, there are daily builds for Debian7.0 (i586, amd64) and Debian8.0 (amd64). The Osmocom jenkins will build source packages once a day and upload them to the Open(SUSE) Build Service (OBS). See https://jenkins.osmocom.org/jenkins/job/Osmocom_nightly_packages/ for corresponding build job.
6 1 laforge
7 3 dexter
The nice people of SuSE have created the "network:osmocom" project for us and we have created the "network:osmocom:nightly" sub-project. The Jenkins will upload source packages for:
8 1 laforge
* libosmocore
9
* libosmo-abis
10
* libosmo-netif
11
* libosmo-sccp
12
* libsmpp34
13
* openbsc
14
* openggsn
15
* osmo-pcap
16
* osmo-stp (cellmgr-ng)
17
* osmo-bts
18
* osmo-trx
19
* osmo-pcu
20
* osmo-sip-connector
21
22
The OBS page is at https://build.opensuse.org/project/show/network:osmocom:nightly
23
24
25
26
The Debian 7.0 repository is at http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_7.0
27
28
The Debian 8.0 repository is at http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_8.0/
29
30
31
Adding the repository to your system Debian 7.0
32
<pre>
33 5 dexter
sudo su
34 1 laforge
wget http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_7.0/Release.key 
35
sha256sum Release.key
36
=> 487d3c309facae16e83b3863bc042033fd02c41eb7183ced196d83225abb5729
37 2 wirelesss
apt-key add Release.key
38 1 laforge
echo "deb http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_7.0/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list 
39 4 dexter
apt-get update
40 6 dexter
exit
41 1 laforge
</pre>
42
43
Adding the repository to your system Debian 8.0
44
<pre>
45 5 dexter
sudo su
46 1 laforge
wget http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_8.0/Release.key 
47
sha256sum Release.key
48
=> 487d3c309facae16e83b3863bc042033fd02c41eb7183ced196d83225abb5729
49 2 wirelesss
apt-key add Release.key
50 1 laforge
echo "deb http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_8.0/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list
51 4 dexter
apt-get update
52 6 dexter
exit
53 1 laforge
</pre>
54 8 laforge
55
h2. E-Mail Notifications of build failures
56
57
There seems to be no easy way in OBS to register an e-mail address (such as a mailing list) that gets notified in case of build errors.  What we ended up doing is to
58
* register an OBS user account "openbsc-list" with e-mail address of the openbsc mailing list
59
* include that account with a 'reader' role in the OBS "openbsc:nightly" project
60
* set the OBS user notification preferences of that "openbsc-list" user to include "Package has failed to build" for "reader role.
Add picture from clipboard (Maximum size: 48.8 MB)