1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//build:build.bzl", "go_custom_test")
go_library(
name = "event_tracker",
srcs = ["api.go"],
importpath = "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/module/event_tracker",
visibility = ["//:__subpackages__"],
)
go_custom_test(
name = "event_tracker_test",
srcs = ["api_test.go"],
embed = [":event_tracker"],
deps = [
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)
|