test: bump memory for OpenEBS test

Ensure correct deployment.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This commit is contained in:
Andrey Smirnov 2025-12-16 14:54:09 +04:00
parent dcbbe2ca0b
commit f91cefd323
No known key found for this signature in database
GPG Key ID: 322C6F63F594CE7C
6 changed files with 19 additions and 8 deletions

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2025-12-15T14:45:49Z by kres 4b09af7.
# Generated on 2025-12-16T10:54:07Z by kres 4b09af7.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -4143,7 +4143,7 @@ jobs:
QEMU_CPUS_WORKERS: "4"
QEMU_EXTRA_DISKS: "1"
QEMU_EXTRA_DISKS_SIZE: "12288"
QEMU_MEMORY_WORKERS: "4096"
QEMU_MEMORY_WORKERS: "8192"
QEMU_WORKERS: "3"
SHORT_INTEGRATION_TEST: "yes"
WITH_CONFIG_PATCH_CONTROLPLANE: '@hack/test/patches/openebs-cp.yaml'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2025-12-15T14:23:39Z by kres 4b09af7.
# Generated on 2025-12-16T10:54:07Z by kres 4b09af7.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -85,7 +85,7 @@ jobs:
QEMU_CPUS_WORKERS: "4"
QEMU_EXTRA_DISKS: "1"
QEMU_EXTRA_DISKS_SIZE: "12288"
QEMU_MEMORY_WORKERS: "4096"
QEMU_MEMORY_WORKERS: "8192"
QEMU_WORKERS: "3"
SHORT_INTEGRATION_TEST: "yes"
WITH_CONFIG_PATCH_CONTROLPLANE: '@hack/test/patches/openebs-cp.yaml'

View File

@ -2200,7 +2200,7 @@ spec:
SHORT_INTEGRATION_TEST: yes
QEMU_WORKERS: 3
QEMU_CPUS_WORKERS: 4
QEMU_MEMORY_WORKERS: 4096
QEMU_MEMORY_WORKERS: 8192
QEMU_EXTRA_DISKS: 1
QEMU_EXTRA_DISKS_SIZE: 12288
WITH_CONFIG_PATCH_CONTROLPLANE: "@hack/test/patches/openebs-cp.yaml"

View File

@ -16,5 +16,5 @@ const (
LongHornHelmChartVersion = "v1.9.0"
// OpenEBSChartVersion is the version of the OpenEBS Helm chart to use.
// renovate: datasource=helm versioning=helm depName=openebs registryUrl=https://openebs.github.io/openebs
OpenEBSChartVersion = "v4.2.0"
OpenEBSChartVersion = "v4.3.3"
)

View File

@ -10,13 +10,17 @@ import (
"bytes"
"context"
_ "embed"
"path/filepath"
"text/template"
"time"
"github.com/cosi-project/runtime/pkg/safe"
"github.com/siderolabs/gen/xslices"
"github.com/siderolabs/talos/internal/integration/base"
"github.com/siderolabs/talos/pkg/machinery/client"
"github.com/siderolabs/talos/pkg/machinery/config/machine"
"github.com/siderolabs/talos/pkg/machinery/resources/block"
)
//go:embed testdata/openebs-values.yaml
@ -81,6 +85,13 @@ func (suite *OpenEBSSuite) TestDeploy() {
k8sNode, err := suite.GetK8sNodeByInternalIP(ctx, node)
suite.Require().NoError(err)
diskResource, err := safe.ReaderGetByID[*block.Disk](client.WithNode(ctx, node), suite.Client.COSI, filepath.Base(disk))
suite.Require().NoError(err)
suite.Require().Greater(len(diskResource.TypedSpec().Symlinks), 1, "disk symlinks should not be empty")
diskSymlink := diskResource.TypedSpec().Symlinks[1]
tmpl, err := template.New(node).Parse(openEBSDiskPoolTemplate)
suite.Require().NoError(err)
@ -91,7 +102,7 @@ func (suite *OpenEBSSuite) TestDeploy() {
Disk string
}{
Node: k8sNode.Name,
Disk: disk,
Disk: diskSymlink,
}))
diskPoolUnstructured := suite.ParseManifests(result.Bytes())

View File

@ -1,4 +1,4 @@
apiVersion: "openebs.io/v1beta2"
apiVersion: "openebs.io/v1beta3"
kind: DiskPool
metadata:
name: pool-{{ .Node }}