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