testing/incus-feature: add oci subpkg

This commit is contained in:
Leonardo Arena 2024-08-13 17:35:58 +00:00
parent 1c355dec5d
commit e88c5c61ed

View File

@ -4,7 +4,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=incus-feature
pkgver=6.4.0
pkgrel=0
pkgrel=1
pkgdesc="Powerful system container and virtual machine manager - Feature branch"
url="https://github.com/lxc/incus"
arch="all"
@ -53,6 +53,7 @@ subpackages="$pkgname-client
$pkgname-utils
$pkgname-bash-completion:bashcomp:noarch
$pkgname-vm:vm:noarch
$pkgname-oci:oci:noarch
"
install="$pkgname.pre-install"
options="net"
@ -192,6 +193,12 @@ openrc() {
default_openrc
}
oci() {
pkgdesc="Install packages required to run OCI images under Incus"
depends="$depends skopeo umoci"
install -d "$subpkgdir"
}
check() {
# FIXME: disable failing tests
go test -v -skip "TestCluster_*|TestIntegration_UnixSocket|TestContainerTestSuite_*|TestDotGo|TestParse|TestPackages|TestConvertNetworkConfig|TestSnapshotCommon|TestHttpRequest" ./...