Skip to content

use starlark sh_binary

5e8bd10
Select commit
Loading
Failed to load commit list.
Open

bazel 8 — use starlark sh_binary rule #57

use starlark sh_binary
5e8bd10
Select commit
Loading
Failed to load commit list.
Faster CI / Faster CI / build (7.4.1) failed Dec 22, 2025 in 17s

Faster CI / build (7.4.1)

Details

starting workflow Faster CI / build (7.4.1)
# git clone -n https://x-access-token:******@github.com/fasterci/rules_gitops.git repo
Cloning into 'repo'...
# git fetch origin refs/pull/57/head --prune
From https://github.com/fasterci/rules_gitops
 * branch            refs/pull/57/head -> FETCH_HEAD
# git -c advice.detachedHead=false checkout -f 5e8bd1007e422ba2c2b1e9bdbcf653c3fc241f8d
HEAD is now at 5e8bd10 use starlark sh_binary
# bash -ec git clean -dfx -e 'bazel-*'
# bazel build --enable_bzlmod=false -- //...
2025/12/22 07:24:17 Downloading https://releases.bazel.build/7.4.1/release/bazel-7.4.1-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
(07:24:21) INFO: Invocation ID: 117ed1e6-06c5-4dc8-b25e-705dbc2643a9
(07:24:21) INFO: Streaming build results to: https://fasterci.com/app/dashboard/fasterci/rules_gitops/HOeHRfto2YJRFxjw6VAd/117ed1e6-06c5-4dc8-b25e-705dbc2643a9
(07:24:21) INFO: Options provided by the client:
  Inherited 'common' options: --isatty=0 --terminal_columns=80
(07:24:21) INFO: Reading rc options for 'build' from /fasterci/repo/.bazelrc:
  Inherited 'common' options: --enable_bzlmod
(07:24:21) INFO: Reading rc options for 'build' from /fasterci/.bazelrc:
  Inherited 'common' options: --show_timestamps --watchfs
(07:24:21) INFO: Reading rc options for 'build' from /fasterci/repo/.bazelrc:
  'build' options: --nolegacy_external_runfiles --remote_download_all --verbose_failures --@io_bazel_rules_go//go/config:pure
(07:24:21) INFO: Reading rc options for 'build' from /fasterci/.bazelrc:
  'build' options: --announce_rc --incompatible_strict_action_env --action_env=PATH=/usr/local/bin:/bin:/usr/bin --repository_cache=~/.cache/repository_cache --remote_local_fallback --remote_download_all --grpc_keepalive_time=30s --remote_cache=grpc://localhost:2345 --remote_proxy=unix:/tmp/periscope --bes_backend=grpc://localhost:2345 --bes_proxy=unix:/tmp/periscope --bes_results_url=https://fasterci.com/app/dashboard/fasterci/rules_gitops/HOeHRfto2YJRFxjw6VAd
(07:24:21) INFO: Current date is 2025-12-22
(07:24:21) Computing main repo mapping: 
(07:24:22) Computing main repo mapping: 
(07:24:23) Computing main repo mapping: 
(07:24:24) Computing main repo mapping: 
(07:24:25) Computing main repo mapping: 
(07:24:26) Loading: 
(07:24:26) Loading: 1 packages loaded
(07:24:26) WARNING: Target pattern parsing failed.
(07:24:26) 🔴ERROR:🔴 Skipping '//...': error loading package under directory '': error loading package 'skylib/kustomize': Unable to find package for @@rules_shell//shell:sh_binary.bzl: The repository '@@rules_shell' could not be resolved: Repository '@@rules_shell' is not defined.
(07:24:26) 🔴ERROR:🔴 error loading package under directory '': error loading package 'skylib/kustomize': Unable to find package for @@rules_shell//shell:sh_binary.bzl: The repository '@@rules_shell' could not be resolved: Repository '@@rules_shell' is not defined.
(07:24:26) INFO: Elapsed time: 7.336s
(07:24:26) INFO: 0 processes.
(07:24:26) 🔴ERROR:🔴 Build did NOT complete successfully
(07:24:26) 🔴FAILED:🔴 
(07:24:26) INFO: Streaming build results to: https://fasterci.com/app/dashboard/fasterci/rules_gitops/HOeHRfto2YJRFxjw6VAd/117ed1e6-06c5-4dc8-b25e-705dbc2643a9
exit code 1
# bash -ec git status --porcelain