Skip to content

Commit

Permalink
Update dependency io_bazel_rules_go to v0.42.0 (#173)
Browse files Browse the repository at this point in the history

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: psalaberria002 <psalaberria002@gmail.com>
  • Loading branch information
renovate[bot] and psalaberria002 authored Nov 14, 2023
1 parent 5e731db commit 802bf63
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 55 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module(

bazel_dep(name = "gazelle", version = "0.34.0", repo_name = "bazel_gazelle")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "rules_go", version = "0.41.0", repo_name = "io_bazel_rules_go")
bazel_dep(name = "rules_go", version = "0.42.0", repo_name = "io_bazel_rules_go")

go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
Expand Down
12 changes: 6 additions & 6 deletions examples/build-from-source/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "io_bazel_rules_go",
sha256 = "278b7ff5a826f3dc10f04feaf0b70d48b68748ccd512d7f98bf442077f043fe3",
sha256 = "91585017debb61982f7054c9688857a2ad1fd823fc3f9cb05048b0025c47d023",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.41.0/rules_go-v0.41.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.41.0/rules_go-v0.41.0.zip",
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
],
)

http_archive(
name = "bazel_gazelle",
sha256 = "29218f8e0cebe583643cbf93cae6f971be8a2484cdcfa1e45057658df8d54002",
sha256 = "b7387f72efb59f876e4daae42f1d3912d0d45563eac7cb23d1de0b094ab588cf",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.32.0/bazel-gazelle-v0.32.0.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.32.0/bazel-gazelle-v0.32.0.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.34.0/bazel-gazelle-v0.34.0.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.34.0/bazel-gazelle-v0.34.0.tar.gz",
],
)

Expand Down
12 changes: 6 additions & 6 deletions examples/use-binaries/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "io_bazel_rules_go",
sha256 = "278b7ff5a826f3dc10f04feaf0b70d48b68748ccd512d7f98bf442077f043fe3",
sha256 = "91585017debb61982f7054c9688857a2ad1fd823fc3f9cb05048b0025c47d023",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.41.0/rules_go-v0.41.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.41.0/rules_go-v0.41.0.zip",
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
],
)

http_archive(
name = "bazel_gazelle",
sha256 = "29218f8e0cebe583643cbf93cae6f971be8a2484cdcfa1e45057658df8d54002",
sha256 = "b7387f72efb59f876e4daae42f1d3912d0d45563eac7cb23d1de0b094ab588cf",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.32.0/bazel-gazelle-v0.32.0.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.32.0/bazel-gazelle-v0.32.0.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.34.0/bazel-gazelle-v0.34.0.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.34.0/bazel-gazelle-v0.34.0.tar.gz",
],
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/cognitedata/bazel-snapshots
go 1.19

require (
github.com/bazelbuild/rules_go v0.41.0
github.com/bazelbuild/rules_go v0.42.0
github.com/olekukonko/tablewriter v0.0.5
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.4
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ github.com/Xuanwo/go-bufferpool v0.2.0/go.mod h1:Mle++9GGouhOwGj52i9PJLNAPmW2nb8
github.com/Xuanwo/templateutils v0.1.0 h1:WpkWOqQtIQ2vAIpJLa727DdN8WtxhUkkbDGa6UhntJY=
github.com/Xuanwo/templateutils v0.1.0/go.mod h1:OdE0DJ+CJxDBq6psX5DPV+gOZi8bhuHuVUpPCG++Wb8=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/bazelbuild/rules_go v0.41.0 h1:JzlRxsFNhlX+g4drDRPhIaU5H5LnI978wdMJ0vK4I+k=
github.com/bazelbuild/rules_go v0.41.0/go.mod h1:TMHmtfpvyfsxaqfL9WnahCsXMWDMICTw7XeK9yVb+YU=
github.com/bazelbuild/rules_go v0.42.0 h1:aY2smc3JWyUKOjGYmOKVLX70fPK9ON0rtwQojuIeUHc=
github.com/bazelbuild/rules_go v0.42.0/go.mod h1:TMHmtfpvyfsxaqfL9WnahCsXMWDMICTw7XeK9yVb+YU=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
Expand Down
6 changes: 3 additions & 3 deletions internal_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ def snapshots_internal_deps():
maybe(
http_archive,
name = "io_bazel_rules_go",
sha256 = "278b7ff5a826f3dc10f04feaf0b70d48b68748ccd512d7f98bf442077f043fe3",
sha256 = "91585017debb61982f7054c9688857a2ad1fd823fc3f9cb05048b0025c47d023",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.41.0/rules_go-v0.41.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.41.0/rules_go-v0.41.0.zip",
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.0.zip",
],
)

Expand Down
38 changes: 2 additions & 36 deletions snapshots/dependencies.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,13 @@ def go_dependencies():
sum = "h1:UoveltGrhghAA7ePc+e+QYDHXrBps2PqFZiHkGR/xK8=",
version = "v0.0.1-2020.1.4",
)

go_repository(
name = "com_github_antihax_optional",
build_file_proto_mode = "disable_global",
importpath = "github.com/antihax/optional",
sum = "h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg=",
version = "v1.0.0",
)

go_repository(
name = "com_github_burntsushi_toml",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -143,7 +141,6 @@ def go_dependencies():
sum = "h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=",
version = "v2.0.2",
)

go_repository(
name = "com_github_creack_pty",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -186,15 +183,13 @@ def go_dependencies():
sum = "h1:jxVfdOxRirbXL28vXMvUvJ1in3djwkVKXCq339qhBL0=",
version = "v0.9.1",
)

go_repository(
name = "com_github_davecgh_go_spew",
build_file_proto_mode = "disable_global",
importpath = "github.com/davecgh/go-spew",
sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=",
version = "v1.1.1",
)

go_repository(
name = "com_github_envoyproxy_go_control_plane",
build_file_proto_mode = "disable_global",
Expand All @@ -209,15 +204,13 @@ def go_dependencies():
sum = "h1:c0g45+xCJhdgFGw7a5QAfdS4byAbud7miNWJ1WwEVf8=",
version = "v0.10.1",
)

go_repository(
name = "com_github_ghodss_yaml",
build_file_proto_mode = "disable_global",
importpath = "github.com/ghodss/yaml",
sum = "h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=",
version = "v1.0.0",
)

go_repository(
name = "com_github_go_gl_glfw",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -316,7 +309,6 @@ def go_dependencies():
sum = "h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc=",
version = "v0.1.4",
)

go_repository(
name = "com_github_google_uuid",
build_file_proto_mode = "disable_global",
Expand All @@ -331,7 +323,6 @@ def go_dependencies():
sum = "h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k=",
version = "v0.2.3",
)

go_repository(
name = "com_github_googleapis_gax_go_v2",
build_file_proto_mode = "disable_global",
Expand All @@ -346,7 +337,6 @@ def go_dependencies():
sum = "h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=",
version = "v0.0.0-20181017120253-0766667cb4d1",
)

go_repository(
name = "com_github_grpc_ecosystem_grpc_gateway",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -375,7 +365,6 @@ def go_dependencies():
sum = "h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=",
version = "v1.1.0",
)

go_repository(
name = "com_github_jstemmer_go_junit_report",
build_file_proto_mode = "disable_global",
Expand All @@ -397,15 +386,13 @@ def go_dependencies():
sum = "h1:/JmqEhIWQ7GRScV0WjX/0tqBrC5D21ALg0H0U/KZ/ts=",
version = "v3.22.0+incompatible",
)

go_repository(
name = "com_github_kisielk_gotool",
build_file_proto_mode = "disable_global",
importpath = "github.com/kisielk/gotool",
sum = "h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=",
version = "v1.0.0",
)

go_repository(
name = "com_github_kr_pretty",
build_file_proto_mode = "disable_global",
Expand All @@ -427,15 +414,13 @@ def go_dependencies():
sum = "h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=",
version = "v0.2.0",
)

go_repository(
name = "com_github_mattn_go_runewidth",
build_file_proto_mode = "disable_global",
importpath = "github.com/mattn/go-runewidth",
sum = "h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0=",
version = "v0.0.9",
)

go_repository(
name = "com_github_olekukonko_tablewriter",
build_file_proto_mode = "disable_global",
Expand All @@ -457,7 +442,6 @@ def go_dependencies():
sum = "h1:tjENF6MfZAg8e4ZmZTeWaWiT2vXtsoO6+iuOjFhECwM=",
version = "v1.9.4",
)

go_repository(
name = "com_github_pmezard_go_difflib",
build_file_proto_mode = "disable_global",
Expand All @@ -472,7 +456,6 @@ def go_dependencies():
sum = "h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM=",
version = "v0.0.0-20190812154241-14fe0d1b01d4",
)

go_repository(
name = "com_github_rogpeppe_fastuuid",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -529,7 +512,6 @@ def go_dependencies():
sum = "h1:lH+Snxmzl92r1jww8/jYPqKkhs3C9AF4LunzU56ZZr4=",
version = "v1.6.6",
)

go_repository(
name = "com_github_spaolacci_murmur3",
build_file_proto_mode = "disable_global",
Expand All @@ -544,7 +526,6 @@ def go_dependencies():
sum = "h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I=",
version = "v1.7.0",
)

go_repository(
name = "com_github_spf13_pflag",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -594,7 +575,6 @@ def go_dependencies():
sum = "h1:WpkWOqQtIQ2vAIpJLa727DdN8WtxhUkkbDGa6UhntJY=",
version = "v0.1.0",
)

go_repository(
name = "com_github_yuin_goldmark",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -661,7 +641,6 @@ def go_dependencies():
sum = "h1:hgq0ANLDx7t2FDZDJQrCMtCtddR/pjCqVuvQWGrQbXw=",
version = "v0.7.1",
)

go_repository(
name = "com_google_cloud_go_appengine",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -725,7 +704,6 @@ def go_dependencies():
sum = "h1:doSatyJyIY1ffqsHuv5DiPSYoXZRIUrJYLArWLZqE/E=",
version = "v0.6.1",
)

go_repository(
name = "com_google_cloud_go_bigquery",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -782,7 +760,6 @@ def go_dependencies():
sum = "h1:zyF35LjQyVQQnWbglmVDbsgOHqkbkaxTeRDisEJsXtE=",
version = "v1.11.1",
)

go_repository(
name = "com_google_cloud_go_compute",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -874,7 +851,6 @@ def go_dependencies():
sum = "h1:ITpUJep04hC9V7C+gcK390HO++xesQFSUJ7S4nSnF3U=",
version = "v0.8.1",
)

go_repository(
name = "com_google_cloud_go_datastore",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -1015,7 +991,6 @@ def go_dependencies():
sum = "h1:mi9jxZpzVjLQibTS/XfPZvl+Jr6D5Bs8pGqUjllRb00=",
version = "v1.6.1",
)

go_repository(
name = "com_google_cloud_go_iam",
build_directives = [
Expand Down Expand Up @@ -1208,7 +1183,6 @@ def go_dependencies():
sum = "h1:B/18xGo+E0EMS9LOEQ0zXz7F2asMgmVgTYGSI89MHOA=",
version = "v0.9.1",
)

go_repository(
name = "com_google_cloud_go_pubsub",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -1307,15 +1281,13 @@ def go_dependencies():
sum = "h1:XOGJ9OpnDtqg8izd7gYk/XUhj8ytjIalyjjsR6oyG0M=",
version = "v1.23.0",
)

go_repository(
name = "com_google_cloud_go_servicedirectory",
build_file_proto_mode = "disable_global",
importpath = "cloud.google.com/go/servicedirectory",
sum = "h1:J/0csas97yAQ+dcc7i8HqbaOA4KOfPu7BPhJdxYRhCk=",
version = "v1.10.1",
)

go_repository(
name = "com_google_cloud_go_shell",
build_file_proto_mode = "disable_global",
Expand All @@ -1337,7 +1309,6 @@ def go_dependencies():
sum = "h1:KIV99afoYTJqA2qi8Cjbl5DpjSRzvqFgKcptGXg6kxw=",
version = "v1.17.1",
)

go_repository(
name = "com_google_cloud_go_storage",
build_directives = [
Expand Down Expand Up @@ -1453,7 +1424,6 @@ def go_dependencies():
sum = "h1:2akeQ/PgtRhrNuD/n1WvJd5zb7YyuDZrlOanBj2ihPg=",
version = "v1.11.1",
)

go_repository(
name = "com_shuralyov_dmitri_gpu_mtl",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -1482,7 +1452,6 @@ def go_dependencies():
sum = "h1:KtlZ4c1OWbIs4jCv5ZXrTqG8EQocr0g/d4DjNg70aek=",
version = "v4.3.0",
)

go_repository(
name = "in_gopkg_yaml_v2",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -1518,7 +1487,6 @@ def go_dependencies():
sum = "h1:k9Axfgbt+oZXoDwSBVCl1XANHSL4rkNTGP2Lz9YdJe0=",
version = "v5.0.0",
)

go_repository(
name = "io_opencensus_go",
build_file_proto_mode = "disable_global",
Expand Down Expand Up @@ -1596,16 +1564,15 @@ def go_dependencies():
sum = "h1:DEH99RbiLZhMxrpEJCZ0A+wdTe0EOgou/poSLx9vWf4=",
version = "v0.0.0-20230629202037-9506855d4529",
)

go_repository(
name = "org_golang_google_grpc",
build_directives = [
"gazelle:resolve go google.golang.org/genproto/googleapis/rpc/status @org_golang_google_genproto_googleapis_rpc//status",
],
build_file_proto_mode = "disable_global",
importpath = "google.golang.org/grpc",
sum = "h1:fVRFRnXvU+x6C4IlHZewvJOVHoOv1TUuQyoRsYnB4bI=",
version = "v1.56.2",
sum = "h1:8I4C0Yq1EjstUzUJzpcRVbuYA2mODtEmpWiQoN/b2nc=",
version = "v1.56.3",
)
go_repository(
name = "org_golang_google_grpc_cmd_protoc_gen_go_grpc",
Expand All @@ -1628,7 +1595,6 @@ def go_dependencies():
sum = "h1:Vsc61gop4hfHdzQNolo6Fi/sw7TnJ2yl3ZR4i7bYirs=",
version = "v0.0.0-20180920145803-b19384d3c130",
)

go_repository(
name = "org_golang_x_crypto",
build_file_proto_mode = "disable_global",
Expand Down

0 comments on commit 802bf63

Please sign in to comment.