fix: redis-cluster unexpected downscaling (#1167) #437
ci.yaml
on: pull_request
lint
59s
container_quality_dockerfile_lint
12s
Matrix: build_go_binary
build_scan_container_image
1m 44s
gosec_scan
0s
Matrix: E2E Test
Annotations
11 errors and 3 warnings
lint:
main.go#L31
could not import github.com/OT-CONTAINER-KIT/redis-operator/pkg/k8sutils (-: # github.com/OT-CONTAINER-KIT/redis-operator/pkg/k8sutils
|
lint:
pkg/k8sutils/cluster-scaling.go#L394
undefined: logr
|
lint:
pkg/k8sutils/cluster-scaling.go#L395
too many arguments in call to CheckRedisNodeCount
|
lint:
pkg/k8sutils/cluster-scaling.go#L408
cannot use client (variable of type kubernetes.Interface) as context.Context value in argument to getRedisServerIP: kubernetes.Interface does not implement context.Context (missing method Deadline)
|
lint:
pkg/k8sutils/cluster-scaling.go#L426
cannot use client (variable of type kubernetes.Interface) as context.Context value in argument to executeCommand1: kubernetes.Interface does not implement context.Context (missing method Deadline)) (typecheck)
|
lint:
pkg/controllers/redis/redis_controller.go#L25
could not import github.com/OT-CONTAINER-KIT/redis-operator/pkg/k8sutils (-: # github.com/OT-CONTAINER-KIT/redis-operator/pkg/k8sutils
|
lint:
pkg/k8sutils/cluster-scaling.go#L394
undefined: logr
|
lint:
pkg/k8sutils/cluster-scaling.go#L395
too many arguments in call to CheckRedisNodeCount
|
lint:
pkg/k8sutils/cluster-scaling.go#L408
cannot use client (variable of type kubernetes.Interface) as context.Context value in argument to getRedisServerIP: kubernetes.Interface does not implement context.Context (missing method Deadline)
|
lint:
pkg/k8sutils/cluster-scaling.go#L426
cannot use client (variable of type kubernetes.Interface) as context.Context value in argument to executeCommand1: kubernetes.Interface does not implement context.Context (missing method Deadline)) (typecheck)
|
build_scan_container_image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c GO111MODULE=on go build -ldflags \"${LDFLAGS}\" -a -o manager main.go" did not complete successfully: exit code: 1
|
container_quality_dockerfile_lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build_scan_container_image
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
OT-CONTAINER-KIT~redis-operator~PHASLL.dockerbuild
|
40.4 KB |
|