Nightly Builds » History » Revision 31
Revision 30 (laforge, 07/21/2019 02:36 PM) → Revision 31/50 (unrznbl, 08/04/2019 01:44 PM)
{{>toc}} h1. _Nightly_ Builds sysmocom has setup nightly Debian/Ubuntu source package builds for the current master version of the Osmocom GSM related software. *NOTE: USE NIGHTLY BUILDS ONLY FOR DEVELOPMENT/TESTING*. The [[Latest_Builds]] are a more stable alternative. Starting from March 18, 2016, there are daily builds for * Debian 8 (i586, amd64) * Debian 9 (i586, amd64, armv7l, aarch64) * Debian 10 (i586, amd64, armv7l, aarch64) * Debian testing (amd64) * Debian unstable (amd64) * Raspbian 10 (armv7l) * xUbuntu 16.04 (i586, amd64) * xUbuntu 18.04 (i586, amd64) * xUbuntu 18.10 (i586, amd64) * xUbuntu 19.10 (amd64) The Osmocom jenkins will build source packages once a day and upload them to the Open(SUSE) Build Service (OBS). The OBS page is at https://build.opensuse.org/project/show/network:osmocom:nightly A nice status overview on the builds is available at https://build.opensuse.org/project/monitor/network:osmocom:nightly h2. How to use the _osmocom:nightly_ builds The download repositories are at: * http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_8.0/ * http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_9.0/ * http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_10/ http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_10.0/ * http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_Testing/ * http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_Unstable/ * http://download.opensuse.org/repositories/network:/osmocom:/nightly/Raspbian_10/ http://download.opensuse.org/repositories/network:/osmocom:/nightly/Raspbian_10.0/ * http://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_16.04/ * http://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_18.04/ * http://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_18.10/ * http://download.opensuse.org/repositories/network:/osmocom:/nightly/xUbuntu_19.04/ For example, adding the repository to your Debian 9 system: <pre> sudo su wget https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_9.0/Release.key sha256sum Release.key => cbb03d32d144d45ba654ff9ed16361218d224a1bdffbdf2832c48e796b955aa8 apt-key add Release.key rm Release.key echo "deb http://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_9.0/ ./" > /etc/apt/sources.list.d/osmocom-nightly.list apt-get update exit </pre> h2. How are those builds created? See https://jenkins.osmocom.org/jenkins/job/Osmocom_nightly_packages/ 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 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