From: Brett Smith Date: Fri, 31 May 2024 03:17:33 +0000 (-0400) Subject: 21388: Fill out sdk/cwl/README.rst X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/f7ad38ad0bb7c7a5432fd414a45812845e3e8103?hp=ff31ac17e296f6a35e1d96f31af8061f7102c797 21388: Fill out sdk/cwl/README.rst Arvados-DCO-1.1-Signed-off-by: Brett Smith --- diff --git a/sdk/cwl/README.rst b/sdk/cwl/README.rst index 45d0be6ddb..c96f2af200 100644 --- a/sdk/cwl/README.rst +++ b/sdk/cwl/README.rst @@ -2,4 +2,94 @@ .. .. SPDX-License-Identifier: Apache-2.0 -Arvados Common Workflow Language (CWL) runner. +================== +Arvados CWL Runner +================== + +Overview +-------- + +This package provides the ``arvados-cwl-runner`` tool to register and run Common Workflow Language workflows in Arvados_. + +.. _Arvados: https://arvados.org/ + +Installation +------------ + +Installing under your user account +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +This method lets you install the package without root access. However, +other users on the same system will need to reconfigure their shell in order +to be able to use it. Run the following to install the package in an +environment at ``~/arvclients``:: + + python3 -m venv ~/arvclients + ~/arvclients/bin/pip install arvados-cwl-runner + +Command line tools will be installed under ``~/arvclients/bin``. You can +test one by running:: + + ~/arvclients/bin/arvados-cwl-runner --version + +You can run these tools by specifying the full path every time, or you can +add the directory to your shell's search path by running:: + + export PATH="$PATH:$HOME/arvclients/bin" + +You can make this search path change permanent by adding this command to +your shell's configuration, for example ``~/.bashrc`` if you're using bash. +You can test the change by running:: + + arvados-cwl-runner --version + +Installing on Debian and Ubuntu systems +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Arvados publishes packages for Debian 11 "bullseye," Debian 12 "bookworm," Ubuntu 20.04 "focal," and Ubuntu 22.04 "jammy." You can install the Python SDK package on any of these distributions by running the following commands:: + + sudo install -d /etc/apt/keyrings + sudo curl -fsSL -o /etc/apt/keyrings/arvados.asc https://apt.arvados.org/pubkey.gpg + sudo tee /etc/apt/sources.list.d/arvados.sources >/dev/null </dev/null <`_ describes +how to find this information in the Arvados Workbench, and install it +on your system. + +Testing and Development +----------------------- + +This package is one part of the Arvados source package, and it has +integration tests to check interoperability with other Arvados +components. Our `hacking guide +`_ +describes how to set up a development environment and run tests.