From 64914b086ca0d72720c2f416b4543a1ba250986e Mon Sep 17 00:00:00 2001 From: Noel Georgi Date: Fri, 2 Aug 2024 19:48:19 +0530 Subject: [PATCH] chore: add test for crun extension Add a test to verify the `crun` runtimeclass container-runtime extension works as expected. Signed-off-by: Noel Georgi --- Makefile | 2 +- internal/integration/api/extensions_qemu.go | 5 +++++ pkg/machinery/gendata/data/pkgs | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 15326d2715..6390eccc6c 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ ARTIFACTS := _out TOOLS ?= ghcr.io/siderolabs/tools:v1.8.0-alpha.0-6-g31ad71b PKGS_PREFIX ?= ghcr.io/siderolabs -PKGS ?= v1.8.0-alpha.0-40-g4e940f8 +PKGS ?= v1.8.0-alpha.0-41-ga97d58f EXTRAS ?= v1.8.0-alpha.0-3-gcab51d8 KRES_IMAGE ?= ghcr.io/siderolabs/kres:latest diff --git a/internal/integration/api/extensions_qemu.go b/internal/integration/api/extensions_qemu.go index 224aeff267..cee4872518 100644 --- a/internal/integration/api/extensions_qemu.go +++ b/internal/integration/api/extensions_qemu.go @@ -375,6 +375,11 @@ func (suite *ExtensionsSuiteQEMU) TestExtensionsGvisorKVM() { suite.testRuntimeClass("gvisor-kvm", "runsc-kvm") } +// TestExtensionsCrun verifies crun runtime class is working. +func (suite *ExtensionsSuiteQEMU) TestExtensionsCrun() { + suite.testRuntimeClass("crun", "crun") +} + // TestExtensionsKataContainers verifies gvisor runtime class is working. func (suite *ExtensionsSuiteQEMU) TestExtensionsKataContainers() { suite.testRuntimeClass("kata", "kata") diff --git a/pkg/machinery/gendata/data/pkgs b/pkg/machinery/gendata/data/pkgs index 7d2e7ce5fb..d56673b2e3 100644 --- a/pkg/machinery/gendata/data/pkgs +++ b/pkg/machinery/gendata/data/pkgs @@ -1 +1 @@ -v1.8.0-alpha.0-40-g4e940f8 \ No newline at end of file +v1.8.0-alpha.0-41-ga97d58f \ No newline at end of file