spaces_add()

def spaces_add(name, version, add_link_to_workspace_root)

Add the spaces binary to a workflow.

All workflows should include a copy of spaces so that the run rules will continue to work reproducibly even if the system copy of spaces is updated.

Example:

load("//@star/packages/star/spaces-cli.star", "spaces_add")

spaces_add("spaces0", "v0.14.4")

Args

  • name - str The name of the binary
  • version - str The version of the binary
  • add_link_to_workspace_root - bool Add a link to the binary in the workspace root