ci: remove rocky8 tests and switch to rocky9
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2022-09-20 09:14:59 +02:00
parent 11bf6fe4c8
commit 2f53b0c3d5
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
9 changed files with 8 additions and 19 deletions

View File

@ -116,7 +116,7 @@ local PipelineDocumentation = {
}, },
depends_on: [ depends_on: [
'testing-centos7', 'testing-centos7',
'testing-rocky8', 'testing-rocky9',
], ],
}; };
@ -155,7 +155,7 @@ local PipelineNotification = {
[ [
PipelineLinting, PipelineLinting,
PipelineDeployment(scenario='centos7'), PipelineDeployment(scenario='centos7'),
PipelineDeployment(scenario='rocky8'), PipelineDeployment(scenario='rocky9'),
PipelineDocumentation, PipelineDocumentation,
PipelineNotification, PipelineNotification,
] ]

View File

@ -69,7 +69,7 @@ depends_on:
--- ---
kind: pipeline kind: pipeline
name: testing-rocky8 name: testing-rocky9
platform: platform:
os: linux os: linux
@ -86,7 +86,7 @@ steps:
- name: ansible-molecule - name: ansible-molecule
image: thegeeklab/molecule:3 image: thegeeklab/molecule:3
commands: commands:
- molecule test -s rocky8 - molecule test -s rocky9
environment: environment:
HCLOUD_TOKEN: HCLOUD_TOKEN:
from_secret: hcloud_token from_secret: hcloud_token
@ -142,7 +142,7 @@ trigger:
depends_on: depends_on:
- testing-centos7 - testing-centos7
- testing-rocky8 - testing-rocky9
--- ---
kind: pipeline kind: pipeline
@ -182,6 +182,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 9805c1bf3e21a42abc832112ef8ad5e4204862d517e3d4831bbd4946a654693e hmac: e5b086ac86622b35b4555a8450cf8a1a6ffc5caff37a4290ab563078d6c54128
... ...

View File

@ -5,15 +5,6 @@
become: True become: True
become_user: root become_user: root
- name: Rebuild grub config
command: "{{ item }}"
listen: __kernel_grub_rebuild
loop:
- grub2-mkconfig -o /boot/grub2/grub.cfg
- grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg
become: True
become_user: root
- name: Reboot server - name: Reboot server
reboot: reboot:
reboot_timeout: 600 reboot_timeout: 600

View File

@ -9,8 +9,8 @@ dependency:
driver: driver:
name: delegated name: delegated
platforms: platforms:
- name: rocky8-kernel - name: rocky9-kernel
image: rocky-8 image: rocky-9
server_type: cx11 server_type: cx11
lint: | lint: |
/usr/local/bin/flake8 /usr/local/bin/flake8

View File

@ -34,8 +34,6 @@ def test_coredump_config(host):
def test_cgroup_config(host): def test_cgroup_config(host):
grub = host.file("/boot/grub2/grubenv")
proc = host.run("mount -l | grep cgroup") proc = host.run("mount -l | grep cgroup")
assert grub.contains("systemd.unified_cgroup_hierarchy=1")
assert "cgroup2 on /sys/fs/cgroup type cgroup2" in proc.stdout assert "cgroup2 on /sys/fs/cgroup type cgroup2" in proc.stdout