Pack Deployment best practice?

Hi! Is there a best practice for deployment of “custom” packs? I think I would like to add /opt/packs, or something, to packs_base_paths in /etc/st2/st2.conf and git clone my packs into that. I would then do a ‘st2 pack install’ on each pack . . .

Is there a better / easier way? Thanks!

This depends a lot on best practices in your organizations whether you use public or enterprise Github or other source and version control services and software. It also depends how your organization deploy software into production using puppet, ansible, etc.

You can configure packs_base_paths and you can just use st2ctl reload to load the packs locally. If you are using git repositories, you can use st2 pack install to install from git. Again, this depends on practices in your organization.

For more information on pack development and management, please review the docs at Packs — StackStorm 3.1.0 documentation.