Skip to content

Commit

Permalink
bazel: move to vendoring go dependencies
Browse files Browse the repository at this point in the history
Remove gazelle-update-repos make target as no longer required on the
way.

Signed-off-by: Daniel Hiller <[email protected]>
  • Loading branch information
dhiller committed Dec 18, 2024
1 parent 7037fe3 commit 6e31992
Show file tree
Hide file tree
Showing 8,318 changed files with 2,590,404 additions and 2,083 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ load("@bazel_gazelle//:def.bzl", "gazelle")

# gazelle:prefix kubevirt.io/project-infra
# gazelle:resolve go google.golang.org/grpc/naming @org_golang_google_grpc//naming:go_default_library
# gazelle:resolve go github.com/GoogleCloudPlatform/testgrid/pb/custom_evaluator //vendor/github.com/GoogleCloudPlatform/testgrid/pb/custom_evaluator:go_default_library
# gazelle:resolve go github.com/GoogleCloudPlatform/testgrid/pb/test_status //vendor/github.com/GoogleCloudPlatform/testgrid/pb/test_status:go_default_library
# gazelle:resolve go github.com/GoogleCloudPlatform/testgrid/pb/config //vendor/github.com/GoogleCloudPlatform/testgrid/pb/config:go_default_library
# gazelle:resolve go github.com/GoogleCloudPlatform/testgrid/pb/state //vendor/github.com/GoogleCloudPlatform/testgrid/pb/state:go_default_library
# gazelle:proto disable
gazelle(name = "gazelle")

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ querier := robots/cmd/release-querier
kubevirtci := robots/cmd/kubevirtci-bumper
bazelbin := bazelisk

.PHONY: all clean deps-update gazelle-update-repos update-labels $(limiter) $(flake-report-writer) $(querier) $(kubevirtci) $(flake-issue-creator)
.PHONY: all clean deps-update update-labels $(limiter) $(flake-report-writer) $(querier) $(kubevirtci) $(flake-issue-creator)
all: deps-update $(limiter) $(flake-report-writer) $(querier) $(kubevirtci) $(flake-issue-creator)

clean:
Expand All @@ -29,7 +29,7 @@ gazelle:
$(bazelbin) run //:gazelle

gazelle-update-repos:
$(bazelbin) run //:gazelle -- update-repos -from_file=go.mod
:

install-bazelisk:
go get -u github.com/bazelbuild/bazelisk
Expand Down
Loading

0 comments on commit 6e31992

Please sign in to comment.