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 27, 2024
1 parent f6bd09c commit 8f32eaf
Show file tree
Hide file tree
Showing 8,318 changed files with 2,590,403 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 @@ -18,7 +18,7 @@ ifndef COVERAGE_OUTPUT_PATH
export COVERAGE_OUTPUT_PATH
endif

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

clean: install-metrics-binaries
Expand All @@ -43,7 +43,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 8f32eaf

Please sign in to comment.