Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
)
  • Loading branch information
yanndegat authored Jun 14, 2024
1 parent 2e24796 commit b66dc5c
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 1 deletion.
24 changes: 24 additions & 0 deletions modules/rules_tf/0.0.7/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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",
)
33 changes: 33 additions & 0 deletions modules/rules_tf/0.0.7/presubmit.yml
Original file line number Diff line number Diff line change
@@ -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:
- //...
6 changes: 6 additions & 0 deletions modules/rules_tf/0.0.7/source.json
Original file line number Diff line number Diff line change
@@ -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": {}
}
3 changes: 2 additions & 1 deletion modules/rules_tf/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"0.0.3",
"0.0.4",
"0.0.5",
"0.0.6"
"0.0.6",
"0.0.7"
],
"yanked_versions": {}
}

0 comments on commit b66dc5c

Please sign in to comment.