Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs: allowing GitLab SSH URLs to be used on pack download #1022

Merged
merged 6 commits into from
Feb 26, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Update packs.rst
amanda11 authored Feb 26, 2021
commit 11317d8e7cf5abd7ae343e4de2825e57aa9a551c
11 changes: 7 additions & 4 deletions docs/source/packs.rst
Original file line number Diff line number Diff line change
@@ -99,8 +99,14 @@ Exchange, and you can install your own packs from git just as easily.

.. code-block:: bash

# Install your own pack from git
# Install your own pack from git using http(s)
st2 pack install https://github.com/emedvedev/chatops_tutorial

# Install your own pack from git using ssh
st2 pack install git@github.com/emedvedev/chatops_tutorial

# Install your own pack using gitlab URL (added in release 3.4)
st2 pack install gitlab@gitlab.com:example/examplepack
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯


By default, the latest release of the pack will be installed, but you can specify a particular
version, branch, tag, or even a commit hash. Just use `=`:
@@ -133,9 +139,6 @@ 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``.

.. note::

New feature! As of StackStorm 3.4. It is also possible to download and install packs from GitLab using a SSH based URL through the web interface in the Actions section.

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