From 7506d1ec29030b51b3c0f90bde155e04802c2a33 Mon Sep 17 00:00:00 2001 From: Greg Kurz Date: Tue, 9 Jul 2024 19:53:06 +0200 Subject: [PATCH] tools: Remove CI variable in test config osbuilder script This PR removes the CI variable in test config osbuilder script which was supported on the jenkins environment which is not longer supported it. Signed-off-by: Gabriela Cervantes [greg: squash all fixes into a single patch] Signed-off-by: Greg Kurz --- tools/osbuilder/tests/test_config.sh | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/tools/osbuilder/tests/test_config.sh b/tools/osbuilder/tests/test_config.sh index e302f6f7cc..611cd2c43f 100644 --- a/tools/osbuilder/tests/test_config.sh +++ b/tools/osbuilder/tests/test_config.sh @@ -33,31 +33,3 @@ distro_in_set() { done return 1 } - -if [ -n "${CI:-}" ]; then - # Since too many distros timeout for now, we only test clearlinux and ubuntu. We can enable other distros when we fix timeout problem. - for distro in "${distros[@]}"; do - if distro_in_set "${distro}" "${test_distros[@]}"; then - continue - fi - skipWhenTestingAll+=("${distro}") - done - - # add skipForRustDistros to skipWhenTestingAll if it is not - for td in "${skipForRustDistros[@]}"; do - if distro_in_set "${td}" "${skipWhenTestingAll[@]}"; then - continue - fi - # not found in skipWhenTestingAll, add to it - skipWhenTestingAll+=("${td}") - done - - if distro_in_set "${arch}" "${skipForRustArch[@]}"; then - for distro in "${test_distros[@]}"; do - if distro_in_set "${distro}" "${skipWhenTestingAll[@]}"; then - continue - fi - skipWhenTestingAll+=("${distro}") - done - fi -fi