mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-10 09:27:03 +00:00
The Clear Linux rootfs is not being tested anywhere, and it seems Intel doesn't have the capacity to review the PRs related to this (combined with the lack of interested from the rest of the community on reviewing PRs that are specific to this untested rootfs). With this in mind, I'm suggesting we drop Clear Linux support and focus on what we can actually maintain. Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org>
35 lines
639 B
Bash
35 lines
639 B
Bash
#
|
|
# Copyright (c) 2018 SUSE LLC
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# List of distros not to test, when running all tests with test_images.sh
|
|
typeset -a skipWhenTestingAll
|
|
typeset -a distros
|
|
arch="$(uname -m)"
|
|
sdir="${BASH_SOURCE[0]%/*}"
|
|
for distro in $(${sdir}/../rootfs-builder/rootfs.sh -l); do
|
|
distros+=("${distro}")
|
|
done
|
|
test_distros=()
|
|
test_distros+=("ubuntu")
|
|
|
|
skipForRustDistros=()
|
|
skipForRustDistros+=("alpine")
|
|
|
|
skipForRustArch=()
|
|
skipForRustArch+=("ppc64le")
|
|
skipForRustArch+=("s390x")
|
|
|
|
distro_in_set() {
|
|
local d=$1
|
|
shift
|
|
local dt
|
|
for dt in "$@"; do
|
|
if [ "${dt}" == "${d}" ]; then
|
|
return 0
|
|
fi
|
|
done
|
|
return 1
|
|
}
|