Skip to content

Commit

Permalink
Publish rabbitmq/[email protected] (#439)
Browse files Browse the repository at this point in the history
Co-authored-by: Rin Kuryloski <[email protected]>
  • Loading branch information
publish-to-bcr-bot[bot] and HoloRin authored Feb 14, 2023
1 parent b374a6c commit d1ddd00
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 1 deletion.
61 changes: 61 additions & 0 deletions modules/rules_erlang/3.9.5/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
module(
name = "rules_erlang",
compatibility_level = 3,
version = "3.9.5",
)

bazel_dep(
name = "rules_go",
repo_name = "io_bazel_rules_go",
version = "0.37.0",
)
bazel_dep(
name = "rules_pkg",
version = "0.5.1",
)
bazel_dep(
name = "bazel_skylib",
version = "1.3.0",
)
bazel_dep(
name = "gazelle",
repo_name = "bazel_gazelle",
version = "0.28.0",
)

go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")

go_deps.from_file(go_mod = "@rules_erlang//:go.mod")

use_repo(
go_deps,
"com_github_bazelbuild_buildtools",
"com_github_google_go_cmp",
"in_gopkg_yaml_v2",
)

erlang_package = use_extension(
"//bzlmod:extensions.bzl",
"erlang_package",
)

use_repo(
erlang_package,
"getopt_src",
"xref_runner_src",
)

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

use_repo(
erlang_config_extension,
"erlang_config",
)

register_toolchains(
"@erlang_config//external:toolchain",
"@erlang_config//external:toolchain2",
)
27 changes: 27 additions & 0 deletions modules/rules_erlang/3.9.5/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
shell_commands: &shell_commands
- curl -O https://raw.githubusercontent.com/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:
- '@rules_erlang//...'
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:
- '@rules_erlang//...'
5 changes: 5 additions & 0 deletions modules/rules_erlang/3.9.5/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "sha256-YbJkawmmcEEFksoZAKVTD4BEY1qvRFvqr0jp/066PmU=",
"strip_prefix": "rules_erlang-3.9.5",
"url": "https://github.com/rabbitmq/rules_erlang/archive/refs/tags/3.9.5.tar.gz"
}
3 changes: 2 additions & 1 deletion modules/rules_erlang/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"3.9.1",
"3.9.2",
"3.9.3",
"3.9.4"
"3.9.4",
"3.9.5"
],
"yanked_versions": {}
}

0 comments on commit d1ddd00

Please sign in to comment.