Skip to content

Commit 4badf0a

Browse files
committed
Add MariaDB Vendor for 9 to 10 upgrade
Remove mariadb-maxscale and mariadb-tools repositories for 9 to 10 upgrade, as they aren't available in EL10. CI: enable mariadb vendor for 9 to 10. (cherry picked from commit 84e10b9)
1 parent 94a2fef commit 4badf0a

4 files changed

Lines changed: 96 additions & 3 deletions

File tree

.github/workflows/elevate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ jobs:
551551
sudo vagrant ssh elevatevm -c "sudo /vagrant/Vendors.sh nginx ${{ env.source_release }}" || exit 1
552552
553553
- name: Vendor - MariaDB
554-
if: inputs.vendors == 'all' && env.target_release != '10'
554+
if: inputs.vendors == 'all'
555555
run: |
556556
sudo vagrant ssh elevatevm -c "sudo /vagrant/Vendors.sh mariadb ${{ env.source_release }}" || exit 1
557557

leapp-data.spec

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
%endif
2929
%endif
3030
%if 0%{?rhel} == 9
31-
%define supported_vendors epel nginx-stable nginx-mainline docker-ce postgresql tuxcare
31+
%define supported_vendors epel mariadb nginx-stable nginx-mainline docker-ce postgresql tuxcare
3232
%define target_version 10
3333
%define dist_gpg_path distro/%{dist_name}/rpm-gpg/%{target_version}
3434
%if "%{dist_name}" == "almalinux"
@@ -160,7 +160,9 @@ python3 tests/check_debranding.py %{buildroot}%{_sysconfdir}/leapp/files/pes-eve
160160

161161
%changelog
162162
* Tue Oct 14 2025 Yuriy Kohut <[email protected]> - 0.10-6.20250729
163-
- Add Nginx Vendor for 9 to 10 upgrade
163+
- Add new Vendors for 9 to 10 upgrade:
164+
- Nginx Vendor
165+
- MariaDB Vendor (without MaxScale and Tools repositories)
164166

165167
* Thu Sep 11 2025 Yuriy Kohut <[email protected]> - 0.10-5.20250729
166168
- Vendor imunify: update rpm GPG key

vendors.d/mariadb.repo.el10

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[el10-mariadb-main]
2+
name = MariaDB Server
3+
baseurl = https://dlm.mariadb.com/repo/mariadb-server/12.rolling/yum/rhel/10/$basearch
4+
gpgkey = file:///etc/leapp/files/vendors.d/rpm-gpg/mariadb-Server-GPG-KEY
5+
gpgcheck = 1
6+
enabled = 1
7+
module_hotfixes = true
8+
9+
# [el10-mariadb-maxscale]
10+
# # To use the latest stable release of MaxScale, use "latest" as the version
11+
# # To use the latest beta (or stable if no current beta) release of MaxScale, use "beta" as the version
12+
# name = MariaDB MaxScale
13+
# baseurl = https://dlm.mariadb.com/repo/maxscale/latest/yum/rhel/10/$basearch
14+
# gpgkey = file:///etc/leapp/files/vendors.d/rpm-gpg/mariadb-MaxScale-GPG-KEY
15+
# gpgcheck = 1
16+
# enabled = 1
17+
# module_hotfixes = true
18+
19+
20+
# [el10-mariadb-tools]
21+
# name = MariaDB Tools
22+
# baseurl = https://downloads.mariadb.com/Tools/rhel/10/x86_64
23+
# gpgkey = file:///etc/leapp/files/vendors.d/rpm-gpg/mariadb-Enterprise-GPG-KEY
24+
# gpgcheck = 1
25+
# enabled = 1
26+
# module_hotfixes = true
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"datetime": "202510141430Z",
3+
"version_format": "1.3.0",
4+
"mapping": [
5+
{
6+
"source_major_version": "9",
7+
"target_major_version": "10",
8+
"entries": [
9+
{
10+
"source": "mariadb-main",
11+
"target": [
12+
"el10-mariadb-main"
13+
]
14+
}
15+
]
16+
}
17+
],
18+
"repositories": [
19+
{
20+
"pesid": "mariadb-main",
21+
"entries": [
22+
{
23+
"major_version": "9",
24+
"repoid": "mariadb-main",
25+
"arch": "x86_64",
26+
"channel": "ga",
27+
"repo_type": "rpm",
28+
"distro": "{distro}"
29+
},
30+
{
31+
"major_version": "9",
32+
"repoid": "mariadb-main",
33+
"arch": "aarch64",
34+
"channel": "ga",
35+
"repo_type": "rpm",
36+
"distro": "{distro}"
37+
}
38+
]
39+
},
40+
{
41+
"pesid": "el10-mariadb-main",
42+
"entries": [
43+
{
44+
"major_version": "10",
45+
"repoid": "el10-mariadb-main",
46+
"arch": "x86_64",
47+
"channel": "ga",
48+
"repo_type": "rpm",
49+
"distro": "{distro}"
50+
},
51+
{
52+
"major_version": "10",
53+
"repoid": "el10-mariadb-main",
54+
"arch": "aarch64",
55+
"channel": "ga",
56+
"repo_type": "rpm",
57+
"distro": "{distro}"
58+
}
59+
]
60+
}
61+
],
62+
"provided_data_streams": [
63+
"4.0"
64+
]
65+
}

0 commit comments

Comments
 (0)