mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 13:31:54 +00:00
Reverts sourcegraph/sourcegraph#64304 Number of redis related issues cropped up live ## Test plan CI
35 lines
924 B
Python
35 lines
924 B
Python
load("//dev:go_defs.bzl", "go_test")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "build",
|
|
srcs = [
|
|
"build.go",
|
|
"steps.go",
|
|
],
|
|
importpath = "github.com/sourcegraph/sourcegraph/dev/build-tracker/build",
|
|
tags = [TAG_INFRA_DEVINFRA],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//dev/build-tracker/notify",
|
|
"//lib/errors",
|
|
"//lib/pointers",
|
|
"@com_github_buildkite_go_buildkite_v3//buildkite",
|
|
"@com_github_sourcegraph_log//:log",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "build_test",
|
|
timeout = "short",
|
|
srcs = ["build_test.go"],
|
|
embed = [":build"],
|
|
tags = [TAG_INFRA_DEVINFRA],
|
|
deps = [
|
|
"@com_github_buildkite_go_buildkite_v3//buildkite",
|
|
"@com_github_sourcegraph_log//logtest",
|
|
"@com_github_stretchr_testify//assert",
|
|
"@com_github_stretchr_testify//require",
|
|
],
|
|
)
|