cirrus: enable cgroups v2 tests with crun

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2019-08-12 22:28:17 +02:00
parent 4929cafb91
commit a3fd890b86
No known key found for this signature in database
GPG Key ID: E4730F97F60286ED
1 changed files with 7 additions and 2 deletions

View File

@ -37,11 +37,16 @@ case "$SPECIALMODE" in
-o CheckHostIP=no $GOSRC/$SCRIPT_BASE/rootless_test.sh ${TESTSUITE}
;;
cgroupv2)
# FIXME: use the package once all the fixes are in a release
# yum install -y crun
setenforce 0
yum builddep -y crun
(git clone --depth=1 https://github.com/containers/crun && cd crun && ./autogen.sh && ./configure --prefix=/usr && make -j4 && make install)
export OCI_RUNTIME=/usr/bin/crun
make
make install PREFIX=/usr ETCDIR=/etc
make test-binaries
echo "WARNING: Integration tests not yet ready for cgroups V2"
#TODO: make local${TESTSUITE}
make local${TESTSUITE}
;;
none)
make