Nightly Builds » History » Version 34
dexter, 05/15/2020 10:48 AM
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 | 32 | laforge | * https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_8.0/ |
35 | * https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_9.0/ |
||
36 | * https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_10/ |
||
37 | * https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_Testing/ |
||
38 | * https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_Unstable/ |
||
39 | * https://download.opensuse.org/repositories/network:/osmocom:/nightly/Raspbian_10/ |
||
40 | * https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_16.04/ |
||
41 | * https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_18.04/ |
||
42 | * https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_18.10/ |
||
43 | * https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_19.04/ |
||
44 | * https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_19.10/ |
||
45 | 27 | laforge | |
46 | 32 | laforge | |
47 | For example, adding the repository to your Debian 10 system: |
||
48 | 1 | laforge | <pre> |
49 | 23 | osmith | sudo su |
50 | 32 | laforge | wget https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_10/Release.key |
51 | 19 | daniel | sha256sum Release.key |
52 | 34 | dexter | => b5e2c1df9ff80bc73dd00a0c153ef308e7ec643ddb859e69789fcd4a9b1893d3 |
53 | 10 | msuraev | apt-key add Release.key |
54 | 20 | pespin | rm Release.key |
55 | 32 | laforge | echo "deb http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_10/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list |
56 | 11 | neels | apt-get update |
57 | 1 | laforge | exit |
58 | 11 | neels | </pre> |
59 | 12 | laforge | |
60 | 16 | laforge | h2. How are those builds created? |
61 | 11 | neels | |
62 | 33 | laforge | See https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_nightly/ for corresponding build job. |
63 | 1 | laforge | |
64 | 16 | laforge | The script at http://git.osmocom.org/osmo-ci/tree/scripts/osmocom-nightly-packages.sh is used to |
65 | * obtain a current clone of the respective git repository |
||
66 | * check out the current master in that repository |
||
67 | * build debian source packages |
||
68 | 24 | osmith | * upload them to the OBS *network:osmocom:nightly* sub-project. |
69 | 16 | laforge | |
70 | It's possible to reproduce the nightly builds locally using |
||
71 | <pre> |
||
72 | osc co |
||
73 | osc build |
||
74 | </pre> |
||
75 | |||
76 | To test local changes with one can create local packages the same way jenkins job above does: |
||
77 | <pre> |
||
78 | gbp buildpackage -S -uc -us --git-ignore-new --git-export-dir=/tmp |
||
79 | </pre> |
||
80 | and than repeat build steps outlined above for local build. |
||
81 | |||
82 | h2. E-Mail Notifications of build failures |
||
83 | |||
84 | Build failure notifications are sent to the "gerrit-log mailing list":https://lists.osmocom.org/mailman/listinfo/gerrit-log |