Skip to content

Commit

Permalink
Also depend on requests for flakedetector.py
Browse files Browse the repository at this point in the history
spxtr committed Apr 4, 2017
1 parent ce70bcd commit 489ed57
Showing 4 changed files with 25 additions and 5 deletions.
1 change: 1 addition & 0 deletions BUILD
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@ filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//experiment:all-srcs",
"//gcsweb/cmd/gcsweb:all-srcs",
"//gcsweb/pkg/version:all-srcs",
"//images/pull_kubernetes_bazel:all-srcs",
19 changes: 19 additions & 0 deletions experiment/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
py_binary(
name = "flakedetector",
srcs = ["flakedetector.py"],
deps = ["@requests//:requests"],
)

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

filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)
2 changes: 1 addition & 1 deletion jenkins/BUILD
Original file line number Diff line number Diff line change
@@ -4,14 +4,14 @@ py_test(
"bootstrap.py",
"bootstrap_test.py",
],
deps = ["@yaml//:yaml"],
data = [
"dockerized-e2e-runner.sh",
"//jenkins/job-configs:configs",
"//jenkins/job-configs/kubernetes-jenkins:configs",
"//jenkins/job-configs/kubernetes-jenkins-pull:configs",
"//jobs",
],
deps = ["@yaml//:yaml"],
)

filegroup(
8 changes: 4 additions & 4 deletions kettle/BUILD
Original file line number Diff line number Diff line change
@@ -5,14 +5,14 @@ py_test(
"make_db_test.py",
"model.py",
],
deps = [
"@requests//:requests",
"@yaml//:yaml",
],
# Remove when these are fixed.
# https://github.com/bazelbuild/bazel/issues/1973
# https://github.com/bazelbuild/bazel/issues/2056
local = True,
deps = [
"@requests//:requests",
"@yaml//:yaml",
],
)

py_binary(

0 comments on commit 489ed57

Please sign in to comment.