remove usage of bazelisk

Change-Id: I1709a753d7dbe3b9eb637937e6b8943e2ebce748
BUG: 93488
Reviewed-by: Jiaming Li <>
Commit-Queue: Chase Latta <>
11 files changed
tree: 495d28877eeccdc41beb6bd914c1c788d1040b2b
  1. build/
  2. hooks/
  3. scripts/
  4. src/
  5. third_party/
  6. tools/
  7. .bazelrc
  8. .gitignore
  9. .gitmodules
  10. .manifest
  11. artifact_lock.json
  12. artifact_spec.json
  14. BUILD.bazel
  15. checksum.json
  16. cipd.ensure
  17. cipd_lock.versions
  20. OWNERS
  23. WORKSPACE.bazel


NOTE: This repo is not actively maintained. We are planning to resume this work in Q3 2022.

The workstation.git repository holds the source code for building the Workstation outside of fuchsia.git. For more information, see RFC-0095.

This repository is a work in progress and should be considered experimental- the official Workstation product is still in the main fuchsia.git repository.

Fetch submodules

This project uses git submodules. After checking out a branch run the git submodule command to update the dependencies.

git submodule update --init --recursive


Bootstrap script in scripts/ will fetch bazel.

The Workstation repository uses Bazel for its build system. To ensure that you are using the version of Bazel that was tested in CQ/CI we recommend using bazelisk. You can either add bazelisk to your path or invoke it directly.

# Assumes that WORKSTATION_REPO is set to your checkout directory

Build instructions

Pave using

bazel run //src/product:workstation_x64_paver

Additional arguments may be supplied following a -- token, matching the arguments given to the bootserver tool.

Other targets can be found at src/build/BUILD.bazel

Generated files

artifact_spec.json is generated by

bazel run //tools/build_generator

See tools/build_generator/build_generator.go for more information. Eventually, this file will be maintained by hand.

artifact_lock.json is generated by the command:

bazel run artifact_lock_updater

This is an input to the fuchsia_product_repository WORKSPACE target.

checksum.json is generated by the command

bazel run @workstation_external_packages//:workspace_checksum_updater

and is also an input to the fuchsia_product_repository WORKSPACE target.

There are more generated files in src/product. See src/product/ for information.