Skip to content

Commit

Permalink
Publish bazelbuild/[email protected] (#1242)
Browse files Browse the repository at this point in the history
Co-authored-by: Fabian Meumertzheim <[email protected]>
  • Loading branch information
publish-to-bcr-bot[bot] and fmeum authored Dec 29, 2023
1 parent 83a300d commit 6f28744
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 1 deletion.
43 changes: 43 additions & 0 deletions modules/rules_go/0.44.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
module(
name = "rules_go",
version = "0.44.1",
compatibility_level = 0,
repo_name = "io_bazel_rules_go",
)

bazel_dep(name = "bazel_features", version = "1.1.1")
bazel_dep(name = "bazel_skylib", version = "1.2.0")
bazel_dep(name = "platforms", version = "0.0.4")
bazel_dep(name = "rules_proto", version = "4.0.0")
bazel_dep(name = "protobuf", version = "3.19.2", repo_name = "com_google_protobuf")

go_sdk = use_extension("//go:extensions.bzl", "go_sdk")
go_sdk.download(
name = "go_default_sdk",
version = "1.21.1",
)
use_repo(
go_sdk,
"go_toolchains",
# This name is ugly on purpose to avoid a conflict with a user-named SDK.
"io_bazel_rules_nogo",
)

register_toolchains("@go_toolchains//:all")

bazel_dep(name = "gazelle", version = "0.34.0")

go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
use_repo(
go_deps,
"com_github_gogo_protobuf",
"com_github_golang_mock",
"com_github_golang_protobuf",
"org_golang_google_genproto",
"org_golang_google_grpc",
"org_golang_google_grpc_cmd_protoc_gen_go_grpc",
"org_golang_google_protobuf",
"org_golang_x_net",
"org_golang_x_tools",
)
31 changes: 31 additions & 0 deletions modules/rules_go/0.44.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
build_targets:
- '@rules_go//go/tools/bzltestutil/...'
bcr_test_module:
module_path: tests/bcr
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
build_targets:
- //...
- '@go_default_sdk//...'
test_targets:
- //...
5 changes: 5 additions & 0 deletions modules/rules_go/0.44.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "sha256-toKOstA7te928gd/hnCyEf55LnfduDRQ6p+IffBNucc=",
"strip_prefix": "",
"url": "https://github.com/bazelbuild/rules_go/releases/download/v0.44.1/rules_go-v0.44.1.zip"
}
13 changes: 12 additions & 1 deletion modules/rules_go/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
"email": "[email protected]",
"github": "fmeum",
"name": "Fabian Meumertzheim"
},
{
"email": "[email protected]",
"github": "linzhp",
"name": "Zhongpeng Lin"
},
{
"email": "[email protected]",
"github": "tyler-french",
"name": "Tyler French"
}
],
"repository": [
Expand All @@ -25,7 +35,8 @@
"0.41.0",
"0.42.0",
"0.43.0",
"0.44.0"
"0.44.0",
"0.44.1"
],
"yanked_versions": {
"0.33.0": "Obsolete experimental version that emits debug prints. Update to 0.39.1 or higher",
Expand Down

0 comments on commit 6f28744

Please sign in to comment.