Project

General

Profile

Add a new distribution to OBS » History » Version 6

osmith, 12/05/2023 11:46 AM

1 1 osmith
h1. Add a new distribution to OBS
2
3
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.
4
5
* 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
6
* Deploy the changes to this jenkins job
7
* Run "Osmocom_OBS_sync":https://jenkins.osmocom.org/jenkins/view/OBS/job/Osmocom_OBS_sync, it will create a new project in OBS:
8
<pre>
9
openSUSE.org-mirror:Ubuntu:23.10: is outdated (not in destination OBS)
10
Ubuntu:23.10: rewriting prjconf for openSUSE.org-mirror:Ubuntu:23.10
11
Ubuntu:23.10: rewriting meta for openSUSE.org-mirror:Ubuntu:23.10
12
...
13
</pre>
14
* Adjust the meta config of osmocom: projects to build for the new distribution. Use the same arches as in entries for previous versions.
15
** "latest":https://obs.osmocom.org/projects/osmocom:latest/meta
16
** "nightly":https://obs.osmocom.org/projects/osmocom:nightly/meta
17 4 osmith
** "master":https://obs.osmocom.org/projects/osmocom:master/meta (Debian only)
18
** "wireshark":https://obs.osmocom.org/projects/osmocom:wireshark/meta (Debian, Ubuntu only)
19 5 osmith
* Add the new release to [[Linux Distributions]]
20 6 osmith
21
h2. Removing distributions
22
23
After adding the new distributions, check whether there are old releases that we don't need to build for anymore. For example, EOL releases of Ubuntu.
24
25
Process for removing distributions:
26
* Make sure it is okay to remove them according to the rules in [[Linux Distributions]] before proceeding!
27
* Remove the distribution from meta configs (see links above)
28
* Remove the distribution from <code>DISTROS</code> in "osmocom-obs-sync.yml":https://gitea.osmocom.org/osmocom/osmo-ci/src/branch/master/jobs/osmocom-obs-sync.yml
29
* Delete the OBS project, e.g. <code>openSUSE.org-mirror:Ubuntu:18.04</code>
Add picture from clipboard (Maximum size: 48.8 MB)