ci: remove rocky8 tests and switch to rocky9
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
11bf6fe4c8
commit
2f53b0c3d5
|
@ -116,7 +116,7 @@ local PipelineDocumentation = {
|
|||
},
|
||||
depends_on: [
|
||||
'testing-centos7',
|
||||
'testing-rocky8',
|
||||
'testing-rocky9',
|
||||
],
|
||||
};
|
||||
|
||||
|
@ -155,7 +155,7 @@ local PipelineNotification = {
|
|||
[
|
||||
PipelineLinting,
|
||||
PipelineDeployment(scenario='centos7'),
|
||||
PipelineDeployment(scenario='rocky8'),
|
||||
PipelineDeployment(scenario='rocky9'),
|
||||
PipelineDocumentation,
|
||||
PipelineNotification,
|
||||
]
|
||||
|
|
|
@ -69,7 +69,7 @@ depends_on:
|
|||
|
||||
---
|
||||
kind: pipeline
|
||||
name: testing-rocky8
|
||||
name: testing-rocky9
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
|
@ -86,7 +86,7 @@ steps:
|
|||
- name: ansible-molecule
|
||||
image: thegeeklab/molecule:3
|
||||
commands:
|
||||
- molecule test -s rocky8
|
||||
- molecule test -s rocky9
|
||||
environment:
|
||||
HCLOUD_TOKEN:
|
||||
from_secret: hcloud_token
|
||||
|
@ -142,7 +142,7 @@ trigger:
|
|||
|
||||
depends_on:
|
||||
- testing-centos7
|
||||
- testing-rocky8
|
||||
- testing-rocky9
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -182,6 +182,6 @@ depends_on:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 9805c1bf3e21a42abc832112ef8ad5e4204862d517e3d4831bbd4946a654693e
|
||||
hmac: e5b086ac86622b35b4555a8450cf8a1a6ffc5caff37a4290ab563078d6c54128
|
||||
|
||||
...
|
||||
|
|
|
@ -5,15 +5,6 @@
|
|||
become: True
|
||||
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
|
||||
reboot:
|
||||
reboot_timeout: 600
|
||||
|
|
|
@ -9,8 +9,8 @@ dependency:
|
|||
driver:
|
||||
name: delegated
|
||||
platforms:
|
||||
- name: rocky8-kernel
|
||||
image: rocky-8
|
||||
- name: rocky9-kernel
|
||||
image: rocky-9
|
||||
server_type: cx11
|
||||
lint: |
|
||||
/usr/local/bin/flake8
|
|
@ -34,8 +34,6 @@ def test_coredump_config(host):
|
|||
|
||||
|
||||
def test_cgroup_config(host):
|
||||
grub = host.file("/boot/grub2/grubenv")
|
||||
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
|
Loading…
Reference in New Issue