From 40fd378ae5746e700ef6ed683d6f947e02a9aed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Purkh=C3=BAs?= Date: Thu, 14 Nov 2024 21:01:24 +0000 Subject: [PATCH] Publish bazel-contrib/rules_dotnet@v0.17.3 --- modules/rules_dotnet/0.17.3/MODULE.bazel | 44 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 14 ++++++ modules/rules_dotnet/0.17.3/presubmit.yml | 12 +++++ modules/rules_dotnet/0.17.3/source.json | 9 ++++ modules/rules_dotnet/metadata.json | 3 +- 5 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 modules/rules_dotnet/0.17.3/MODULE.bazel create mode 100644 modules/rules_dotnet/0.17.3/patches/module_dot_bazel_version.patch create mode 100644 modules/rules_dotnet/0.17.3/presubmit.yml create mode 100644 modules/rules_dotnet/0.17.3/source.json diff --git a/modules/rules_dotnet/0.17.3/MODULE.bazel b/modules/rules_dotnet/0.17.3/MODULE.bazel new file mode 100644 index 00000000000..ee128d35ee5 --- /dev/null +++ b/modules/rules_dotnet/0.17.3/MODULE.bazel @@ -0,0 +1,44 @@ +"rules_dotnet" + +module( + name = "rules_dotnet", + version = "0.17.3", + bazel_compatibility = [">=7.0.0"], + compatibility_level = 0, +) + +dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet") +dotnet.toolchain(dotnet_version = "9.0.100") +use_repo(dotnet, "dotnet_toolchains") + +register_toolchains("@dotnet_toolchains//:all") + +paket2bazel_dependencies_extension = use_extension("//dotnet:paket.paket2bazel_dependencies_extension.bzl", "paket2bazel_dependencies_extension") +use_repo(paket2bazel_dependencies_extension, "paket.paket2bazel_dependencies") + +rules_dotnet_nuget_packages_extension = use_extension("//dotnet:paket.rules_dotnet_nuget_packages_extension.bzl", "rules_dotnet_nuget_packages_extension") +use_repo(rules_dotnet_nuget_packages_extension, "paket.rules_dotnet_nuget_packages") + +targeting_packs_extension = use_extension("//dotnet/private/sdk/targeting_packs:dotnet.targeting_packs_extension.bzl", "targeting_packs_extension") +use_repo(targeting_packs_extension, "dotnet.targeting_packs") + +runtime_packs_extension = use_extension("//dotnet/private/sdk/runtime_packs:dotnet.runtime_packs_extension.bzl", "runtime_packs_extension") +use_repo(runtime_packs_extension, "dotnet.runtime_packs") + +apphost_packs_extension = use_extension("//dotnet/private/sdk/apphost_packs:dotnet.apphost_packs_extension.bzl", "apphost_packs_extension") +use_repo(apphost_packs_extension, "dotnet.apphost_packs") + +bazel_dep(name = "bazel_skylib", version = "1.7.1") +bazel_dep(name = "platforms", version = "0.0.10") +bazel_dep(name = "aspect_bazel_lib", version = "2.9.1") + +# Dev dependencies +bazel_dep(name = "stardoc", version = "0.7.1", dev_dependency = True) +bazel_dep(name = "rules_pkg", version = "1.0.1", dev_dependency = True) +bazel_dep(name = "gazelle", version = "0.39.1", dev_dependency = True, repo_name = "bazel_gazelle") +bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.7.1", dev_dependency = True) +bazel_dep(name = "rules_cc", version = "0.0.12", dev_dependency = True) +bazel_dep(name = "rules_testing", version = "0.6.0", dev_dependency = True) + +rules_dotnet_dev_nuget_packages_extension = use_extension("//dotnet:paket.rules_dotnet_dev_nuget_packages_extension.bzl", "rules_dotnet_dev_nuget_packages_extension", dev_dependency = True) +use_repo(rules_dotnet_dev_nuget_packages_extension, "paket.rules_dotnet_dev_nuget_packages") diff --git a/modules/rules_dotnet/0.17.3/patches/module_dot_bazel_version.patch b/modules/rules_dotnet/0.17.3/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..7f301c87f88 --- /dev/null +++ b/modules/rules_dotnet/0.17.3/patches/module_dot_bazel_version.patch @@ -0,0 +1,14 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -1,9 +1,9 @@ + "rules_dotnet" + + module( + name = "rules_dotnet", +- version = "0.0.0", ++ version = "0.17.3", + bazel_compatibility = [">=7.0.0"], + compatibility_level = 0, + ) + diff --git a/modules/rules_dotnet/0.17.3/presubmit.yml b/modules/rules_dotnet/0.17.3/presubmit.yml new file mode 100644 index 00000000000..bd0e9011406 --- /dev/null +++ b/modules/rules_dotnet/0.17.3/presubmit.yml @@ -0,0 +1,12 @@ +bcr_test_module: + module_path: "e2e/smoke" + matrix: + platform: ["windows", "ubuntu1804", "macos", "macos_arm64", "ubuntu2004_arm64", "windows_arm64"] + bazel: ["7.x"] + tasks: + run_tests: + name: "Run smoke test" + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: + - "//..." diff --git a/modules/rules_dotnet/0.17.3/source.json b/modules/rules_dotnet/0.17.3/source.json new file mode 100644 index 00000000000..560e8863627 --- /dev/null +++ b/modules/rules_dotnet/0.17.3/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-rvFY6kqBgpWy3kI68DzWED0J5vcHDH0pQEvXdrYAKFE=", + "strip_prefix": "rules_dotnet-0.17.3", + "url": "https://github.com/bazel-contrib/rules_dotnet/releases/download/v0.17.3/rules_dotnet-v0.17.3.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-bUiG61lfG7lu7C+KA4dEQY4ruC9AC5kijGS+eQvnwUA=" + }, + "patch_strip": 1 +} diff --git a/modules/rules_dotnet/metadata.json b/modules/rules_dotnet/metadata.json index 968eebc7bdf..c80e0f077f4 100644 --- a/modules/rules_dotnet/metadata.json +++ b/modules/rules_dotnet/metadata.json @@ -16,7 +16,8 @@ "0.15.0", "0.15.1", "0.16.0", - "0.16.1" + "0.16.1", + "0.17.3" ], "yanked_versions": {} }