mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 03:42:09 +00:00
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 <gabriela.cervantes.tellez@intel.com> [greg: squash all fixes into a single patch] Signed-off-by: Greg Kurz <groug@kaod.org>
This commit is contained in:
parent
cf2d5ff4c1
commit
7506d1ec29
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user