diff --git a/modules/rules_erlang/3.9.5/MODULE.bazel b/modules/rules_erlang/3.9.5/MODULE.bazel new file mode 100644 index 00000000000..cb39d51201a --- /dev/null +++ b/modules/rules_erlang/3.9.5/MODULE.bazel @@ -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", +) diff --git a/modules/rules_erlang/3.9.5/presubmit.yml b/modules/rules_erlang/3.9.5/presubmit.yml new file mode 100644 index 00000000000..3ad6e5e2277 --- /dev/null +++ b/modules/rules_erlang/3.9.5/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.9.5/source.json b/modules/rules_erlang/3.9.5/source.json new file mode 100644 index 00000000000..f579db0a65f --- /dev/null +++ b/modules/rules_erlang/3.9.5/source.json @@ -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" +} diff --git a/modules/rules_erlang/metadata.json b/modules/rules_erlang/metadata.json index ed45ce053ae..44d384324b1 100644 --- a/modules/rules_erlang/metadata.json +++ b/modules/rules_erlang/metadata.json @@ -31,7 +31,8 @@ "3.9.1", "3.9.2", "3.9.3", - "3.9.4" + "3.9.4", + "3.9.5" ], "yanked_versions": {} }