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