Skip to content

Commit

Permalink
chore: add tests for chelsio drivers
Browse files Browse the repository at this point in the history
Add tests for Chelsio drivers and firmware.

Ref: siderolabs/extensions#232

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
frezbo committed Sep 20, 2023
1 parent 5ca4d58 commit aec6d80
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
17 changes: 16 additions & 1 deletion hack/test/extensions/extension-patch-filter.jq
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"path": "/machine/install/extensions",
"value": [
{
"image": map(select(. | contains("nvidia") or contains("tailscale") | not)) | .[]
"image": map(select(. | contains("nvidia") or contains("tailscale") or contains("xe-guest-utilities") | not)) | .[]
}
]
},
Expand All @@ -29,6 +29,9 @@
{
"name": "ax88796b"
},
{
"name": "binfmt_misc"
},
{
"name": "btrfs"
},
Expand All @@ -47,6 +50,18 @@
{
"name": "cdc_wdm"
},
{
"name": "cxgb"
},
{
"name": "cxgb3"
},
{
"name": "cxgb4"
},
{
"name": "cxgb4vf"
},
{
"name": "drbd"
},
Expand Down
7 changes: 7 additions & 0 deletions internal/integration/api/extensions_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ func (suite *ExtensionsSuiteQEMU) TestExtensionsExpectedPaths() {
"/lib/firmware/amdgpu",
"/lib/firmware/amd-ucode",
"/lib/firmware/bnx2x",
"/lib/firmware/cxgb3",
"/lib/firmware/cxgb4",
"/lib/firmware/i915",
"/lib/firmware/intel/ice/ddp",
"/lib/firmware/intel-ucode",
Expand Down Expand Up @@ -100,12 +102,17 @@ func (suite *ExtensionsSuiteQEMU) TestExtensionsExpectedModules() {
"asix": "asix.ko",
"ax88179_178a": "ax88179_178a.ko",
"ax88796b": "ax88796b.ko",
"binfmt_misc": "binfmt_misc.ko",
"btrfs": "btrfs.ko",
"cdc_ether": "cdc_ether.ko",
"cdc_mbim": "cdc_mbim.ko",
"cdc_ncm": "cdc_ncm.ko",
"cdc_subset": "cdc_subset.ko",
"cdc_wdm": "cdc-wdm.ko",
"cxgb": "cxgb.ko",
"cxgb3": "cxgb3.ko",
"cxgb4": "cxgb4.ko",
"cxgb4vf": "cxgb4vf.ko",
"drbd": "drbd.ko",
"gasket": "gasket.ko",
"net1080": "net1080.ko",
Expand Down

0 comments on commit aec6d80

Please sign in to comment.