Latest Builds » History » Revision 34
Revision 33 (laforge, 07/08/2022 08:39 PM) → Revision 34/45 (osmith, 07/11/2022 11:00 AM)
{{>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 set up 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 are built for various Linux distributions, find once a day and upload them to the complete list our self-hosted Open Build Service (OBS) installation at the https://obs.osmocom.org/ The OBS page: 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 Browse the published binary packages at: https://downloads.osmocom.org/packages/osmocom:/latest/ h2. How to use the _osmocom:latest_ builds h3. The download repositories are at: * Debian based distributions ** 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, adjust it as necessary for other distributions as found "here":https://downloads.osmocom.org/packages/osmocom:/latest/. 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 1d0e8f6e67b84b6262767596a183d585c9a26cba793bbc862eb16fa3762db4b7 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> h3. RPM based distributions h2. How are those builds created? Example See https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_latest_obs.osmocom.org/ for CentOS_8, adjust it as necessary for other distributions as found "here":https://downloads.osmocom.org/packages/osmocom:/latest/. corresponding build job. <pre> The script at https://gitea.osmocom.org/osmocom/osmo-ci/src/branch/master/scripts/osmocom-latest-packages.sh is used to $ sudo su * obtain a current clone of the respective git repository # wget https://downloads.osmocom.org/packages/osmocom:/latest/CentOS_8/osmocom:latest.repo * check out the latest version tag in that repository # sha256sum osmocom:latest.repo * build debian source packages 0260628ff9ddd5b31df946be1f56a8245bdd951dfbfa57ccce8585596ba1a0e5 osmocom:latest.repo * upload them to the OBS *osmocom:latest* sub-project. It's possible to reproduce the latest builds locally using # mv osmocom:latest.repo /etc/yum.repos.d/ <pre> # exit osc co osc build </pre> As soon as you try to install a package from To test local changes with one can create local packages 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://downloads.osmocom.org/packages/osmocom:/latest/CentOS_8/repodata/repomd.xml.key), download the repository index same way jenkins job above does: <pre> gbp buildpackage -S -uc -us --git-ignore-new --git-export-dir=/tmp </pre> and finally install the Osmocom packages. than repeat build steps outlined above for local build. h2. How E-Mail Notifications of build failures Build failure notifications are those builds created? sent to the "gerrit-log mailing list":https://lists.osmocom.org/mailman/listinfo/gerrit-log See [[OBS Maintenance]]. 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/