mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-31 07:19:06 +00:00
ci: don't run vm-factory tets in snap CI
vm-factory tests are not working in the snap CI, skip them to make the snap CI happy again. see https://github.com/kata-containers/tests/issues/1495 fixes #442 Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
parent
8a9cc94498
commit
cfead00a9d
19
.ci/run.sh
19
.ci/run.sh
@ -13,8 +13,25 @@ cidir=$(dirname "$0")
|
||||
source "${cidir}/lib.sh"
|
||||
source /etc/os-release
|
||||
|
||||
SNAP_CI="${SNAP_CI:-false}"
|
||||
|
||||
pushd "${tests_repo_dir}"
|
||||
.ci/run.sh
|
||||
|
||||
if [ "$SNAP_CI" == "true" ] && [ "$ID" == "ubuntu" ]; then
|
||||
export RUNTIME="kata-runtime"
|
||||
export CI_JOB="${CI_JOB:-default}"
|
||||
|
||||
echo "INFO: Running checks"
|
||||
sudo -E PATH="$PATH" bash -c "make check"
|
||||
|
||||
echo "INFO: Running only supported tests: https://github.com/kata-containers/tests/issues/1495"
|
||||
sudo -E PATH="$PATH" bash -c \
|
||||
"make functional docker crio docker-compose network netmon \
|
||||
docker-stability oci openshift kubernetes swarm \
|
||||
entropy ramdisk shimv2 tracing"
|
||||
else
|
||||
.ci/run.sh
|
||||
fi
|
||||
popd
|
||||
|
||||
# This script will execute packaging tests suite
|
||||
|
Loading…
Reference in New Issue
Block a user