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