Latest Builds » History » Version 18
tsaitgaist, 09/17/2019 02:06 PM
update repo example to debian 10
1 | 1 | laforge | {{>toc}} |
---|---|---|---|
2 | |||
3 | h1. _Latest_ Builds |
||
4 | |||
5 | 9 | pespin | If you require current master version of the Osmocom GSM related software, go have a look at the [[Nightly_Builds]] alternative. NOTE: USE NIGHTLY BUILDS ONLY FOR DEVELOPMENT/TESTING. |
6 | 8 | pespin | |
7 | 1 | laforge | sysmocom has setup Debian source package builds for the _latest_ version tag of the Osmocom GSM related software. Starting from October 28, 2017, there are daily builds for |
8 | |||
9 | * Debian 8 (i586, amd64) |
||
10 | 6 | laforge | * Debian 9 (i586, amd64, armv7l, aarch64) |
11 | 16 | laforge | * Debian 10 (i586, amd64, armv7l, aarch64) |
12 | 13 | laforge | * Debian testing (x86_64) |
13 | * Debian unstable (x86_64) |
||
14 | 11 | laforge | * Raspbian 9 (armv7l) |
15 | 16 | laforge | * Raspbian 10 (armv7l) |
16 | 1 | laforge | * xUbuntu 16.04 (i586, amd64) |
17 | 13 | laforge | * xUbuntu 18.04 (i586, amd64) |
18 | * xUbuntu 18.10 (i586, amd64) |
||
19 | * xUbuntu 19.04 (amd64 |
||
20 | 1 | laforge | |
21 | The Osmocom jenkins will build source packages once a day and upload them to the Open(SUSE) Build Service (OBS). |
||
22 | |||
23 | The OBS page is at https://build.opensuse.org/project/show/network:osmocom:latest |
||
24 | |||
25 | 2 | laforge | A nice status overview on the builds is available at https://build.opensuse.org/project/monitor/network:osmocom:latest |
26 | 1 | laforge | |
27 | 2 | laforge | h2. How to use the _osmocom:latest_ builds |
28 | |||
29 | 1 | laforge | The download repositories are at: |
30 | |||
31 | * http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_8.0/ |
||
32 | * http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_9.0/ |
||
33 | 17 | unrznbl | * http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_10/ |
34 | 14 | laforge | * http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_Testing/ |
35 | * http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_Unstable/ |
||
36 | 11 | laforge | * http://download.opensuse.org/repositories/network:/osmocom:/latest/Raspbian_9.0/ |
37 | 17 | unrznbl | * http://download.opensuse.org/repositories/network:/osmocom:/latest/Raspbian_10/ |
38 | 1 | laforge | * http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_16.04/ |
39 | 11 | laforge | * http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_18.04/ |
40 | 1 | laforge | * http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_18.10/ |
41 | 14 | laforge | * http://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_19.04/ |
42 | 11 | laforge | |
43 | 18 | tsaitgaist | Adding the repository to your Debian 10 system: |
44 | 1 | laforge | <pre> |
45 | sudo su |
||
46 | 18 | tsaitgaist | wget http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_10.0/Release.key |
47 | 7 | daniel | sha256sum Release.key |
48 | 1 | laforge | => cbb03d32d144d45ba654ff9ed16361218d224a1bdffbdf2832c48e796b955aa8 |
49 | apt-key add Release.key |
||
50 | 5 | pespin | rm Release.key |
51 | 18 | tsaitgaist | echo "deb http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_10.0/ ./" > /etc/apt/sources.list.d/osmocom-latest.list |
52 | 1 | laforge | apt-get update |
53 | exit |
||
54 | </pre> |
||
55 | |||
56 | h2. How are those builds created? |
||
57 | |||
58 | 4 | laforge | See https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_latest/ for corresponding build job. |
59 | 1 | laforge | |
60 | 2 | laforge | The script at http://git.osmocom.org/osmo-ci/tree/scripts/osmocom-latest-packages.sh is used to |
61 | * obtain a current clone of the respective git repository |
||
62 | * check out the latest version tag in that repository |
||
63 | * build debian source packages |
||
64 | * upload them to the OBS *network:osmocom:latest* sub-project. |
||
65 | 1 | laforge | |
66 | 3 | laforge | It's possible to reproduce the latest builds locally using |
67 | 1 | laforge | <pre> |
68 | osc co |
||
69 | osc build |
||
70 | </pre> |
||
71 | |||
72 | 3 | laforge | To test local changes with one can create local packages the same way jenkins job above does: |
73 | 1 | laforge | <pre> |
74 | gbp buildpackage -S -uc -us --git-ignore-new --git-export-dir=/tmp |
||
75 | </pre> |
||
76 | and than repeat build steps outlined above for local build. |
||
77 | |||
78 | h2. E-Mail Notifications of build failures |
||
79 | |||
80 | 2 | laforge | Build failure notifications are sent to the "gerrit-log mailing list":https://lists.osmocom.org/mailman/listinfo/gerrit-log |