Skip to content

Commit d6394f1

Browse files
committedAug 22, 2019
Refactor BUILD.bazel rules to use external not vendor
1 parent 52cf693 commit d6394f1

File tree

254 files changed

+1467
-1021
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+1467
-1021
lines changed
 

‎BUILD.bazel

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# gazelle:exclude vendor/k8s.io/code-generator/_examples/
44
# gazelle:exclude hack
55
# gazelle:exclude node_modules
6+
# gazelle:repository_macro repos.bzl%go_repositories
67

78
load("@io_k8s_repo_infra//defs:run_in_workspace.bzl", "workspace_binary")
89
load("@io_bazel_rules_go//go:def.bzl", "nogo")
@@ -133,7 +134,6 @@ filegroup(
133134
"//testgrid:all-srcs",
134135
"//triage:all-srcs",
135136
"//velodrome:all-srcs",
136-
"//vendor:all-srcs",
137137
],
138138
tags = ["automanaged"],
139139
visibility = ["//visibility:public"],
@@ -145,7 +145,11 @@ filegroup(
145145
visibility = ["//visibility:public"],
146146
)
147147

148-
exports_files(["tsconfig.json"])
148+
exports_files([
149+
"tsconfig.json",
150+
"go.mod",
151+
"go.sum",
152+
])
149153

150154
platform(
151155
name = "rbe_with_network",

‎WORKSPACE

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# gazelle:repository_macro repos.bzl%go_repositories
12
workspace(name = "io_k8s_test_infra")
23

34
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")

0 commit comments

Comments
 (0)
Please sign in to comment.