Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Publish aspect-build/[email protected]

* Update presubmit.yml

---------

Co-authored-by: Alex Eagle <[email protected]>
  • Loading branch information
publish-to-bcr-bot[bot] and alexeagle authored Oct 16, 2023
1 parent 2e774fa commit cb900a5
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 0 deletions.
43 changes: 43 additions & 0 deletions modules/aspect_rules_lint/0.1.2/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
"Bazel dependencies"

module(
name = "aspect_rules_lint",
version = "0.1.2",
compatibility_level = 1,
)

bazel_dep(name = "aspect_bazel_lib", version = "1.36.0")

# Needed in the root because we use js_lib_helpers in our aspect impl
bazel_dep(name = "aspect_rules_js", version = "1.32.6")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "platforms", version = "0.0.7")

# Needed in the root because we dereference ProtoInfo in our aspect impl
bazel_dep(name = "rules_proto", version = "5.3.0-21.7")

# Needed in the root because we dereference the toolchain in our aspect impl
bazel_dep(name = "rules_buf", version = "0.1.1")

# Needed due to rules_proto leaking the dependency
bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")

bazel_dep(name = "rules_go", version = "0.39.1", dev_dependency = True)
bazel_dep(name = "gazelle", version = "0.31.0", dev_dependency = True)
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)

go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps", dev_dependency = True)
go_deps.from_file(go_mod = "//:go.mod")
go_deps.gazelle_override(
build_file_generation = "on",
path = "github.com/bazelbuild/bazelisk",
)

# All *direct* Go dependencies of the module have to be listed explicitly.
use_repo(
go_deps,
"build_aspect_cli",
"com_github_fatih_color",
"com_github_hashicorp_go_plugin",
"in_gopkg_yaml_v2",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,9 +1,9 @@
"Bazel dependencies"

module(
name = "aspect_rules_lint",
- version = "0.0.0",
+ version = "0.1.2",
compatibility_level = 1,
)

bazel_dep(name = "aspect_bazel_lib", version = "1.36.0")
12 changes: 12 additions & 0 deletions modules/aspect_rules_lint/0.1.2/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
bcr_test_module:
module_path: "example"
matrix:
platform: ["debian10", "macos", "ubuntu2004"]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
environment:
BAZELISK_BASE_URL: "https://github.com/bazelbuild/bazel/releases/download/"
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/aspect_rules_lint/0.1.2/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-3ZH+tSzXiiWFg2Bri+lKCQGVKvSyTt2KCAqkrVSIm+8=",
"strip_prefix": "rules_lint-0.1.2",
"url": "https://github.com/aspect-build/rules_lint/releases/download/v0.1.2/rules_lint-v0.1.2.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-BgtJ2nWzBn4A+Gzi/hWouOblnCH7Rq8k4doEZSoGgyY="
},
"patch_strip": 1
}
17 changes: 17 additions & 0 deletions modules/aspect_rules_lint/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/aspect-build/rules_lint",
"maintainers": [
{
"email": "[email protected]",
"github": "aspect-build",
"name": "Aspect team"
}
],
"repository": [
"github:aspect-build/rules_lint"
],
"versions": [
"0.1.2"
],
"yanked_versions": {}
}

0 comments on commit cb900a5

Please sign in to comment.