Skip to content

Commit

Permalink
Merge pull request #1022 from asthLucas/update_pack_docs_and_dockerfile
Browse files Browse the repository at this point in the history
Update docs: allowing GitLab SSH URLs to be used on pack download
  • Loading branch information
blag authored Feb 26, 2021
2 parents 26abeca + 11317d8 commit 896aaf5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ livedocs: docs .livedocs
@echo " RUNNING DOCS"
@echo "==========================================================="
@echo
. $(VIRTUALENV_DIR)/bin/activate; sphinx-autobuild -H 0.0.0.0 -b html $(DOC_SOURCE_DIR) $(DOC_BUILD_DIR)/html
. $(VIRTUALENV_DIR)/bin/activate; sphinx-autobuild --host 0.0.0.0 -b html $(DOC_SOURCE_DIR) $(DOC_BUILD_DIR)/html
@echo

.PHONY: .cleandocs
Expand Down
9 changes: 8 additions & 1 deletion docs/source/packs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
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 `=`:
Expand Down Expand Up @@ -133,6 +139,7 @@ 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
~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 896aaf5

Please sign in to comment.