Skip to content

Releases: keith/rules_multirun

0.13.0

26 Aug 21:07
e2245c6

Choose a tag to compare

What's Changed

  • Document that args are not propagated from command targets by @jklukas in #78
  • Fix multirun runner cfg by @keith in #80

New Contributors

Full Changelog: 0.12.0...0.13.0

MODULE.bazel Snippet

bazel_dep(name = "rules_multirun", version = "0.13.0")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_multirun",
    sha256 = "a203b9f098297b8e5b38e8e746d3f9e55ce2687a76a18599ae0b3fbf8359a7eb",
    url = "https://github.com/keith/rules_multirun/releases/download/0.13.0/rules_multirun.0.13.0.tar.gz",
)

0.12.0

01 May 17:19
fa966a6

Choose a tag to compare

What's Changed

  • fix: BAZEL_SH must take precedence on Windows by @albertocavalcante in #72
  • Expand make variables in environment and arguments by @keith in #73
  • Allow resolving rlocations in env or arguments by @keith in #74

New Contributors

Full Changelog: 0.11.0...0.12.0

MODULE.bazel Snippet

bazel_dep(name = "rules_multirun", version = "0.12.0")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_multirun",
    sha256 = "1d130f696f69fc25fe93c42043e1ded52418ed78b0fdcae678e247adad8c36b1",
    url = "https://github.com/keith/rules_multirun/releases/download/0.12.0/rules_multirun.0.12.0.tar.gz",
)

0.11.0

27 Mar 19:35
76752d9

Choose a tag to compare

What's Changed

  • Send interrupt signal instead of killing process on keyboard interrupt, thanks @neckbosov!
  • Add run_from_workspace_root to command to automatically cd into the root of the repo
  • Use RunEnvironmentInfo from commands, thanks @sallustfire!
  • Fix deadlock with large buffered output

MODULE.bazel Snippet

bazel_dep(name = "rules_multirun", version = "0.11.0")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_multirun",
    sha256 = "5424e71bf5fa3965c8d89b1cb84111437a4a1b937919d80b0d28217b92e44460",
    url = "https://github.com/keith/rules_multirun/releases/download/0.11.0/rules_multirun.0.11.0.tar.gz",
)

0.10.0

26 Nov 00:16
8c2d112

Choose a tag to compare

What's Changed

  • Catch keyboard interrupt, thanks @neckbosov!
  • Use /usr/bin/env bash for runfiles, thanks @sudoforge!
  • Add the ability to pipe stdin to parallel jobs by setting forward_stdin = True, thanks @scottpledger!

MODULE.bazel Snippet

bazel_dep(name = "rules_multirun", version = "0.10.0")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_multirun",
    sha256 = "9b4dbc2d91fb135d888aad6c3582a13041a8a89c1efcd5956cc148f2a214f958",
    url = "https://github.com/keith/rules_multirun/releases/download/0.10.0/rules_multirun.0.10.0.tar.gz",
)

0.9.0

21 Mar 23:57
72a2735

Choose a tag to compare

What's Changed

  • Pass arguments from bazel run through to the multirun target being run, thanks @hunshcn!
  • Replace use of to_json() with json.encode(), thanks @mortenmj!
  • Fix default value for data for expansion_targets, thanks @harshalparekh6!

MODULE.bazel Snippet

bazel_dep(name = "rules_multirun", version = "0.9.0")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_multirun",
    sha256 = "0e124567fa85287874eff33a791c3bbdcc5343329a56faa828ef624380d4607c",
    url = "https://github.com/keith/rules_multirun/releases/download/0.9.0/rules_multirun.0.9.0.tar.gz",
)

0.8.1

28 Feb 18:01
3802697

Choose a tag to compare

What's Changed

  • Fix BCR CI

MODULE.bazel Snippet

bazel_dep(name = "rules_multirun", version = "0.8.1")

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_multirun",
    sha256 = "65401fca5163fda99d7f7613a389d79412ccba8749e8aeb9168b857970beb7af",
    url = "https://github.com/keith/rules_multirun/releases/download/0.8.1/rules_multirun.0.8.1.tar.gz",
)

0.8.0

28 Feb 17:48
e7d1d13

Choose a tag to compare

What's Changed

  • Add initial Windows support, this currently requires bash.exe to be accessible

MODULE.bazel Snippet

Unsupported, use 0.8.1

Workspace Snippet

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_multirun",
    sha256 = "adf61e10ffb97f68dce9b8ffd4172b14b5df23f9dbce8e33b29bb8249f444f1c",
    url = "https://github.com/keith/rules_multirun/releases/download/0.8.0/rules_multirun.0.8.0.tar.gz",
)

0.7.0

23 Feb 23:35
ecf1c0c

Choose a tag to compare

  • Add buffer_output attribute to multirun, disabled by default. For parallel multiruns this holds all command output until the commands are finished and prints them grouped together. This is useful if you have many commands which produce confusing interleaved output.
  • Add keep_going attribute to multirun, disabled by default. This allows you to run all commands even if some fail to see all failure output. The downside is if you have long running commands and if you don't care about later commands succeeding if the earlier commands fail, you might waste runtime.
  • Add description to command which is printed instead of the default label with print_command = True on multirun
  • Improve documentation, visible here
  • Add bzl_library targets for stardoc

MODULE.bazel setup:

bazel_dep(name = "rules_multirun", version = "0.7.0")

WORKSPACE setup:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_multirun",
    sha256 = "7b699b3922919d727e7f5aa868286e59cc69fa6aa14f6c3e54a4674010bd1582",
    strip_prefix = "rules_multirun-0.7.0",
    url = "https://github.com/keith/rules_multirun/releases/download/0.7.0/rules_multirun-0.7.0.tar.gz",
)

0.6.1

22 Jun 19:37
3bee29e

Choose a tag to compare

  • Fix running commands that are in the root BUILD file. Thanks @Place1!

MODULE.bazel setup:

bazel_dep(name = "rules_multirun", version = "0.6.1")

WORKSPACE setup:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_multirun",
    sha256 = "9cd384e42b2da00104f0e18f25e66285aa21f64b573c667638a7a213206885ab",
    strip_prefix = "rules_multirun-0.6.1",
    url = "https://github.com/keith/rules_multirun/archive/refs/tags/0.6.1.tar.gz",
)

0.6.0

28 Feb 00:21
9a6397e

Choose a tag to compare

  • Breaking make command use the target transition by default, and command_force_opt retain the previous behavior.
  • Add command_with_transition macro to allow using commands with custom transitions thanks @oxidase!

MODULE.bazel setup:

bazel_dep(name = "rules_multirun", version = "0.6.0")

WORKSPACE setup:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_multirun",
    sha256 = "9ced12fb88f793c2f0a8c19f498485c4a95c22c91bb51fc4ec6812d41fc3331d",
    strip_prefix = "rules_multirun-0.6.0",
    url = "https://github.com/keith/rules_multirun/archive/refs/tags/0.6.0.tar.gz",
)