-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update Bazel rules_go to 0.18 #804
Update Bazel rules_go to 0.18 #804
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@@ -4,7 +4,7 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") | |||
http_archive( | |||
name = "io_bazel_rules_go", | |||
sha256 = "6776d68ebb897625dead17ae510eac3d5f6342367327875210df44dbe2aeeb19", | |||
urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.17.1/rules_go-0.17.1.tar.gz"], | |||
urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.18.0/rules_go-0.18.0.tar.gz"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How quickly they grow up 😂
Signed-off-by: Vince Prignano <[email protected]>
c3d8df9
to
d769504
Compare
/lgtm |
Otherwise, bazel starts complaining about and fails eventually: ERROR: Skipping '//:gazelle': error loading package '': in /go/src/github.com/openshift/cluster-api/_output/.cache/_bazel_root/329e6b0155c0ea7976c3e2bc09b71040/external/bazel_gazelle/def.bzl: Encountered error while reading extension file 'lib/shell.bzl': no such package '@bazel_skylib//lib': Traceback (most recent call last): File "/go/src/github.com/openshift/cluster-api/_output/.cache/_bazel_root/329e6b0155c0ea7976c3e2bc09b71040/external/bazel_tools/tools/build_defs/repo/git.bzl", line 163 _clone_or_update(ctx) File "/go/src/github.com/openshift/cluster-api/_output/.cache/_bazel_root/329e6b0155c0ea7976c3e2bc09b71040/external/bazel_tools/tools/build_defs/repo/git.bzl", line 73, in _clone_or_update fail(("error cloning %s:\n%s" % (ctx....))) error cloning bazel_skylib: Undoing upstream kubernetes-sigs#804 and kubernetes-sigs#801.
Otherwise, bazel starts complaining about and fails eventually: ERROR: Skipping '//:gazelle': error loading package '': in /go/src/github.com/openshift/cluster-api/_output/.cache/_bazel_root/329e6b0155c0ea7976c3e2bc09b71040/external/bazel_gazelle/def.bzl: Encountered error while reading extension file 'lib/shell.bzl': no such package '@bazel_skylib//lib': Traceback (most recent call last): File "/go/src/github.com/openshift/cluster-api/_output/.cache/_bazel_root/329e6b0155c0ea7976c3e2bc09b71040/external/bazel_tools/tools/build_defs/repo/git.bzl", line 163 _clone_or_update(ctx) File "/go/src/github.com/openshift/cluster-api/_output/.cache/_bazel_root/329e6b0155c0ea7976c3e2bc09b71040/external/bazel_tools/tools/build_defs/repo/git.bzl", line 73, in _clone_or_update fail(("error cloning %s:\n%s" % (ctx....))) error cloning bazel_skylib: Undoing upstream kubernetes-sigs#804 and kubernetes-sigs#801.
Otherwise, bazel starts complaining about and fails eventually: ERROR: Skipping '//:gazelle': error loading package '': in /go/src/github.com/openshift/cluster-api/_output/.cache/_bazel_root/329e6b0155c0ea7976c3e2bc09b71040/external/bazel_gazelle/def.bzl: Encountered error while reading extension file 'lib/shell.bzl': no such package '@bazel_skylib//lib': Traceback (most recent call last): File "/go/src/github.com/openshift/cluster-api/_output/.cache/_bazel_root/329e6b0155c0ea7976c3e2bc09b71040/external/bazel_tools/tools/build_defs/repo/git.bzl", line 163 _clone_or_update(ctx) File "/go/src/github.com/openshift/cluster-api/_output/.cache/_bazel_root/329e6b0155c0ea7976c3e2bc09b71040/external/bazel_tools/tools/build_defs/repo/git.bzl", line 73, in _clone_or_update fail(("error cloning %s:\n%s" % (ctx....))) error cloning bazel_skylib: Undoing upstream kubernetes-sigs#804 and kubernetes-sigs#801.
Otherwise, bazel starts complaining about and fails eventually: ERROR: Skipping '//:gazelle': error loading package '': in /go/src/github.com/openshift/cluster-api/_output/.cache/_bazel_root/329e6b0155c0ea7976c3e2bc09b71040/external/bazel_gazelle/def.bzl: Encountered error while reading extension file 'lib/shell.bzl': no such package '@bazel_skylib//lib': Traceback (most recent call last): File "/go/src/github.com/openshift/cluster-api/_output/.cache/_bazel_root/329e6b0155c0ea7976c3e2bc09b71040/external/bazel_tools/tools/build_defs/repo/git.bzl", line 163 _clone_or_update(ctx) File "/go/src/github.com/openshift/cluster-api/_output/.cache/_bazel_root/329e6b0155c0ea7976c3e2bc09b71040/external/bazel_tools/tools/build_defs/repo/git.bzl", line 73, in _clone_or_update fail(("error cloning %s:\n%s" % (ctx....))) error cloning bazel_skylib: Undoing upstream kubernetes-sigs#804 and kubernetes-sigs#801.
Signed-off-by: Vince Prignano [email protected]
What this PR does / why we need it:
Updates the bazel rules_go archive to latest version.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note: