Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazel: move to vendoring go dependencies #3522

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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