mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 03:48:45 +00:00
Update the CI setup script to handle virtcontainers CI setup too. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
23 lines
476 B
Bash
Executable File
23 lines
476 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set -e
|
|
|
|
cidir=$(dirname "$0")
|
|
source "${cidir}/lib.sh"
|
|
|
|
clone_tests_repo
|
|
|
|
pushd "${tests_repo_dir}"
|
|
.ci/setup.sh
|
|
popd
|
|
|
|
echo "Setup virtcontainers environment"
|
|
chronic sudo -E PATH=$PATH bash -c "${cidir}/../virtcontainers/utils/virtcontainers-setup.sh"
|
|
|
|
echo "Install virtcontainers"
|
|
make -C "${cidir}/../virtcontainers" && chronic sudo make -C "${cidir}/../virtcontainers" install
|