Add a new distribution to OBS » History » Revision 3
Revision 2 (osmith, 12/05/2023 11:27 AM) → Revision 3/13 (osmith, 12/05/2023 11:32 AM)
h1. Add a new distribution to OBS
This article explains how to add a new distribution to the Osmocom OBS, after it became available in the openSUSE OBS. The "Osmocom_OBS_check_new_distros":https://jenkins.osmocom.org/jenkins/view/OBS/job/Osmocom_OBS_check_new_distros/ jenkins job points to this wiki page, when it finds a new distribution that we probably want to add according to the [[Linux Distributions]] article.
* Add the new distribution to <code>DISTROS</code> in "osmocom-obs-sync.yml":https://gitea.osmocom.org/osmocom/osmo-ci/src/branch/master/jobs/osmocom-obs-sync.yml
* Deploy the changes to this jenkins job
* Run "Osmocom_OBS_sync":https://jenkins.osmocom.org/jenkins/view/OBS/job/Osmocom_OBS_sync, it will create a new project in OBS:
<pre>
openSUSE.org-mirror:Ubuntu:23.10: is outdated (not in destination OBS)
Ubuntu:23.10: rewriting prjconf for openSUSE.org-mirror:Ubuntu:23.10
Ubuntu:23.10: rewriting meta for openSUSE.org-mirror:Ubuntu:23.10
...
</pre>
* Adjust the meta config of osmocom: projects to build for the new distribution. Use the same arches as in entries for previous versions.
** "latest":https://obs.osmocom.org/projects/osmocom:latest/meta
** "nightly":https://obs.osmocom.org/projects/osmocom:nightly/meta
** "master":https://obs.osmocom.org/projects/osmocom:master/meta (only for new Debian releases)
** "wireshark":https://obs.osmocom.org/projects/osmocom:wireshark/meta
* Add the new release in [[Linux Distributions]]