Latest Builds » History » Revision 33
Revision 32 (laforge, 07/08/2022 08:34 PM) → Revision 33/45 (laforge, 07/08/2022 08:39 PM)
{{>toc}}
h1. _Latest_ Builds
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.
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
* Debian 10 (i586, amd64, armv7l, aarch64)
* Debian 11 (i586, amd64, armv7l, aarch64)
* Debian testing (x86_64)
* Debian unstable (x86_64)
* Raspbian 10 (armv7l)
* Raspbian 11 (armv7l)
* xUbuntu 18.04 (i586, amd64)
* xUbuntu 19.04 (amd64)
* xUbuntu 20.10 (amd64)
* xUbuntu 21.04 (amd64)
* xUbuntu 21.10 (amd64)
The Osmocom jenkins will build source packages once a day and upload them to the our self-hosted Open Build Service (OBS) installation at https://obs.osmocom.org/
The OBS page is at https://obs.osmocom.org/project/show/osmocom:latest
A nice status overview on the builds is available at https://obs.osmocom.org/project/monitor/osmocom:latest
h2. How to use the _osmocom:latest_ builds
The download repositories are at:
* Debian
** https://downloads.osmocom.org/packages/osmocom:/latest/Debian_10/
** https://downloads.osmocom.org/packages/osmocom:/latest/Debian_11/
** https://downloads.osmocom.org/packages/osmocom:/latest/Debian_Testing/
** https://downloads.osmocom.org/packages/osmocom:/latest/Debian_Unstable/
* Raspbian
** https://downloads.osmocom.org/packages/osmocom:/latest/Raspbian_10/
** https://downloads.osmocom.org/packages/osmocom:/latest/Raspbian_11/
* Ubuntu
** https://downloads.osmocom.org/packages/osmocom:/latest/xUbuntu_18.04/
** https://downloads.osmocom.org/packages/osmocom:/latest/xUbuntu_20.04/
** https://downloads.osmocom.org/packages/osmocom:/latest/xUbuntu_20.10/
** https://downloads.osmocom.org/packages/osmocom:/latest/xUbuntu_21.04/
** https://downloads.osmocom.org/packages/osmocom:/latest/xUbuntu_21.10/
** https://downloads.osmocom.org/packages/osmocom:/latest/xUbuntu_22.04/
Example instructions for adding the repository to your Debian 11 system:
<pre>
sudo su
apt install apt-transport-https
wget https://downloads.osmocom.org/packages/osmocom:/latest/Debian_11/Release.key
sha256sum Release.key
=> 5c317407aef0671b7795d79942b4b9118dca199884d88accab2aae92a5ad08ba
apt-key add Release.key
rm Release.key
echo "deb https://downloads.osmocom.org/packages/osmocom:/latest/Debian_11/ ./" > /etc/apt/sources.list.d/osmocom-latest.list
apt-get update
exit
</pre>
h2. How are those builds created?
See https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_latest_obs.osmocom.org/ for corresponding build job.
The script at https://gitea.osmocom.org/osmocom/osmo-ci/src/branch/master/scripts/osmocom-latest-packages.sh is used to
* obtain a current clone of the respective git repository
* check out the latest version tag in that repository
* build debian source packages
* upload them to the OBS *osmocom:latest* sub-project.
It's possible to reproduce the latest builds locally using
<pre>
osc co
osc build
</pre>
To test local changes with one can create local packages the same way jenkins job above does:
<pre>
gbp buildpackage -S -uc -us --git-ignore-new --git-export-dir=/tmp
</pre>
and than repeat build steps outlined above for local build.
h2. E-Mail Notifications of build failures
Build failure notifications are sent to the "gerrit-log mailing list":https://lists.osmocom.org/mailman/listinfo/gerrit-log
h2. Mirrors
We currently don't have official download mirrors for https://downloads.osmocom.org/ - Let us know if you would like to contribute a mirror
h2. Historical Archives / Older Packages
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 *osmocom:* OBS hierarchy, including the *latest* builds. The full URL e.g. for Raspbian 10 of April 22nd, 2021 would be https://downloads.osmocom.org/obs-mirror/20210422-002301/latest/Raspbian_10/