diff --git a/rootfs-builder/euleros/config.sh b/rootfs-builder/euleros/config.sh index 2fcf8a735..d6f849dc2 100644 --- a/rootfs-builder/euleros/config.sh +++ b/rootfs-builder/euleros/config.sh @@ -22,3 +22,6 @@ INIT_PROCESS=systemd # List of zero or more architectures to exclude from build, # as reported by `uname -m` ARCH_EXCLUDE_LIST=() +# Allow the build to fail without generating an error. +# For more info see: https://github.com/kata-containers/osbuilder/issues/190 +BUILD_CAN_FAIL=1 diff --git a/tests/test_config.sh b/tests/test_config.sh index d91cdeab8..4e7627447 100644 --- a/tests/test_config.sh +++ b/tests/test_config.sh @@ -3,15 +3,12 @@ # # SPDX-License-Identifier: Apache-2.0 - -if [ -n "${CI:-}" ]; then - # "Not testing eurleros on Jenkins or Travis: - # (unreliable mirros, see: https://github.com/kata-containers/osbuilder/issues/182) - # (timeout, see: https://github.com/kata-containers/osbuilder/issues/46)" - skipWhenTestingAll=(euleros) -fi +# List of distros not to test, when running all tests with test_images.sh +typeset -a skipWhenTestingAll if [ -n "${TRAVIS:-}" ]; then - skipWhenTestingAll+=() + # (travis may timeout with euleros, see: + # https://github.com/kata-containers/osbuilder/issues/46)" + skipWhenTestingAll+=(euleros) fi