From 0b823d1a76c0aaf320d5c8659aeebd34e0c8435f 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, 27 Oct 2023 16:49:23 +0200 Subject: [PATCH] Publish rabbitmq/rules_erlang@3.13.2 (#1068) Co-authored-by: Rin Kuryloski --- modules/rules_erlang/3.13.2/MODULE.bazel | 60 +++++++++++++++++++++++ modules/rules_erlang/3.13.2/presubmit.yml | 27 ++++++++++ modules/rules_erlang/3.13.2/source.json | 5 ++ modules/rules_erlang/metadata.json | 3 +- 4 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 modules/rules_erlang/3.13.2/MODULE.bazel create mode 100644 modules/rules_erlang/3.13.2/presubmit.yml create mode 100644 modules/rules_erlang/3.13.2/source.json diff --git a/modules/rules_erlang/3.13.2/MODULE.bazel b/modules/rules_erlang/3.13.2/MODULE.bazel new file mode 100644 index 00000000000..96f2ace95a8 --- /dev/null +++ b/modules/rules_erlang/3.13.2/MODULE.bazel @@ -0,0 +1,60 @@ +module( + name = "rules_erlang", + version = "3.13.2", + compatibility_level = 3, +) + +bazel_dep( + name = "rules_go", + version = "0.41.0", + repo_name = "io_bazel_rules_go", +) +bazel_dep( + name = "bazel_skylib", + version = "1.4.2", +) +bazel_dep( + name = "gazelle", + version = "0.33.0", + repo_name = "bazel_gazelle", +) + +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_bmatcuk_doublestar_v4", + "in_gopkg_yaml_v2", +) + +erlang_package = use_extension( + "//bzlmod:extensions.bzl", + "erlang_package", +) +erlang_package.hex_package( + name = "thoas", + build_file = "@rules_erlang//:BUILD.thoas", + sha256 = "442296847aca11db8d25180693d7ca3073d6d7179f66952f07b16415306513b6", + version = "0.4.0", +) +use_repo( + erlang_package, + "getopt_src", + "xref_runner_src", + "thoas", +) + +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_major", + "@erlang_config//external:toolchain_major_minor", +) diff --git a/modules/rules_erlang/3.13.2/presubmit.yml b/modules/rules_erlang/3.13.2/presubmit.yml new file mode 100644 index 00000000000..3ad6e5e2277 --- /dev/null +++ b/modules/rules_erlang/3.13.2/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: + - '@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//...' diff --git a/modules/rules_erlang/3.13.2/source.json b/modules/rules_erlang/3.13.2/source.json new file mode 100644 index 00000000000..535bf9ed126 --- /dev/null +++ b/modules/rules_erlang/3.13.2/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-pIMamUiO/DZFHPaMlueEunDj3FE+hQiGwDQpKnzg1AQ=", + "strip_prefix": "rules_erlang-3.13.2", + "url": "https://github.com/rabbitmq/rules_erlang/releases/download/3.13.2/rules_erlang-3.13.2.tar.gz" +} diff --git a/modules/rules_erlang/metadata.json b/modules/rules_erlang/metadata.json index bc718ba8419..4372fcb6d95 100644 --- a/modules/rules_erlang/metadata.json +++ b/modules/rules_erlang/metadata.json @@ -57,7 +57,8 @@ "3.11.4", "3.12.0", "3.13.0", - "3.13.1" + "3.13.1", + "3.13.2" ], "yanked_versions": {} }