Skip to content

Commit 4214385

Browse files
committed
Add KernelCare Vendor for 9 to 10 upgrade
CI: enable kernelcare vendor for 9 to 10. Switch into el-sig202505 repositories with the new RPM GPG key. (cherry picked from commit a8ed96a)
1 parent 1126764 commit 4214385

6 files changed

Lines changed: 75 additions & 4 deletions

File tree

.github/workflows/elevate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ jobs:
530530
sudo vagrant ssh elevatevm -c "sudo /vagrant/Vendors.sh epel ${{ env.source_release }}" || exit 1
531531
532532
- name: Vendor - KernelCare
533-
if: inputs.vendors == 'all' && env.target_release != '10'
533+
if: inputs.vendors == 'all'
534534
run: |
535535
sudo vagrant ssh elevatevm -c "sudo /vagrant/Vendors.sh kernelcare ${{ env.source_release }}" || exit 1
536536

leapp-data.spec

Lines changed: 2 additions & 1 deletion
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 mariadb nginx-stable nginx-mainline docker-ce postgresql tuxcare
31+
%define supported_vendors epel kernelcare 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"
@@ -164,6 +164,7 @@ python3 tests/check_debranding.py %{buildroot}%{_sysconfdir}/leapp/files/pes-eve
164164
- Nginx Vendor
165165
- MariaDB Vendor (without MaxScale and Tools repositories)
166166
- Microsoft Vendor (still disabled for all upgrades)
167+
- KernelCare Vendor (use el-sig202505 repository)
167168

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

vendors.d/kernelcare.repo.el10

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# KernelCare repository.
2+
3+
[kernelcare-10]
4+
name=kernelcare
5+
baseurl=https://repo.cloudlinux.com/kernelcare/el-sig202505/10/$basearch
6+
enabled=1
7+
gpgcheck=1
8+
gpgkey=file:///etc/leapp/files/vendors.d/rpm-gpg/kernelcare.gpg

vendors.d/kernelcare.repo.el8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[kernelcare-8]
44
name=kernelcare
5-
baseurl=https://repo.cloudlinux.com/kernelcare/8/$basearch
5+
baseurl=https://repo.cloudlinux.com/kernelcare/el-sig202505/8/$basearch
66
enabled=1
77
gpgcheck=1
88
gpgkey=file:///etc/leapp/files/vendors.d/rpm-gpg/kernelcare.gpg

vendors.d/kernelcare.repo.el9

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[kernelcare-9]
44
name=kernelcare
5-
baseurl=https://repo.cloudlinux.com/kernelcare/9/$basearch
5+
baseurl=https://repo.cloudlinux.com/kernelcare/el-sig202505/9/$basearch
66
enabled=1
77
gpgcheck=1
88
gpgkey=file:///etc/leapp/files/vendors.d/rpm-gpg/kernelcare.gpg
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"datetime": "202510131400Z",
3+
"version_format": "1.3.0",
4+
"mapping": [
5+
{
6+
"source_major_version": "9",
7+
"target_major_version": "10",
8+
"entries": [
9+
{
10+
"source": "kernelcare",
11+
"target": [
12+
"kernelcare-10"
13+
]
14+
}
15+
]
16+
}
17+
],
18+
"repositories": [
19+
{
20+
"pesid": "kernelcare",
21+
"entries": [
22+
{
23+
"repoid": "kernelcare",
24+
"major_version": "9",
25+
"repo_type": "rpm",
26+
"arch": "x86_64",
27+
"channel" : "ga",
28+
"distro": "{distro}"
29+
},
30+
{
31+
"repoid": "kernelcare",
32+
"major_version": "9",
33+
"repo_type": "rpm",
34+
"arch": "aarch64",
35+
"channel" : "ga",
36+
"distro": "{distro}"
37+
}
38+
]
39+
},
40+
{
41+
"pesid": "kernelcare-10",
42+
"entries": [
43+
{
44+
"repoid": "kernelcare-10",
45+
"major_version": "10",
46+
"repo_type": "rpm",
47+
"arch": "x86_64",
48+
"channel" : "ga",
49+
"distro": "{distro}"
50+
},
51+
{
52+
"repoid": "kernelcare-10",
53+
"major_version": "10",
54+
"repo_type": "rpm",
55+
"arch": "aarch64",
56+
"channel" : "ga",
57+
"distro": "{distro}"
58+
}
59+
]
60+
}
61+
]
62+
}

0 commit comments

Comments
 (0)