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

Update Bazel rules_go to 0.18 #804

Merged
merged 1 commit into from
Mar 5, 2019

Conversation

vincepri
Copy link
Member

@vincepri vincepri commented Mar 5, 2019

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:


@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 5, 2019
@k8s-ci-robot k8s-ci-robot requested review from justinsb and krousey March 5, 2019 21:36
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 5, 2019
Copy link
Member

@detiber detiber left a 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"],
Copy link
Member

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 😂

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 5, 2019
Signed-off-by: Vince Prignano <[email protected]>
@vincepri vincepri force-pushed the update-bazel-rulesgo branch from c3d8df9 to d769504 Compare March 5, 2019 21:48
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 5, 2019
@detiber
Copy link
Member

detiber commented Mar 5, 2019

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 5, 2019
@k8s-ci-robot k8s-ci-robot merged commit e9f8041 into kubernetes-sigs:master Mar 5, 2019
@vincepri vincepri added this to the v1alpha1 milestone Mar 21, 2019
ingvagabund added a commit to gofed/cluster-api that referenced this pull request Mar 25, 2019
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.
openshift-merge-robot pushed a commit to openshift/cluster-api that referenced this pull request Mar 26, 2019
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.
ingvagabund added a commit to gofed/cluster-api that referenced this pull request May 21, 2019
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.
ingvagabund added a commit to ingvagabund/cluster-api that referenced this pull request Jun 3, 2019
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.
@vincepri vincepri deleted the update-bazel-rulesgo branch July 26, 2019 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants