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 Jul 12, 2024
1 parent aac5ecb commit e1c0f98
Show file tree
Hide file tree
Showing 7,928 changed files with 2,490,793 additions and 2,073 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
5 changes: 1 addition & 4 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 @@ -28,9 +28,6 @@ deps-update:
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 e1c0f98

Please sign in to comment.