Run bifrost on CentOS Stream 9
- Adjust bindep packages - Remove unneded trousers package - Enable CRB repository for CentOS Stream 9 for libvirt packages - Allow ssh-rsa algorithm for CentOS Stream 9 - Create a voting CentOS Stream 9 job Change-Id: I718262b40e268836812d4c38df79c8d9d8f36513
This commit is contained in:
parent
fbe7bb3e54
commit
03b56cf590
@ -1,4 +1,6 @@
|
||||
epel-release [platform:centos platform:rhel]
|
||||
# NOTE(rpittau): the EPEL repository for centos 9 stream should be
|
||||
# epel-next but it's not ready yet
|
||||
epel-release [(platform:centos !platform:centos-9) (platform:rhel !platform:centos-9)]
|
||||
gcc
|
||||
git
|
||||
libffi-devel [platform:redhat platform:suse]
|
||||
@ -8,7 +10,8 @@ libselinux-utils [platform:redhat]
|
||||
openssl-devel [platform:redhat]
|
||||
libssl-dev [platform:dpkg]
|
||||
lsb-release [platform:suse platform:dpkg]
|
||||
redhat-lsb [platform:redhat]
|
||||
# NOTE(rpittau): lsb-release is not maintained anymore for centos 9 stream
|
||||
redhat-lsb [(platform:redhat !platform:centos-9)]
|
||||
make
|
||||
python3 [platform:rpm]
|
||||
python3-apt [platform:dpkg]
|
||||
|
@ -21,6 +21,5 @@ required_packages:
|
||||
- libvirt-daemon-kvm
|
||||
- pkgconfig
|
||||
- libvirt-devel
|
||||
- trousers
|
||||
- edk2-ovmf
|
||||
test_vm_emulator: "/usr/libexec/qemu-kvm"
|
||||
|
@ -17,6 +17,12 @@
|
||||
update_cache: yes
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- name: "Enable CRB repository for CentOS Stream 9"
|
||||
command: dnf config-manager --set-enabled crb
|
||||
when:
|
||||
- ansible_distribution == "CentOS"
|
||||
- ansible_distribution_version|int >= 9
|
||||
|
||||
- name: "Load distribution defaults"
|
||||
include_vars: "{{ item }}"
|
||||
with_first_found:
|
||||
|
@ -54,3 +54,14 @@
|
||||
- name: "Add testvm hosts from SSH known_hosts file."
|
||||
shell: ssh-keyscan "{{ ipv4_address }}" >> "{{ ansible_env.HOME }}/.ssh/known_hosts"
|
||||
when: ipv4_address is defined
|
||||
- name: "Allow ssh-rsa algorithm for CentOS Stream 9"
|
||||
block:
|
||||
- name: "Add ssh-rsa algorithm to ssh config"
|
||||
shell: echo "PubkeyAcceptedKeyTypes +ssh-rsa" >> ~/.ssh/config
|
||||
- name: "Set correct permissions for ssh config"
|
||||
file:
|
||||
path: ~/.ssh/config
|
||||
mode: '0600'
|
||||
when:
|
||||
- ansible_distribution == "CentOS"
|
||||
- ansible_distribution_version|int >= 9
|
4
releasenotes/notes/centos9-16c9853d1dd0554b.yaml
Normal file
4
releasenotes/notes/centos9-16c9853d1dd0554b.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
other:
|
||||
- |
|
||||
Adds basic support for running bifrost on CentOS Stream 9.
|
@ -136,6 +136,11 @@
|
||||
test_driver: redfish
|
||||
use_vmedia: true
|
||||
|
||||
- job:
|
||||
name: bifrost-integration-tinyipa-centos-9
|
||||
parent: bifrost-integration-tinyipa
|
||||
nodeset: centos-9-stream
|
||||
|
||||
#NOTE(rpittau): remove buster support in Z or later
|
||||
- job:
|
||||
name: bifrost-integration-tinyipa-debian-buster
|
||||
|
@ -7,6 +7,7 @@
|
||||
check:
|
||||
jobs:
|
||||
- bifrost-tox-linters
|
||||
- bifrost-integration-tinyipa-centos-9
|
||||
- bifrost-integration-tinyipa-ubuntu-focal
|
||||
- bifrost-integration-tinyipa-centos-8
|
||||
- bifrost-integration-tinyipa-keystone-ubuntu-focal
|
||||
@ -59,6 +60,7 @@
|
||||
gate:
|
||||
jobs:
|
||||
- bifrost-tox-linters
|
||||
- bifrost-integration-tinyipa-centos-9
|
||||
- bifrost-integration-tinyipa-ubuntu-focal
|
||||
- bifrost-integration-tinyipa-centos-8
|
||||
- bifrost-integration-tinyipa-keystone-ubuntu-focal
|
||||
|
Loading…
x
Reference in New Issue
Block a user