mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
ci: remove stylecheck linter
It is to be merged into staticcheck linter in golangci-lint v2.0.0. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -14,13 +14,13 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
//nolint:revive,stylecheck
|
||||
//nolint:revive
|
||||
ARTIFACT_SINGLE = "quay.io/libpod/testartifact:20250206-single"
|
||||
//nolint:revive,stylecheck
|
||||
//nolint:revive
|
||||
ARTIFACT_MULTI = "quay.io/libpod/testartifact:20250206-multi"
|
||||
//nolint:revive,stylecheck
|
||||
//nolint:revive
|
||||
ARTIFACT_MULTI_NO_TITLE = "quay.io/libpod/testartifact:20250206-multi-no-title"
|
||||
//nolint:revive,stylecheck
|
||||
//nolint:revive
|
||||
ARTIFACT_EVIL = "quay.io/libpod/testartifact:20250206-evil"
|
||||
)
|
||||
|
||||
|
||||
@@ -44,10 +44,10 @@ import (
|
||||
|
||||
var (
|
||||
//lint:ignore ST1003
|
||||
PODMAN_BINARY string //nolint:revive,stylecheck
|
||||
INTEGRATION_ROOT string //nolint:revive,stylecheck
|
||||
CGROUP_MANAGER = "systemd" //nolint:revive,stylecheck
|
||||
RESTORE_IMAGES = []string{ALPINE, BB, NGINX_IMAGE} //nolint:revive,stylecheck
|
||||
PODMAN_BINARY string //nolint:revive
|
||||
INTEGRATION_ROOT string //nolint:revive
|
||||
CGROUP_MANAGER = "systemd" //nolint:revive
|
||||
RESTORE_IMAGES = []string{ALPINE, BB, NGINX_IMAGE} //nolint:revive
|
||||
defaultWaitTimeout = 90
|
||||
CGROUPSV2, _ = cgroups.IsCgroup2UnifiedMode()
|
||||
)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
package integration
|
||||
|
||||
var (
|
||||
REDIS_IMAGE = "quay.io/libpod/redis:alpine" //nolint:revive,stylecheck
|
||||
REDIS_IMAGE = "quay.io/libpod/redis:alpine" //nolint:revive
|
||||
fedoraMinimal = "quay.io/libpod/systemd-image:20240124"
|
||||
ALPINE = "quay.io/libpod/alpine:latest"
|
||||
ALPINELISTTAG = "quay.io/libpod/alpine:3.10.2"
|
||||
@@ -12,9 +12,9 @@ var (
|
||||
ALPINEAMD64ID = "961769676411f082461f9ef46626dd7a2d1e2b2a38e6a44364bcbecf51e66dd4"
|
||||
ALPINEARM64DIGEST = "quay.io/libpod/alpine@sha256:f270dcd11e64b85919c3bab66886e59d677cf657528ac0e4805d3c71e458e525"
|
||||
ALPINEARM64ID = "915beeae46751fc564998c79e73a1026542e945ca4f73dc841d09ccc6c2c0672"
|
||||
INFRA_IMAGE = "quay.io/libpod/k8s-pause:3.5" //nolint:revive,stylecheck
|
||||
INFRA_IMAGE = "quay.io/libpod/k8s-pause:3.5" //nolint:revive
|
||||
BB = "quay.io/libpod/busybox:latest"
|
||||
HEALTHCHECK_IMAGE = "quay.io/libpod/alpine_healthcheck:latest" //nolint:revive,stylecheck
|
||||
HEALTHCHECK_IMAGE = "quay.io/libpod/alpine_healthcheck:latest" //nolint:revive
|
||||
volumeTest = "quay.io/libpod/volume-plugin-test-img:20220623"
|
||||
|
||||
// ImageCacheDir is initialized at runtime.
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
package integration
|
||||
|
||||
var (
|
||||
STORAGE_FS = "overlay" //nolint:revive,stylecheck
|
||||
STORAGE_OPTIONS = "--storage-driver overlay" //nolint:revive,stylecheck
|
||||
ROOTLESS_STORAGE_FS = "overlay" //nolint:revive,stylecheck
|
||||
CACHE_IMAGES = []string{ALPINE, BB, NGINX_IMAGE, REDIS_IMAGE, REGISTRY_IMAGE, INFRA_IMAGE, CITEST_IMAGE, HEALTHCHECK_IMAGE, SYSTEMD_IMAGE} //nolint:revive,stylecheck
|
||||
NGINX_IMAGE = "quay.io/libpod/alpine_nginx:latest" //nolint:revive,stylecheck
|
||||
BB_GLIBC = "docker.io/library/busybox:glibc" //nolint:revive,stylecheck
|
||||
REGISTRY_IMAGE = "quay.io/libpod/registry:2.8.2" //nolint:revive,stylecheck
|
||||
CITEST_IMAGE = "quay.io/libpod/testimage:20241011" //nolint:revive,stylecheck
|
||||
SYSTEMD_IMAGE = "quay.io/libpod/systemd-image:20240124" //nolint:revive,stylecheck
|
||||
CIRROS_IMAGE = "quay.io/libpod/cirros:latest" //nolint:revive,stylecheck
|
||||
STORAGE_FS = "overlay" //nolint:revive
|
||||
STORAGE_OPTIONS = "--storage-driver overlay" //nolint:revive
|
||||
ROOTLESS_STORAGE_FS = "overlay" //nolint:revive
|
||||
CACHE_IMAGES = []string{ALPINE, BB, NGINX_IMAGE, REDIS_IMAGE, REGISTRY_IMAGE, INFRA_IMAGE, CITEST_IMAGE, HEALTHCHECK_IMAGE, SYSTEMD_IMAGE} //nolint:revive
|
||||
NGINX_IMAGE = "quay.io/libpod/alpine_nginx:latest" //nolint:revive
|
||||
BB_GLIBC = "docker.io/library/busybox:glibc" //nolint:revive
|
||||
REGISTRY_IMAGE = "quay.io/libpod/registry:2.8.2" //nolint:revive
|
||||
CITEST_IMAGE = "quay.io/libpod/testimage:20241011" //nolint:revive
|
||||
SYSTEMD_IMAGE = "quay.io/libpod/systemd-image:20240124" //nolint:revive
|
||||
CIRROS_IMAGE = "quay.io/libpod/cirros:latest" //nolint:revive
|
||||
)
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
package integration
|
||||
|
||||
var (
|
||||
STORAGE_FS = "overlay" //nolint:revive,stylecheck
|
||||
STORAGE_OPTIONS = "--storage-driver overlay" //nolint:revive,stylecheck
|
||||
ROOTLESS_STORAGE_FS = "overlay" //nolint:revive,stylecheck
|
||||
CACHE_IMAGES = []string{ALPINE, BB, fedoraMinimal, NGINX_IMAGE, REDIS_IMAGE, REGISTRY_IMAGE, INFRA_IMAGE, CITEST_IMAGE, HEALTHCHECK_IMAGE, SYSTEMD_IMAGE} //nolint:revive,stylecheck
|
||||
NGINX_IMAGE = "quay.io/lsm5/alpine_nginx-aarch64:latest" //nolint:revive,stylecheck
|
||||
BB_GLIBC = "docker.io/library/busybox:glibc" //nolint:revive,stylecheck
|
||||
REGISTRY_IMAGE = "quay.io/libpod/registry:2.8.2" //nolint:revive,stylecheck
|
||||
CITEST_IMAGE = "quay.io/libpod/testimage:20241011" //nolint:revive,stylecheck
|
||||
SYSTEMD_IMAGE = "quay.io/libpod/systemd-image:20240124" //nolint:revive,stylecheck
|
||||
CIRROS_IMAGE = "quay.io/libpod/cirros:latest" //nolint:revive,stylecheck
|
||||
STORAGE_FS = "overlay" //nolint:revive
|
||||
STORAGE_OPTIONS = "--storage-driver overlay" //nolint:revive
|
||||
ROOTLESS_STORAGE_FS = "overlay" //nolint:revive
|
||||
CACHE_IMAGES = []string{ALPINE, BB, fedoraMinimal, NGINX_IMAGE, REDIS_IMAGE, REGISTRY_IMAGE, INFRA_IMAGE, CITEST_IMAGE, HEALTHCHECK_IMAGE, SYSTEMD_IMAGE} //nolint:revive
|
||||
NGINX_IMAGE = "quay.io/lsm5/alpine_nginx-aarch64:latest" //nolint:revive
|
||||
BB_GLIBC = "docker.io/library/busybox:glibc" //nolint:revive
|
||||
REGISTRY_IMAGE = "quay.io/libpod/registry:2.8.2" //nolint:revive
|
||||
CITEST_IMAGE = "quay.io/libpod/testimage:20241011" //nolint:revive
|
||||
SYSTEMD_IMAGE = "quay.io/libpod/systemd-image:20240124" //nolint:revive
|
||||
CIRROS_IMAGE = "quay.io/libpod/cirros:latest" //nolint:revive
|
||||
)
|
||||
|
||||
@@ -20,9 +20,9 @@ import (
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
. "github.com/onsi/ginkgo/v2" //nolint:revive,stylecheck
|
||||
. "github.com/onsi/gomega" //nolint:revive,stylecheck
|
||||
. "github.com/onsi/gomega/gexec" //nolint:revive,stylecheck
|
||||
. "github.com/onsi/ginkgo/v2" //nolint:revive
|
||||
. "github.com/onsi/gomega" //nolint:revive
|
||||
. "github.com/onsi/gomega/gexec" //nolint:revive
|
||||
)
|
||||
|
||||
type NetworkBackend int
|
||||
|
||||
Reference in New Issue
Block a user