diff --git a/modules/rules_tf/0.0.7/MODULE.bazel b/modules/rules_tf/0.0.7/MODULE.bazel new file mode 100644 index 00000000000..9bfbde26c9e --- /dev/null +++ b/modules/rules_tf/0.0.7/MODULE.bazel @@ -0,0 +1,24 @@ +module( + name = "rules_tf", + version = "0.0.7", + repo_name = "rules_tf", + compatibility_level = 1, +) + +bazel_dep(name = "rules_pkg", version = "0.9.1") +bazel_dep(name = "bazel_skylib", version = "1.4.2") +bazel_dep(name = "platforms", version = "0.0.7") +bazel_dep(name = "rules_license", version = "0.0.7") + +bazel_dep(name = "rules_python", version = "0.24.0", dev_dependency = True) + +tf = use_extension("@rules_tf//tf:extensions.bzl", "tf_repositories") + +use_repo( + tf, + "tf_toolchains", +) + +register_toolchains( + "@tf_toolchains//:all", +) diff --git a/modules/rules_tf/0.0.7/presubmit.yml b/modules/rules_tf/0.0.7/presubmit.yml new file mode 100644 index 00000000000..07a773487fe --- /dev/null +++ b/modules/rules_tf/0.0.7/presubmit.yml @@ -0,0 +1,33 @@ +matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - macos_arm64 +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: 7.0.2 + build_targets: + - '@rules_tf//...' + # Re-enable those targets when toolchain registration is supported. + - '-@rules_tf//tf/toolchains/git:*' + +bcr_test_module: + module_path: tests/bcr + matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - macos_arm64 + tasks: + run_test_module: + name: Run test module + bazel: 7.0.2 + platform: ${{ platform }} + build_targets: + - //... + test_targets: + - //... diff --git a/modules/rules_tf/0.0.7/source.json b/modules/rules_tf/0.0.7/source.json new file mode 100644 index 00000000000..5484bd693d1 --- /dev/null +++ b/modules/rules_tf/0.0.7/source.json @@ -0,0 +1,6 @@ +{ + "url": "https://github.com/yanndegat/rules_tf/releases/download/v0.0.7/rules_tf-0.0.7.tar.gz", + "integrity": "sha256-OuPiGvguhkoSdefbJhA25ooEUaPnU3f1vnLXRDa1lNQ=", + "patch_strip": 0, + "patches": {} +} diff --git a/modules/rules_tf/metadata.json b/modules/rules_tf/metadata.json index 01ebc13622a..2c3bfb2e126 100644 --- a/modules/rules_tf/metadata.json +++ b/modules/rules_tf/metadata.json @@ -16,7 +16,8 @@ "0.0.3", "0.0.4", "0.0.5", - "0.0.6" + "0.0.6", + "0.0.7" ], "yanked_versions": {} }