Skip to content

Commit a8ed96a

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.
1 parent db97eba commit a8ed96a

6 files changed

Lines changed: 71 additions & 4 deletions

File tree

.github/workflows/elevate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ jobs:
570570
sudo vagrant ssh elevatevm -c "sudo /vagrant/Vendors.sh epel ${{ env.source_release }}" || exit 1
571571
572572
- name: Vendor - KernelCare
573-
if: inputs.vendors == 'all' && env.target_release != '10'
573+
if: inputs.vendors == 'all'
574574
run: |
575575
sudo vagrant ssh elevatevm -c "sudo /vagrant/Vendors.sh kernelcare ${{ env.source_release }}" || exit 1
576576

leapp-data.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
%endif
4141
%endif
4242
%if 0%{?rhel} == 9
43-
%define supported_vendors epel mariadb nginx-stable nginx-mainline docker-ce postgresql tuxcare
43+
%define supported_vendors epel kernelcare mariadb nginx-stable nginx-mainline docker-ce postgresql tuxcare
4444
%define target_version 10
4545
%define dist_gpg_path distro/%{dist_name}/rpm-gpg/%{target_version}
4646
%if "%{dist_name}" == "almalinux"
@@ -176,6 +176,7 @@ python3 tests/check_debranding.py %{buildroot}%{_sysconfdir}/leapp/files/pes-eve
176176
- Nginx Vendor
177177
- MariaDB Vendor (without MaxScale and Tools repositories)
178178
- Microsoft Vendor (still disabled for all upgrades)
179+
- KernelCare Vendor (use el-sig202505 repository)
179180

180181
* Thu Sep 11 2025 Yuriy Kohut <[email protected]> - 0.9-7.20250729
181182
- 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

vendors.d/kernelcare_map.json.el10

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"datetime": "202204020934Z",
3+
"version_format": "1.2.1",
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+
},
29+
{
30+
"repoid": "kernelcare",
31+
"major_version": "9",
32+
"repo_type": "rpm",
33+
"arch": "aarch64",
34+
"channel": "ga"
35+
}
36+
]
37+
},
38+
{
39+
"pesid": "kernelcare-10",
40+
"entries": [
41+
{
42+
"repoid": "kernelcare-10",
43+
"major_version": "10",
44+
"repo_type": "rpm",
45+
"arch": "x86_64",
46+
"channel": "ga"
47+
},
48+
{
49+
"repoid": "kernelcare-10",
50+
"major_version": "10",
51+
"repo_type": "rpm",
52+
"arch": "aarch64",
53+
"channel": "ga"
54+
}
55+
]
56+
}
57+
]
58+
}

0 commit comments

Comments
 (0)