load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "go_default_library",
    srcs = ["import.go"],
    importpath = "github.com/jetstack/cert-manager/test/e2e/suite/conformance",
    tags = ["manual"],
    visibility = ["//visibility:public"],
    deps = [
        "//test/e2e/suite/conformance/certificates/acme:go_default_library",
        "//test/e2e/suite/conformance/certificates/ca:go_default_library",
        "//test/e2e/suite/conformance/certificates/external:go_default_library",
        "//test/e2e/suite/conformance/certificates/selfsigned:go_default_library",
        "//test/e2e/suite/conformance/certificates/vault:go_default_library",
        "//test/e2e/suite/conformance/certificates/venafi:go_default_library",
        "//test/e2e/suite/conformance/certificates/venaficloud:go_default_library",
        "//test/e2e/suite/conformance/certificatesigningrequests/acme:go_default_library",
        "//test/e2e/suite/conformance/certificatesigningrequests/ca:go_default_library",
        "//test/e2e/suite/conformance/certificatesigningrequests/selfsigned:go_default_library",
        "//test/e2e/suite/conformance/certificatesigningrequests/vault:go_default_library",
        "//test/e2e/suite/conformance/certificatesigningrequests/venafi:go_default_library",
        "//test/e2e/suite/conformance/rbac:go_default_library",
    ],
)

filegroup(
    name = "package-srcs",
    srcs = glob(["**"]),
    tags = ["automanaged"],
    visibility = ["//visibility:private"],
)

filegroup(
    name = "all-srcs",
    srcs = [
        ":package-srcs",
        "//test/e2e/suite/conformance/certificates:all-srcs",
        "//test/e2e/suite/conformance/certificatesigningrequests:all-srcs",
        "//test/e2e/suite/conformance/rbac:all-srcs",
    ],
    tags = ["automanaged"],
    visibility = ["//visibility:public"],
)
