### Run Xcode first launch setup Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-mac-rbe.md Execute the initial setup for Xcode, which may include installing additional components or configuring settings. This requires administrator privileges. ```sh sudo xcodebuild -runFirstLaunch ``` -------------------------------- ### Example .bazelversion file Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/cli.md Illustrates the format of the .bazelversion file after installing the BuildBuddy CLI for a project, showing both the CLI version and the Bazel version. ```text buildbuddy-io/5.0.321 7.3.0 ``` -------------------------------- ### Install BuildBuddy Open Source with Helm Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/on-prem.md Deploy BuildBuddy Open Source using the Helm chart. This example demonstrates setting MySQL credentials during installation. Ensure you replace 'sampleUser' and 'samplePassword' with your actual credentials. ```bash helm install buildbuddy buildbuddy/buildbuddy \ --set mysql.mysqlUser=sampleUser \ --set mysql.mysqlPassword=samplePassword ``` -------------------------------- ### Install Open Invocation Plugin Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/cli/plugins/open-invocation/README.md Install the open-invocation plugin using the `bb install` command. ```bash bb install buildbuddy-io/plugins:open-invocation ``` -------------------------------- ### Install Notify Plugin Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/cli/plugins/notify/README.md Install the notify plugin using the `bb install` command. ```bash bb install buildbuddy-io/plugins:notify ``` -------------------------------- ### Install Custom Software with apt-get Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/workflows-config.md Install custom software packages using `apt-get` within your workflow steps. This example shows how to conditionally install a package to leverage cached workflow VMs for faster subsequent runs. ```yaml actions: - name: Test steps: # Ensure apt packages are installed ("libexample0" in this example) # Note: workflow VMs are snapshotted and reused, so normally, # the apt-get install step only needs to run once. - run: | if ! [ -e /usr/lib/libexample.so.0 ] ; do # libexample0 is not installed; install it: sudo apt-get update && sudo apt-get install -y libexample0 fi - run: | bazel test //some/target/that/needs:libexample ``` -------------------------------- ### Verify BuildBuddy Installation Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/quickstart.md After configuration, Bazel will output a URL to view build results. This example shows the output after a successful build. ```shell tylerw@lunchbox:~/buildbuddy-io/buildbuddy$ bazel build server:all INFO: Streaming build results to: https://app.buildbuddy.io/invocation/24a37b8f-4cf2-4909-9522-3cc91d2ebfc4 INFO: Analyzed 13 targets (0 packages loaded, 0 targets configured). INFO: Found 13 targets... INFO: Elapsed time: 0.212s, Critical Path: 0.01s INFO: 0 processes. INFO: Streaming build results to: https://app.buildbuddy.io/invocation/24a37b8f-4cf2-4909-9522-3cc91d2ebfc4 INFO: Build completed successfully, 1 total action ``` -------------------------------- ### Install BuildBuddy Enterprise Helm Chart Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-helm.md Quickly install the BuildBuddy Enterprise chart with basic MySQL configuration. ```bash helm repo add buildbuddy https://helm.buildbuddy.io helm install buildbuddy buildbuddy/buildbuddy-enterprise \ --set mysql.mysqlUser=sampleUser \ --set mysql.mysqlPassword=samplePassword ``` -------------------------------- ### Full BuildBuddy Enterprise Configuration Example Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-config.md A comprehensive `config.yaml` example demonstrating the integration of application settings, database connection, storage, caching, authentication, SSL, and remote execution. ```yaml app: build_buddy_url: "https://app.buildbuddy.mydomain" events_api_url: "grpcs://events.buildbuddy.mydomain:1986" cache_api_url: "grpcs://cache.buildbuddy.mydomain:1986" default_redis_target: "my-redis.local:6379" database: data_source: "mysql://user:pass@tcp(12.34.56.78)/database_name" storage: ttl_seconds: 2592000 # 30 days chunk_file_size_bytes: 3000000 # 3 MB gcs: bucket: "buildbuddy_prod_blobs" project_id: "flame-build" credentials_file: "your_service-acct.json" cache: disk: root_directory: "/data/buildbuddy-cache" auth: oauth_providers: - issuer_url: "https://your-custom-domain.okta.com" client_id: "0aaa5twc0asdkUW123x6" client_secret: "P8fRAYxWMmG9asd040GV2_q9MZ6esTJif1n4BubxU" ssl: enable_ssl: true client_ca_cert_file: your_ca.crt client_ca_key_file: your_ca.pem remote_execution: enable_remote_exec: true ``` -------------------------------- ### Install go-deps Plugin Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/cli/plugins/go-deps/README.md Use this command to install the go-deps plugin for BuildBuddy. ```bash bb install buildbuddy-io/plugins:go-deps ``` -------------------------------- ### Install Plugin with Full URL Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/cli-plugins.md Installs the open-invocation plugin using a full GitHub URL and specifying the main branch. ```bash bb install https://github.com/buildbuddy-io/plugins@main:open-invocation ``` -------------------------------- ### Install BuildBuddy CLI Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/cli/README.md Use this command to install the BuildBuddy CLI. Ensure you have curl installed. ```shell curl -fsSL https://install.buildbuddy.io | bash ``` -------------------------------- ### Install Open Invocation Plugin Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/cli-plugins.md Installs the open-invocation plugin from the buildbuddy-io/plugins repository. ```bash bb install buildbuddy-io/plugins:open-invocation ``` -------------------------------- ### Install a Plugin from a Multi-Plugin Repository Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/cli-plugins.md Use this command to install a specific BuildBuddy plugin from a repository that hosts multiple plugins. Specify the path to the plugin within the repository. ```bash bb install your-username/your-repo:path-to-repo ``` -------------------------------- ### Install and Run Terraform Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/terraform/aws/README.md Installs Terraform using Homebrew, navigates to the AWS Terraform directory, and initializes and applies the configuration. ```bash > brew install terraform > cd buildbuddy/terraform/aws > terraform init > terraform apply ``` -------------------------------- ### Start Mock SAML IDP Server Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/enterprise/tools/mocksaml/README.md Starts the mock SAML IDP server using Bazel. This command requires the paths to the generated certificate and key files. ```bash bazel run -- enterprise/tools/mocksaml -cert_file=/tmp/mocksaml.crt -key_file=/tmp/mocksaml.key ``` -------------------------------- ### Verify BuildBuddy Cloud Installation Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/cloud.md After configuring .bazelrc, Bazel will output a URL to view build results. This example shows the typical output format. ```shell tylerw@lunchbox:~/buildbuddy-io/buildbuddy$ bazel build server:all INFO: Streaming build results to: https://app.buildbuddy.io/invocation/24a37b8f-4cf2-4909-9522-3cc91d2ebfc4 INFO: Analyzed 13 targets (0 packages loaded, 0 targets configured). INFO: Found 13 targets... INFO: Elapsed time: 0.212s, Critical Path: 0.01s INFO: 0 processes. INFO: Streaming build results to: https://app.buildbuddy.io/invocation/24a37b8f-4cf2-4909-9522-3cc91d2ebfc4 INFO: Build completed successfully, 1 total action ``` -------------------------------- ### Example Authentication Configuration (OIDC) Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-helm.md Configures BuildBuddy to use OpenID Connect (OIDC) for authentication, with an example for Google authentication. Requires client ID and secret from your OIDC provider. ```yaml ingress: enabled: true sslEnabled: true httpHost: buildbuddy.example.com grpcHost: buildbuddy-grpc.example.com mysql: enabled: true mysqlUser: "sampleUser" mysqlPassword: "samplePassword" certmanager: enabled: true emailAddress: your-email@gmail.com config: app: build_buddy_url: "https://buildbuddy.example.com" events_api_url: "grpcs://buildbuddy-grpc.example.com" cache_api_url: "grpcs://buildbuddy-grpc.example.com" auth: ## To use Google auth, get client_id and client_secret here: ## https://console.developers.google.com/apis/credentials oauth_providers: - issuer_url: "https://accounts.google.com" # OpenID Connect Discovery URL client_id: "MY_CLIENT_ID" client_secret: "MY_CLIENT_SECRET" ssl: enable_ssl: true ``` -------------------------------- ### MySQL Connection String Example Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-config.md Example of a MySQL connection string format. This is used to specify the database connection details for BuildBuddy. ```bash "mysql://user:pass@tcp(12.34.56.78)/database_name" ``` -------------------------------- ### Start BuildBuddy Server with SAML Configuration Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/enterprise/tools/mocksaml/README.md Starts the BuildBuddy enterprise server, configuring it to use the self-signed certificate and trust the mock IDP's public certificate. ```bash bazel run -- enterprise/server -auth.saml.key_file=/tmp/bb.key -auth.saml.cert_file=/tmp/bb.crt -auth.saml.trusted_idp_cert_files=/tmp/mocksaml.crt ``` -------------------------------- ### Example Action: C++ Compilation Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/website/blog/action-merging.md This is a basic example of a C++ compilation command, representing an action that Bazel might execute. ```shell g++ your_file.cpp -o your_program_name ``` -------------------------------- ### Example Exec Args File Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/cli-plugins.md This is an example of the format for the $EXEC_ARGS_FILE environment variable, which contains arguments passed to an executable built by Bazel. ```bash --bool_var true positional_arg --option=value --option2 positional_arg3 --option4 ``` -------------------------------- ### Install a Single Plugin from a Repository Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/cli-plugins.md Use this command to install a BuildBuddy plugin hosted in its own repository. Replace `your-username/your-repo` with the actual repository path. ```bash bb install your-username/your-repo ``` -------------------------------- ### Start the BuildBuddy Executor Launch Agent Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-mac-rbe.md Loads the Launch Agent configuration into `launchd` and then starts the BuildBuddy Executor service. Use `launchctl unload` to stop and remove the agent. ```bash launchctl load ~/Library/LaunchAgents/buildbuddy-executor.plist ``` ```bash launchctl start buildbuddy-executor ``` -------------------------------- ### Start Minikube Cluster Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-helm.md Use this command to start a local Kubernetes cluster with a specific version using Minikube. ```bash minikube start --kubernetes-version v1.15.6 ``` -------------------------------- ### Install BuildBuddy Enterprise Chart (Helm v3) Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-helm.md Installs the BuildBuddy Enterprise chart with a release name of 'my-release' using Helm v3. ```bash helm install my-release buildbuddy/buildbuddy-enterprise ``` -------------------------------- ### Install Plugin with User Flag Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/cli-plugins.md Installs a plugin as user-specific, which is added to the user's `~/buildbuddy.yaml` file instead of the repository's `buildbuddy.yaml`. ```bash bb install --user buildbuddy-io/plugins:open-invocation ``` -------------------------------- ### Install BuildBuddy Enterprise Locally (Helm v2) Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-helm.md Perform a local installation of BuildBuddy Enterprise using Helm, specifying image tag and MySQL credentials. ```bash helm install . \ --set image.tag=5.12.4 \ --set mysql.mysqlUser=sampleUser \ --set mysql.mysqlPassword=samplePassword ``` -------------------------------- ### Install BuildBuddy Enterprise Chart (Helm v2) Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-helm.md Installs the BuildBuddy Enterprise chart with a release name of 'my-release' using Helm v2. ```bash helm install --name my-release buildbuddy/buildbuddy-enterprise ``` -------------------------------- ### BuildBuddy CLI Plugin Install Syntax Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/cli-plugins.md Defines the general syntax for installing BuildBuddy CLI plugins, including optional repository, version, and path components. ```bash bb install [REPO][@VERSION][:PATH] ``` -------------------------------- ### Install BuildBuddy Enterprise Locally (Helm v3) Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-helm.md Install BuildBuddy Enterprise locally using Helm v3, automatically generating a release name and specifying image tag and MySQL credentials. ```bash helm install . \ --generate-name \ --set image.tag=5.12.4 \ --set mysql.mysqlUser=sampleUser \ --set mysql.mysqlPassword=samplePassword ``` -------------------------------- ### Kick off a Bazel build using BuildBuddy UI Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/cli/README.md Execute this command to initiate a Bazel build and view it in the BuildBuddy UI. This assumes the CLI is installed and configured. ```shell bb build //... ``` -------------------------------- ### Test Docker installation in a custom microVM image Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/rbe-microvms.md Run this command to test if Docker is properly installed and running within your custom microVM image. It starts a Docker daemon in the background using vfs storage driver. ```shell docker run --rm -it --privileged --name=docker-test your-image.io/foo dockerd --storage-driver=vfs ``` -------------------------------- ### Run Local Development Server Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/website/README.md Use this command to start the local development server for the marketing website. The site will live reload as you make changes. ```bash bazel run website:start ``` -------------------------------- ### Verify BuildBuddy Executor Installation Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-mac-rbe.md Monitors the standard output log file for the BuildBuddy Executor to confirm it has started successfully and is connected to the cluster. ```bash tail -f buildbuddy_stdout.log ``` -------------------------------- ### Example post_bazel.sh for Python Script Execution Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/cli-plugins.md This script executes a Python script named post_bazel.py after checking if python3 is installed. It passes all arguments to the Python script. ```bash if ! which python3 &>/dev/null; then echo -e "\x1b[33mWarning: go-deps plugin is disabled: missing 'python3' in \$PATH\x1b[m" >&2 exit 0 fi exec python3 ./post_bazel.py "$@" ``` -------------------------------- ### Example Ingress and Cert-Manager Configuration Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-helm.md Enables ingress with SSL, specifies hostnames, and configures cert-manager for automatic certificate provisioning. Requires cert-manager CRDs to be installed separately. ```yaml ingress: enabled: true sslEnabled: true httpHost: buildbuddy.example.com grpcHost: buildbuddy-grpc.example.com mysql: enabled: true mysqlUser: "sampleUser" mysqlPassword: "samplePassword" certmanager: enabled: true emailAddress: your-email@gmail.com config: app: build_buddy_url: "https://buildbuddy.example.com" events_api_url: "grpcs://buildbuddy-grpc.example.com" cache_api_url: "grpcs://buildbuddy-grpc.example.com" ssl: enable_ssl: true ``` -------------------------------- ### Configure SSH Access within a Firecracker VM Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/enterprise/server/remote_execution/containers/firecracker/README.md These commands set up SSH access within a Firecracker VM. This involves setting a root password, installing openssh-server, configuring it for root login, and starting the SSH daemon. Assumes an Ubuntu-based VM. ```shell # Set the root password to 'root' export PATH="$PATH:/sbin/:/usr/sbin/" printf 'root:root' | chpasswd # Install openssh-server (with apt, assuming the VM is running ubuntu) apt update && apt install -y openssh-server # Permit SSH root login echo >>/etc/ssh/sshd_config 'PermitRootLogin yes' # Start sshd /etc/init.d/ssh start ``` -------------------------------- ### Example MySQL Configuration Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-helm.md Configures BuildBuddy to use an internal MySQL database. Ensure 'enabled' is set to 'true' and provide user credentials. ```yaml mysql: enabled: true mysqlUser: "sampleUser" mysqlPassword: "samplePassword" ``` -------------------------------- ### Install Homebrew package manager Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-mac-rbe.md Install Homebrew, a package manager for macOS, to simplify the installation of other software. This command downloads and executes the official installation script. ```bash /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ``` -------------------------------- ### Example buildbuddy.yaml Configuration Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/workflows-config.md This is a basic configuration for `buildbuddy.yaml` that mirrors the default workflow. It triggers on pushes to the main branch and updates to any pull request branch, running `bazel test //...`. ```yaml actions: - name: "Test all targets" triggers: push: branches: - "main" # <-- replace "main" with your main branch name pull_request: branches: - "*" steps: - run: "bazel test //..." ``` -------------------------------- ### Install Bazelisk with Homebrew Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/website/blog/how-to-migrate-an-ios-app-to-bazel.md Install Bazelisk, a tool for managing Bazel versions, using Homebrew. This command installs Bazelisk as the `bazel` command. ```shell brew install bazelisk ``` -------------------------------- ### Build and Run BuildBuddy with Bazel Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/on-prem.md Compile and start BuildBuddy using Bazel in optimized mode. Ensure Bazelisk is used to respect the .bazelversion file. ```bash bazel run -c opt server:buildbuddy ``` -------------------------------- ### Install AWS CLI Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/terraform/aws/README.md Installs the AWS CLI using Homebrew and configures it. ```bash > brew install awscli > aws configure ``` -------------------------------- ### Run bb explain with Last Two Builds Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/website/changelog/bb-explain.md Execute `bb explain` without arguments to compare the last two builds automatically. Ensure the `bb` CLI is installed and configured. ```bash bb explain ``` -------------------------------- ### Install daemontools for multilog Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-mac-rbe.md Installs the `daemontools` package, which includes the `multilog` utility for log rotation. ```bash brew install daemontools ``` -------------------------------- ### Example GetTarget Response Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-api.md An example JSON response from the GetTarget endpoint, showing a list of targets with their details. ```json { "target": [ { "id": { "invocationId": "c7fbfe97-8298-451f-b91d-722ad91632ea", "targetId": "aWQ6OnYxOjovL3Rvb2xzL3JlcGxheV9hY3Rpb246cmVwbGF5X2FjdGlvbl9saWI" }, "label": "//tools/replay_action:replay_action_lib", "status": "BUILT", "ruleType": "go_library", "language": "go" }, ...{ "id": { "invocationId": "c7fbfe97-8298-451f-b91d-722ad91632ea", "targetId": "aWQ6OnYxOjovL2VudGVycHJpc2UvYXBwOmNvcHlfYXBwX2J1bmRsZV9zb3VyY2VtYXA" }, "label": "//enterprise/app:copy_app_bundle_sourcemap", "status": "BUILT", "ruleType": "genrule" }, { "id": { "invocationId": "c7fbfe97-8298-451f-b91d-722ad91632ea", "targetId": "aWQ6OnYxOjovL2VudGVycHJpc2U6YnVpbGRidWRkeQ" }, "label": "//enterprise:buildbuddy", "status": "BUILT", "ruleType": "go_binary", "language": "go" } ] } ``` -------------------------------- ### GetInvocation Endpoint cURL Response Example Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-api.md Example JSON response when successfully retrieving invocation data. ```json { "invocation": [ { "id": { "invocationId": "c7fbfe97-8298-451f-b91d-722ad91632ea" }, "success": true, "user": "runner", "durationUsec": "221970000", "host": "fv-az278-49", "command": "build", "pattern": "//...", "actionCount": "1402", "createdAtUsec": "1623193638545989", "updatedAtUsec": "1623193638545989", "repoUrl": "https://github.com/buildbuddy-io/buildbuddy", "commitSha": "800f549937a4c0a1614e65501caf7577d2a00624", "role": "CI" } ] } ``` -------------------------------- ### Setup BuildBuddy CLI for Dogfooding Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/cli/README.md Create a symlink for the BuildBuddy CLI to enable dogfooding builds from the local development branch. This script creates a symlink in ~/bin and adds it to your PATH if necessary. ```shell mkdir -p ~/bin ln -s "$(pwd)/cli/dev.sh" ~/bin/bb which bb || echo 'PATH="$PATH:$HOME/bin"' >> ~/.bashrc ``` -------------------------------- ### Install BuildBuddy Enterprise Cache Proxy Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-proxy.md Installs the BuildBuddy Enterprise Cache Proxy using the Helm chart. ```bash helm install buildbuddy buildbuddy/buildbuddy-enterprise-cache-proxy ``` -------------------------------- ### Preview Static Production Build Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/website/README.md Serve a static production build of the marketing website locally to preview optimizations like minified JS/CSS and optimized images. Rebuild the target to pick up changes. ```bash bazel run website:serve ``` -------------------------------- ### Example cURL Response for GetLog Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/docs/enterprise-api.md An example JSON response from the GetLog endpoint, containing the 'contents' of the build log. ```json { "log": { "contents": "\u001b[32mINFO: \u001b[0mStreaming build results to: https://app.buildbuddy.io/invocation/c6b2b6de-c7bb-4dd9-b7fd-a530362f0845\n\u001b[33mDEBUG: \u001b[0m/private/var/tmp/_bazel_siggi/d74b389565ce91f59e5b1330988b81f0/external/io_grpc_grpc_java/java_grpc_library.bzl:195:14: Multiple values in 'deps' is deprecated in google_devtools_remoteexecution_v1test_remote_execution_java_grpc\n\u001b[33mDEBUG: \u001b[0m/private/var/tmp/_bazel_siggi/d74b3895654ce91f9e5b1300988b81f0/external/io_grpc_grpc_java/java_grpc_library.bzl:195:14: Multiple values in 'deps' is deprecated in remote_execution_java_grpc\n\u001b[33mDEBUG: \u001b[0m/private/var/tmp/_bazel_siggi/d74b3895654ce91f9e5b1300988b81f0/external/io_grpc_grpc_java/java_grpc_library.bzl:82:14: in srcs attribute of @remoteapis//:remote_execution_java_grpc: Proto source with label @remoteapis//build/bazel/remote/execution/v2:remote_execution_proto should be in same package as consuming rule\n\u001b[32mINFO: \u001b[0mAnalyzed 9 targets (52 packages loaded, 1700 targets configured).\n\u001b[32mINFO: \u001b[0mFound 9 targets...\n\u001b[32mINFO: \u001b[0mFrom Generating Descriptor Set proto_library @googleapis//:google_watch_v1_proto:\ngoogle/watcher/v1/watch.proto:21:1: warning: Import google/protobuf/empty.proto but not used.\n\u001b[32mINFO: \u001b[0mElapsed time: 2.615s, Critical Path: 1.21s\n\u001b[32mINFO: \u001b[0m32 processes: 16 internal, 11 darwin-sandbox, 5 worker.\n\u001b[32mINFO:\u001b[0m Build completed successfully, 32 total actions\n" } } ``` -------------------------------- ### Git Bisect Output Example Source: https://github.com/buildbuddy-io/buildbuddy/blob/master/website/blog/bisect-bazel.md Example output from `git bisect` showing the progress and identification of a bad commit. ```text running './run.sh' Bisecting: 23 revisions left to test after this (roughly 5 steps) [11e85a4dc73f93ef25809e7d5f0409aaca7d42f1] [8.1.0] Respect comprehension variable shadowing in Starlark debugger output (#25139) running './run.sh' Bazel download failed. Skipping commit 11e85a4dc73f93ef25809e7d5f0409aaca7d42f1. 2025/02/18 13:18:12 Using unreleased version at commit 11e85a4dc73f93ef25809e7d5f0409aaca7d42f1 2025/02/18 13:18:12 Downloading https://storage.googleapis.com/bazel-builds/artifacts/macos_arm64/11e85a4dc73f93ef25809e7d5f0409aaca7d42f1/bazel... 2025/02/18 13:18:12 Skipping basic authentication for storage.googleapis.com because no credentials found in /Users/sluongng/.netrc 2025/02/18 13:18:12 could not download Bazel: failed to download bazel: failed to download bazel: HTTP GET https://storage.googleapis.com/bazel-builds/artifacts/macos_arm64/11e85a4dc73f93ef25809e7d5f0409aaca7d42f1/bazel failed with error 404 Bisecting: 23 revisions left to test after this (roughly 5 steps) [12a3fc001b6629b52f5b24dce6018884222a0608] [8.1.0] See and use more than 64 CPUs on Windows (#25140) running './run.sh' Bisecting: 10 revisions left to test after this (roughly 4 steps) [af6307bc6832d66cce772c5170961b4ff4521e48] [8.1.0] Configure `--run_under` target for the test exec platform (#25184) running './run.sh' Bisecting: 4 revisions left to test after this (roughly 3 steps) [14219c4698e112a03ebe62eed7cb324f625f13c8] [8.1.0] Use digest function matching the checksum in gRPC remote downloader (#25225) running './run.sh' Bazel query failed with exit code 1. Bisecting: 2 revisions left to test after this (roughly 2 steps) [5f3a083d5649715dc0bed811ef41f53b91539d1d] [8.1.0] Update to use coverage_output_generator-v2.8 (#25202) running './run.sh' Bisecting: 1 revision left to test after this (roughly 1 step) [a40a0cd9947dd73ec07f2394d108eb7e98745161] [8.1.0] Add version selector buttons to repo rule docs (#25211) running './run.sh' Bisecting: 0 revisions left to test after this (roughly 0 steps) [aa4531d5a2116f85b80a753c53528032ed3cda71] [8.1.0] Don't suggest updates to private repo rule attributes (#25213) running './run.sh' 14219c4698e112a03ebe62eed7cb324f625f13c8 is the first bad commit ```