From dcdef7d3a4cfcd26231696ccacc5bc1b559db7f0 Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Fri, 15 Sep 2023 21:16:41 +0200 Subject: [PATCH] Publish rabbitmq/osiris@v1.6.7 (#928) Co-authored-by: Rin Kuryloski --- modules/rabbitmq_osiris/1.6.7/MODULE.bazel | 77 +++++++++++++++++++++ modules/rabbitmq_osiris/1.6.7/presubmit.yml | 27 ++++++++ modules/rabbitmq_osiris/1.6.7/source.json | 5 ++ modules/rabbitmq_osiris/metadata.json | 3 +- 4 files changed, 111 insertions(+), 1 deletion(-) create mode 100644 modules/rabbitmq_osiris/1.6.7/MODULE.bazel create mode 100644 modules/rabbitmq_osiris/1.6.7/presubmit.yml create mode 100644 modules/rabbitmq_osiris/1.6.7/source.json diff --git a/modules/rabbitmq_osiris/1.6.7/MODULE.bazel b/modules/rabbitmq_osiris/1.6.7/MODULE.bazel new file mode 100644 index 00000000000..50099c5e76c --- /dev/null +++ b/modules/rabbitmq_osiris/1.6.7/MODULE.bazel @@ -0,0 +1,77 @@ +module( + name = "rabbitmq_osiris", + version = "1.6.7", +) + +bazel_dep( + name = "rules_erlang", + version = "3.11.4", +) + +bazel_dep( + name = "rabbitmq_seshat", + version = "0.6.1", + repo_name = "seshat", +) + +erlang_config = use_extension( + "@rules_erlang//bzlmod:extensions.bzl", + "erlang_config", + dev_dependency = True, +) + +erlang_config.internal_erlang_from_github_release( + name = "24", + sha256 = "8444ff9abe23aea268adbb95463561fc222c965052d35d7c950b17be01c3ad82", + version = "24.3.4.6", +) + +erlang_config.internal_erlang_from_github_release( + name = "25", + sha256 = "42840c32e13a27bdb2c376d69aa22466513d441bfe5eb882de23baf8218308d3", + version = "25.1.1", +) + +erlang_config.internal_erlang_from_github_release( + name = "26", + sha256 = "3ff3c53d7ef9a45b5720e95b8756269c1a1b58eb51accc992ca97522fdb234d4", + version = "26.0", +) + +use_repo( + erlang_config, + "erlang_config", +) + +erlang_package = use_extension( + "@rules_erlang//bzlmod:extensions.bzl", + "erlang_package", +) + +erlang_package.hex_package( + name = "gen_batch_server", + sha256 = "c3e6a1a2a0fb62aee631a98cfa0fd8903e9562422cbf72043953e2fb1d203017", + version = "0.8.8", +) + +use_repo( + erlang_package, + "gen_batch_server", +) + +erlang_dev_package = use_extension( + "@rules_erlang//bzlmod:extensions.bzl", + "erlang_package", + dev_dependency = True, +) + +erlang_dev_package.hex_package( + name = "eunit_formatters", + version = "0.5.0", + build_file = "@rabbitmq_osiris//bzl:BUILD.eunit_formatters", +) + +use_repo( + erlang_dev_package, + "eunit_formatters", +) diff --git a/modules/rabbitmq_osiris/1.6.7/presubmit.yml b/modules/rabbitmq_osiris/1.6.7/presubmit.yml new file mode 100644 index 00000000000..3fe28d4dc20 --- /dev/null +++ b/modules/rabbitmq_osiris/1.6.7/presubmit.yml @@ -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: + - '@rabbitmq_osiris//: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: + - '@rabbitmq_osiris//:erlang_app' diff --git a/modules/rabbitmq_osiris/1.6.7/source.json b/modules/rabbitmq_osiris/1.6.7/source.json new file mode 100644 index 00000000000..7530548ca0c --- /dev/null +++ b/modules/rabbitmq_osiris/1.6.7/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-6yG1fqKByJb9hS/rqE/j85RGhnXrRNQBeJ5Mnagj8ww=", + "strip_prefix": "osiris-1.6.7", + "url": "https://github.com/rabbitmq/osiris/releases/download/v1.6.7/osiris-1.6.7.tar.gz" +} diff --git a/modules/rabbitmq_osiris/metadata.json b/modules/rabbitmq_osiris/metadata.json index 5a31d4be1f3..6a3d43c1831 100644 --- a/modules/rabbitmq_osiris/metadata.json +++ b/modules/rabbitmq_osiris/metadata.json @@ -19,7 +19,8 @@ "1.6.3", "1.6.4", "1.6.5", - "1.6.6" + "1.6.6", + "1.6.7" ], "yanked_versions": {} }