...

Text file src/edge-infra.dev/hack/tools/linters/BUILD.bazel

Documentation: edge-infra.dev/hack/tools/linters

     1package(default_visibility = ["//visibility:public"])
     2
     3sh_binary(
     4    name = "go",
     5    srcs = ["golangci-lint.sh"],
     6    args = [
     7        "$(location %s)" % "@go_sdk//:bin/go",
     8        "$(location %s)" % "//hack/tools:golangci-lint",
     9        "$(location %s)" % "golangcilint.yaml",
    10    ],
    11    data = [
    12        "golangcilint.yaml",
    13        "//hack/tools:golangci-lint",
    14        "@go_sdk//:bin/go",
    15    ],
    16)
    17
    18sh_test(
    19    name = "kubeval",
    20    srcs = ["kubeval.sh"],
    21    args = [
    22        "$(rootpath %s)" % "//hack/tools:kubeval",
    23        "config/clusters/ret-edge-pltf-infra/ci-infra,config/clusters/ret-edge-pltf-preprod-infra/platform-infra/manifests",
    24    ],
    25    data = [
    26        "//config/clusters/ret-edge-pltf-infra/ci-infra:manifests",
    27        "//config/clusters/ret-edge-pltf-preprod-infra/platform-infra:manifests",
    28        "//hack/tools:kubeval",
    29    ],
    30)

View as plain text