Nightly Builds » History » Revision 45
Revision 44 (laforge, 06/16/2022 12:38 PM) → Revision 45/62 (osmith, 07/11/2022 10:34 AM)
{{>toc}} h1. _Nightly_ Builds *NOTE: USE NIGHTLY BUILDS ONLY FOR DEVELOPMENT/TESTING*. The [[Latest_Builds]] are a more stable alternative. sysmocom has set up setup package builds for the current master version of the Osmocom GSM related software. As the name implies, these packages are built every night. The packages are built for various Linux distributions, find the complete list at "here":https://build.opensuse.org/repositories/network:osmocom:nightly. *NOTE: USE NIGHTLY BUILDS ONLY FOR DEVELOPMENT/TESTING*. The [[Latest_Builds]] are a more stable alternative. The Osmocom jenkins builds source packages once a day and uploads them to the Open(SUSE) Build Service (OBS). The OBS page: https://obs.osmocom.org/project/show/osmocom:nightly page is at https://build.opensuse.org/project/show/network:osmocom:nightly A nice status overview on the builds is available at https://obs.osmocom.org/project/monitor/osmocom:nightly https://build.opensuse.org/project/monitor/network:osmocom:nightly h2. How to use the _osmocom:nightly_ builds h3. Debian based distributions The download repositories are at: * Debian ** https://downloads.osmocom.org/packages/osmocom:/nightly/Debian_10/ https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_9.0/ ** https://downloads.osmocom.org/packages/osmocom:/nightly/Debian_11/ https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_10/ ** https://downloads.osmocom.org/packages/osmocom:/nightly/Debian_Testing/ https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_11/ ** https://downloads.osmocom.org/packages/osmocom:/nightly/Debian_Unstable/ https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_Testing/ ** https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_Unstable/ * Raspbian ** https://downloads.osmocom.org/packages/osmocom:/nightly/Raspbian_10/ https://download.opensuse.org/repositories/network:/osmocom:/nightly/Raspbian_10/ ** https://downloads.osmocom.org/packages/osmocom:/nightly/Raspbian_11/ https://download.opensuse.org/repositories/network:/osmocom:/nightly/Raspbian_11/ * Ubuntu ** https://downloads.osmocom.org/packages/osmocom:/nightly/xUbuntu_18.04/ https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_18.04/ ** https://downloads.osmocom.org/packages/osmocom:/nightly/xUbuntu_20.04/ https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_19.04/ ** https://downloads.osmocom.org/packages/osmocom:/nightly/xUbuntu_20.10/ https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_20.04/ ** https://downloads.osmocom.org/packages/osmocom:/nightly/xUbuntu_21.04/ https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_20.10/ ** https://downloads.osmocom.org/packages/osmocom:/nightly/xUbuntu_21.10/ https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_21.04/ ** https://downloads.osmocom.org/packages/osmocom:/nightly/xUbuntu_22.04/ https://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_21.10/ For example, adding the repository to your Debian 11 system: <pre> $ sudo su # wget https://downloads.osmocom.org/packages/osmocom:/nightly/Debian_11/Release.key https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_11/Release.key # sha256sum Release.key 1d0e8f6e67b84b6262767596a183d585c9a26cba793bbc862eb16fa3762db4b7 Release.key # apt-key add Release.key # rm Release.key # echo "deb https://downloads.osmocom.org/packages/osmocom:/nightly/Debian_11/ http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_11/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list # apt-get update # exit </pre> h3. RPM based distributions Example for CentOS_8, adjust it as necessary for other distributions as found "here":https://downloads.osmocom.org/packages/osmocom:/nightly/. "here":https://download.opensuse.org/repositories/network:osmocom:nightly/. <pre> $ sudo su # wget https://downloads.osmocom.org/packages/osmocom:/nightly/CentOS_8/osmocom:nightly.repo https://download.opensuse.org/repositories/network:osmocom:nightly/CentOS_8/network:osmocom:nightly.repo # sha256sum osmocom:nightly.repo network:osmocom:nightly.repo 804f3b16e0ede84ad9aac210267e4ee1c4eb7f894eddce16d61b8e1cb40c7bec 71cf8a1f6d84b3ddc279fc816e85205f8c8bb3c8a4c941646da5ae90adfe3988 osmocom:nightly.repo network:osmocom:nightly.repo # mv osmocom:nightly.repo network:osmocom:nightly.repo /etc/yum.repos.d/ # exit </pre> 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://downloads.osmocom.org/packages/osmocom:/nightly/CentOS_8/repodata/repomd.xml.key), ("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. h2. How are those builds created? See [[OBS Maintenance]]. https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_nightly/ for corresponding build job. The script at http://git.osmocom.org/osmo-ci/tree/scripts/osmocom-nightly-packages.sh is used to * obtain a current clone of the respective git repository * check out the current master in that repository * build debian source packages * upload them to the OBS *network:osmocom:nightly* sub-project. It's possible to reproduce the nightly 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 then 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 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. 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:* *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/. https://downloads.osmocom.org/obs-mirror/20210422-002301/nightly/Raspbian_10/