mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-17 05:14:31 +01:00
Move the test configuration in the distro-specific config.sh file, for better control of what to include/exclude from testing based on the test environment. test_config.sh is still used to exclude specific distros from being tested, when running tests in bulk. Fixes: #182 Signed-off-by: Marco Vedovati <mvedovati@suse.com>
30 lines
788 B
Bash
30 lines
788 B
Bash
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
OS_NAME="Clear"
|
|
REPO_NAME="clear"
|
|
|
|
OS_VERSION=${OS_VERSION:-latest}
|
|
|
|
clr_url="https://download.clearlinux.org"
|
|
|
|
# resolve version
|
|
[ "${OS_VERSION}" = "latest" ] && OS_VERSION=$(curl -sL "${clr_url}/latest")
|
|
|
|
BASE_URL="${clr_url}/releases/${OS_VERSION}/${REPO_NAME}/${ARCH}/os/"
|
|
|
|
PACKAGES="iptables-bin libudev0-shim"
|
|
|
|
#Optional packages:
|
|
# systemd: An init system that will start kata-agent if kata-agent
|
|
# itself is not configured as init process.
|
|
[ "$AGENT_INIT" == "no" ] && PACKAGES+=" systemd" || true
|
|
|
|
# Init process must be one of {systemd,kata-agent}
|
|
INIT_PROCESS=systemd
|
|
# List of zero or more architectures to exclude from build,
|
|
# as reported by `uname -m`
|
|
ARCH_EXCLUDE_LIST=(ppc64le)
|