Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions docs/source/packs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,35 @@ version or **upgrade to latest** if the version is not specified. Your config fi
overwritten, so you can revert to an older version just as easily, but for production deployments
we recommend to always specify versions in case there are major changes in ``latest``.

Pack Dependencies
~~~~~~~~~~~~~~~~~

.. note::

New feature! As of StackStorm 3.2.

If your pack uses actions from other packs, you can specify them in the ``dependencies`` section of
the ``pack.yaml`` file and StackStorm will install them automatically when installing your pack.

Similar to using the ``st2 pack install`` subcommand, you can reference packs from StackStorm
Exchange using just their names, or you can specify a pack's Git repository URL. You can also use
the same syntax to install a specific version, tag, or branch:

.. code-block:: yaml

dependencies:
- excel
- powerpoint=0.2.2
- https://github.com/StackStorm/stackstorm-ms.git

If you have dependency conflicts, the ``st2 pack install`` subcommand may error out, without
installing any packs. If you would like to forcibly install a pack without installing its
dependencies, you can use the ``--skip-dependencies`` flag:

.. code-block:: bash

st2 pack install --skip-dependencies my-custom-pack

Uninstalling a Pack
~~~~~~~~~~~~~~~~~~~

Expand Down