From 07ee9dd4ad43adc0d0cb00af09041cf6b23a6d3e Mon Sep 17 00:00:00 2001 From: Walt Date: Thu, 3 Dec 2020 10:35:14 -0800 Subject: [PATCH] [6.1.x] Enable RHEL 8.3 install testing (#2351) * Upgrade robotest to 2.2.0. * Specify CentOS:7.9 instead of the abstract 7. * Enable install testing on RHEL 8.3 with SELinux off. --- build.assets/robotest/disableSELinux.sh | 4 ++++ build.assets/robotest/pr_config.sh | 18 +++++++++--------- build.assets/robotest/run.sh | 5 +++-- 3 files changed, 16 insertions(+), 11 deletions(-) create mode 100755 build.assets/robotest/disableSELinux.sh diff --git a/build.assets/robotest/disableSELinux.sh b/build.assets/robotest/disableSELinux.sh new file mode 100755 index 0000000000..49ba67b8e1 --- /dev/null +++ b/build.assets/robotest/disableSELinux.sh @@ -0,0 +1,4 @@ +#!/bin/sh +setenforce Permissive +sed -i s/^SELINUX=.*$/SELINUX=permissive/ /etc/selinux/config +sestatus diff --git a/build.assets/robotest/pr_config.sh b/build.assets/robotest/pr_config.sh index 61478c6081..f0e07ad912 100755 --- a/build.assets/robotest/pr_config.sh +++ b/build.assets/robotest/pr_config.sh @@ -10,17 +10,17 @@ declare -A UPGRADE_MAP UPGRADE_MAP[$(recommended_upgrade_tag $(branch 6.1.x))]="ubuntu:18" # this branch UPGRADE_MAP[6.1.0]="ubuntu:16" -UPGRADE_MAP[$(recommended_upgrade_tag $(branch 5.5.x))]="redhat:7" # compatible LTS version -UPGRADE_MAP[5.5.0]="centos:7" +UPGRADE_MAP[$(recommended_upgrade_tag $(branch 5.5.x))]="redhat:7.9" # compatible LTS version +UPGRADE_MAP[5.5.0]="centos:7.9" # 5.6.x upgrade testing disabled on PRs because it has been out of support for over a year # UPGRADE_MAP[$(recommended_upgrade_tag $(branch 5.6.x))]="debian:9" # compatible non-LTS version # UPGRADE_MAP[5.6.0]="debian:8" # customer specific scenarios, these versions have traction in the field -UPGRADE_MAP[5.5.40]="centos:7" -UPGRADE_MAP[5.5.38]="centos:7" -UPGRADE_MAP[5.5.36]="centos:7" -UPGRADE_MAP[5.5.28]="centos:7" +UPGRADE_MAP[5.5.40]="centos:7.9" +UPGRADE_MAP[5.5.38]="centos:7.9" +UPGRADE_MAP[5.5.36]="centos:7.9" +UPGRADE_MAP[5.5.28]="centos:7.9" UPGRADE_VERSIONS=${!UPGRADE_MAP[@]} @@ -41,7 +41,7 @@ function build_upgrade_suite { function build_resize_suite { local suite=$(cat <