Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Release: https://github.com/seh/rules_cue/releases/tag/v0.9.0

_Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_

Co-authored-by: Steven E. Harris <[email protected]>
  • Loading branch information
publish-to-bcr-bot[bot] and seh authored Nov 19, 2024
1 parent 6c929f9 commit 0531120
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 1 deletion.
23 changes: 23 additions & 0 deletions modules/rules_cue/0.9.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module(
name = "rules_cue",
version = "0.9.0",
)

bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "rules_go", version = "0.50.1")

go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(
version = "1.23.3",
)

cue = use_extension("//cue:extensions.bzl", "cue")
use_repo(
cue,
"cue_tool_toolchains",
)

register_toolchains("@cue_tool_toolchains//:all")

bazel_dep(name = "gazelle", version = "0.40.0", dev_dependency = True)
12 changes: 12 additions & 0 deletions modules/rules_cue/0.9.0/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "rules_cue",
- version = "0.0.0",
+ version = "0.9.0",
)

bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.10")
35 changes: 35 additions & 0 deletions modules/rules_cue/0.9.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
matrix: &matrix
platform:
- centos7
- debian10
- macos
- ubuntu2004
# Some valid invocations of the "cue" tool can't succeed (e.g. use
# of the "path" and "expression" rules attributes) until we resolve
# or find a reliable workaround for the following issue:
#
# https://github.com/bazelbuild/bazel/issues/17487
#
# Until then, withdraw promised support for using this module on
# Windows.
#- windows
bazel:
- 6.x
- 7.x
tasks:
verify_targets:
name: Verify that all tests succeed
platform: ${{ platform }}
bazel: ${{ bazel }}
test_targets:
- '@rules_cue//test:all'
bcr_test_module:
module_path: examples/bzlmod
matrix: *matrix
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- //root
9 changes: 9 additions & 0 deletions modules/rules_cue/0.9.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-sn5LyY/TKTcFU2SHPhrlLnWhfUpaVDPxxhY1gIURLuo=",
"strip_prefix": "rules_cue-0.9.0",
"url": "https://github.com/seh/rules_cue/releases/download/v0.9.0/vcs-archive-v0.9.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-cgadCzHAG8jhkCx+SGg9ipJzgnPuK4wLSfM/F4AX8mo="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_cue/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"0.7.0",
"0.8.1",
"0.8.2",
"0.8.3"
"0.8.3",
"0.9.0"
],
"yanked_versions": {}
}

0 comments on commit 0531120

Please sign in to comment.