Commit 4fdfce4
committed
fix(ci): use own
Bazel 9.0.0 flipped `--incompatible_strict_action_env` to `true` by
default, restricting `PATH` to `/bin:/usr/bin:/usr/local/bin`.
On macOS, this broke a few tests relying on the `md5sum` command:
```
Executing genrule //tests/deb:generate_md5sums failed: (Exit 127): [...]
[...]
/bin/bash: md5sum: command not found
```
This is because:
1. `md5sum` is not a native macOS command (macOS equivalent is `md5`),
2. Homebrew's `md5sum` is typically in `/opt/homebrew/bin`, which is no
longer in the restricted `PATH`.
Since the repo already maintains a cross-platform `//tests/util:md5`
tool, the fix simply consists in leveraging it.md5 tool for Bazel 9 compatibility1 parent e93d65a commit 4fdfce4
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
0 commit comments