Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ekhabarov authored Feb 7, 2025
1 parent 0684b4d commit 465809d
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 0 deletions.
17 changes: 17 additions & 0 deletions modules/rules_ytt/0.3.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module(
name = "rules_ytt",
version = "0.3.0",
compatibility_level = 0,
)
bazel_dep(name = "platforms", version = "0.0.11")
bazel_dep(name = "bazel_features", version = "1.19.0")
bazel_dep(name = "aspect_bazel_lib", version = "2.13.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")

bazel_dep(name = "stardoc", version = "0.8.0", dev_dependency = True)

ytt = use_extension("@rules_ytt//ytt:extensions.bzl", "ytt")
ytt.toolchain(version = "0.46.2")
use_repo(ytt, "ytt_toolchains")

register_toolchains("@ytt_toolchains//:all")
17 changes: 17 additions & 0 deletions modules/rules_ytt/0.3.0/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -1,12 +1,12 @@
module(
name = "rules_ytt",
- version = "0.0.0",
+ version = "0.3.0",
compatibility_level = 0,
)
-
bazel_dep(name = "platforms", version = "0.0.11")
bazel_dep(name = "bazel_features", version = "1.19.0")
bazel_dep(name = "aspect_bazel_lib", version = "2.13.0")
+bazel_dep(name = "bazel_skylib", version = "1.7.1")

bazel_dep(name = "stardoc", version = "0.8.0", dev_dependency = True)

36 changes: 36 additions & 0 deletions modules/rules_ytt/0.3.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
bazel:
- 8.x
- 7.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- //...

bcr_test_module:
module_path: .
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
bazel:
- 7.x
tasks:
run_test_module:
name: Run test module
bazel: ${{ bazel }}
platform: ${{ platform }}
build_targets:
- //...
test_targets:
- //...
9 changes: 9 additions & 0 deletions modules/rules_ytt/0.3.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "https://github.com/ekhabarov/rules_ytt/releases/download/v0.3.0/rules_ytt-v0.3.0.tar.gz",
"integrity": "sha256-1mm8iKYWPzL40mCkUZAZOFbjoy1RXbMb4EvXSI5Zv8k=",
"strip_prefix": "rules_ytt-0.3.0",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-ABdtGO+bJOBh0hVw+1/SnqmOEn3gI9FFNodX7LwDT4Q="
}
}
17 changes: 17 additions & 0 deletions modules/rules_ytt/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/ekhabarov/rules_ytt",
"maintainers": [
{
"email": "[email protected]",
"github": "ekhabarov",
"name": "Eugene Khabarov"
}
],
"repository": [
"github:ekhabarov/rules_ytt"
],
"versions": [
"0.3.0"
],
"yanked_versions": {}
}

0 comments on commit 465809d

Please sign in to comment.