Skip to content

Commit

Permalink
chore: add test for crun extension
Browse files Browse the repository at this point in the history
Add a test to verify the `crun` runtimeclass container-runtime extension
works as expected.

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
frezbo committed Aug 2, 2024
1 parent 7a1c62b commit 64914b0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions internal/integration/api/extensions_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion pkg/machinery/gendata/data/pkgs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.8.0-alpha.0-40-g4e940f8
v1.8.0-alpha.0-41-ga97d58f

0 comments on commit 64914b0

Please sign in to comment.