Nightly Builds » History » Version 44
laforge, 06/16/2022 12:38 PM
update key sha256sum
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 | 41 | laforge | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Raspbian_11/ |
30 | 1 | laforge | * Ubuntu |
31 | 36 | laforge | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_18.04/ |
32 | 1 | laforge | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_19.04/ |
33 | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_20.04/ |
||
34 | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_20.10/ |
||
35 | 40 | laforge | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_21.04/ |
36 | 43 | laforge | ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_21.10/ |
37 | 1 | laforge | |
38 | 42 | laforge | For example, adding the repository to your Debian 11 system: |
39 | 1 | laforge | <pre> |
40 | 38 | osmith | $ sudo su |
41 | 42 | laforge | # wget https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_11/Release.key |
42 | 38 | osmith | # sha256sum Release.key |
43 | 44 | laforge | 1d0e8f6e67b84b6262767596a183d585c9a26cba793bbc862eb16fa3762db4b7 Release.key |
44 | 38 | osmith | # apt-key add Release.key |
45 | # rm Release.key |
||
46 | 42 | laforge | # echo "deb http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_11/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list |
47 | 38 | osmith | # apt-get update |
48 | # exit |
||
49 | 36 | laforge | </pre> |
50 | 1 | laforge | |
51 | 38 | osmith | h3. RPM based distributions |
52 | |||
53 | Example for CentOS_8, adjust it as necessary for other distributions as found "here":https://download.opensuse.org/repositories/network:osmocom:nightly/. |
||
54 | |||
55 | <pre> |
||
56 | $ sudo su |
||
57 | # wget https://download.opensuse.org/repositories/network:osmocom:nightly/CentOS_8/network:osmocom:nightly.repo |
||
58 | # sha256sum network:osmocom:nightly.repo |
||
59 | 71cf8a1f6d84b3ddc279fc816e85205f8c8bb3c8a4c941646da5ae90adfe3988 network:osmocom:nightly.repo |
||
60 | # mv network:osmocom:nightly.repo /etc/yum.repos.d/ |
||
61 | # exit |
||
62 | </pre> |
||
63 | |||
64 | 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. |
||
65 | |||
66 | 16 | laforge | h2. How are those builds created? |
67 | 11 | neels | |
68 | 33 | laforge | See https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_nightly/ for corresponding build job. |
69 | 1 | laforge | |
70 | 16 | laforge | The script at http://git.osmocom.org/osmo-ci/tree/scripts/osmocom-nightly-packages.sh is used to |
71 | * obtain a current clone of the respective git repository |
||
72 | * check out the current master in that repository |
||
73 | * build debian source packages |
||
74 | 24 | osmith | * upload them to the OBS *network:osmocom:nightly* sub-project. |
75 | 16 | laforge | |
76 | It's possible to reproduce the nightly builds locally using |
||
77 | <pre> |
||
78 | 38 | osmith | $ osc co |
79 | $ osc build |
||
80 | 16 | laforge | </pre> |
81 | |||
82 | To test local changes with one can create local packages the same way jenkins job above does: |
||
83 | <pre> |
||
84 | 38 | osmith | $ gbp buildpackage -S -uc -us --git-ignore-new --git-export-dir=/tmp |
85 | 16 | laforge | </pre> |
86 | 38 | osmith | and then repeat build steps outlined above for local build. |
87 | 16 | laforge | |
88 | h2. E-Mail Notifications of build failures |
||
89 | |||
90 | Build failure notifications are sent to the "gerrit-log mailing list":https://lists.osmocom.org/mailman/listinfo/gerrit-log |
||
91 | 37 | laforge | |
92 | h2. Mirrors |
||
93 | |||
94 | 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. |
||
95 | 39 | laforge | |
96 | h2. Historical Archives / Older Packages |
||
97 | |||
98 | 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/ |