Nightly Builds » History » Version 40
laforge, 09/03/2021 03:52 PM
remove debian 8 + ubuntu 19.10; add debian 11 and ubuntu 21.04
1 | 8 | laforge | {{>toc}} |
---|---|---|---|
2 | |||
3 | 16 | laforge | h1. _Nightly_ Builds |
4 | 1 | laforge | |
5 | 38 | osmith | sysmocom has setup package builds for the current master version of the Osmocom GSM related software. The packages are built for various Linux distributions, find the complete list "here":https://build.opensuse.org/repositories/network:osmocom:nightly. |
6 | 17 | laforge | |
7 | *NOTE: USE NIGHTLY BUILDS ONLY FOR DEVELOPMENT/TESTING*. The [[Latest_Builds]] are a more stable alternative. |
||
8 | |||
9 | 38 | osmith | The Osmocom jenkins builds source packages once a day and uploads them to the Open(SUSE) Build Service (OBS). |
10 | 32 | laforge | |
11 | 16 | laforge | The OBS page is at https://build.opensuse.org/project/show/network:osmocom:nightly |
12 | 14 | neels | |
13 | 1 | laforge | A nice status overview on the builds is available at https://build.opensuse.org/project/monitor/network:osmocom:nightly |
14 | |||
15 | 16 | laforge | h2. How to use the _osmocom:nightly_ builds |
16 | 1 | laforge | |
17 | 38 | osmith | h3. Debian based distributions |
18 | |||
19 | 1 | laforge | The download repositories are at: |
20 | |||
21 | * Debian |
||
22 | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_9.0/ |
||
23 | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_10/ |
||
24 | 40 | laforge | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_11/ |
25 | 1 | laforge | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_Testing/ |
26 | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_Unstable/ |
||
27 | * Raspbian |
||
28 | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Raspbian_10/ |
||
29 | * Ubuntu |
||
30 | 36 | laforge | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_18.04/ |
31 | 1 | laforge | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_19.04/ |
32 | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_20.04/ |
||
33 | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_20.10/ |
||
34 | 40 | laforge | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_21.04/ |
35 | 1 | laforge | |
36 | For example, adding the repository to your Debian 10 system: |
||
37 | <pre> |
||
38 | 38 | osmith | $ sudo su |
39 | # wget https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_10/Release.key |
||
40 | # sha256sum Release.key |
||
41 | b5e2c1df9ff80bc73dd00a0c153ef308e7ec643ddb859e69789fcd4a9b1893d3 Release.key |
||
42 | # apt-key add Release.key |
||
43 | # rm Release.key |
||
44 | # echo "deb http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_10/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list |
||
45 | # apt-get update |
||
46 | # exit |
||
47 | 36 | laforge | </pre> |
48 | 1 | laforge | |
49 | 38 | osmith | h3. RPM based distributions |
50 | |||
51 | Example for CentOS_8, adjust it as necessary for other distributions as found "here":https://download.opensuse.org/repositories/network:osmocom:nightly/. |
||
52 | |||
53 | <pre> |
||
54 | $ sudo su |
||
55 | # wget https://download.opensuse.org/repositories/network:osmocom:nightly/CentOS_8/network:osmocom:nightly.repo |
||
56 | # sha256sum network:osmocom:nightly.repo |
||
57 | 71cf8a1f6d84b3ddc279fc816e85205f8c8bb3c8a4c941646da5ae90adfe3988 network:osmocom:nightly.repo |
||
58 | # mv network:osmocom:nightly.repo /etc/yum.repos.d/ |
||
59 | # exit |
||
60 | </pre> |
||
61 | |||
62 | As soon as you try to install a package from the Osmocom repository (e.g. <code>dnf install osmo-hlr</code>), @dnf@ will import the repositories GPG key as defined in the .repo file ("repomd.xml.key":https://download.opensuse.org/repositories/network:/osmocom:/nightly/CentOS_8/repodata/repomd.xml.key), download the repository index and finally install the Osmocom packages. |
||
63 | |||
64 | 16 | laforge | h2. How are those builds created? |
65 | 11 | neels | |
66 | 33 | laforge | See https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_nightly/ for corresponding build job. |
67 | 1 | laforge | |
68 | 16 | laforge | The script at http://git.osmocom.org/osmo-ci/tree/scripts/osmocom-nightly-packages.sh is used to |
69 | * obtain a current clone of the respective git repository |
||
70 | * check out the current master in that repository |
||
71 | * build debian source packages |
||
72 | 24 | osmith | * upload them to the OBS *network:osmocom:nightly* sub-project. |
73 | 16 | laforge | |
74 | It's possible to reproduce the nightly builds locally using |
||
75 | <pre> |
||
76 | 38 | osmith | $ osc co |
77 | $ osc build |
||
78 | 16 | laforge | </pre> |
79 | |||
80 | To test local changes with one can create local packages the same way jenkins job above does: |
||
81 | <pre> |
||
82 | 38 | osmith | $ gbp buildpackage -S -uc -us --git-ignore-new --git-export-dir=/tmp |
83 | 16 | laforge | </pre> |
84 | 38 | osmith | and then repeat build steps outlined above for local build. |
85 | 16 | laforge | |
86 | h2. E-Mail Notifications of build failures |
||
87 | |||
88 | Build failure notifications are sent to the "gerrit-log mailing list":https://lists.osmocom.org/mailman/listinfo/gerrit-log |
||
89 | 37 | laforge | |
90 | h2. Mirrors |
||
91 | |||
92 | In case you have trouble reaching download.opensuse.org, you can try https://ftp.uni-stuttgart.de/opensuse/repositories/network:/osmocom:/ as a base URL. |
||
93 | 39 | laforge | |
94 | h2. Historical Archives / Older Packages |
||
95 | |||
96 | If you are interested in a historical archive of previous / older packages, you can find it at https://downloads.osmocom.org/obs-mirror/ - it contains a daily mirror of the entire *network:osmocom:* OBS hierarchy, including the *nightly* builds. The full URL e.g. for Raspbian 10 of April 22nd, 2021 would be https://downloads.osmocom.org/obs-mirror/20210422-002301/nightly/Raspbian_10/ |