mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-14 15:44:58 +00:00
ci: Run all CI test.
run all CI test to increase testing coverage on kernel config changes. Fixes: #346 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
a8e458aae2
commit
618aeba540
@ -13,6 +13,10 @@ cidir=$(dirname "$0")
|
|||||||
source "${cidir}/lib.sh"
|
source "${cidir}/lib.sh"
|
||||||
source /etc/os-release
|
source /etc/os-release
|
||||||
|
|
||||||
|
pushd "${tests_repo_dir}"
|
||||||
|
.ci/run.sh
|
||||||
|
popd
|
||||||
|
|
||||||
# This script will execute packaging tests suite
|
# This script will execute packaging tests suite
|
||||||
|
|
||||||
if [ "$ID" == ubuntu ]; then
|
if [ "$ID" == ubuntu ]; then
|
||||||
|
21
.ci/setup.sh
21
.ci/setup.sh
@ -20,3 +20,24 @@ if [ "$ID" == ubuntu ]; then
|
|||||||
echo "Install kernel dependencies"
|
echo "Install kernel dependencies"
|
||||||
sudo -E apt install -y libelf-dev bc gcc
|
sudo -E apt install -y libelf-dev bc gcc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export tests_repo="${tests_repo:-github.com/kata-containers/tests}"
|
||||||
|
export tests_repo_dir="$GOPATH/src/$tests_repo"
|
||||||
|
|
||||||
|
clone_tests_repo()
|
||||||
|
{
|
||||||
|
# KATA_CI_NO_NETWORK is (has to be) ignored if there is
|
||||||
|
# no existing clone.
|
||||||
|
if [ -d "$tests_repo_dir" -a -n "${KATA_CI_NO_NETWORK:-}" ]
|
||||||
|
then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
go get -d -u "$tests_repo" || true
|
||||||
|
}
|
||||||
|
|
||||||
|
clone_tests_repo
|
||||||
|
|
||||||
|
pushd "${tests_repo_dir}"
|
||||||
|
.ci/setup.sh
|
||||||
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user