Skip to content

EncoreTechnologies/ci-stackstorm

Folders and files

NameName
Last commit message
Last commit date
Jun 26, 2018
Sep 10, 2021
Sep 21, 2021
Nov 3, 2020
Jun 1, 2017
Aug 7, 2023
Sep 10, 2018
Aug 7, 2023
Aug 7, 2023
Jun 2, 2017

Repository files navigation

ci-stackstorm

Continuous Integration Pipeline for StackStorm packs

Quick Start

To add testing capabilities to your StackStorm pack simply:

git clone https://github.com/EncoreTechnologies/ci-stackstorm.git
cp ci-stackstorm/pack/Makefile /path/to/my/stackstorm/pack/
cd /path/to/my/stackstorm/pack/
make

Details

This repo provides testing in the form of a Makefile.

The Makefile does all of the following when you run the make command:

  • Cloning this repo into the ci/ folder within your pack
  • Creating a virtualenv in ci/virtualenv (note: virtualenv must be installed)
  • The virtualenv automatically installs all modules in requirements.txt, requirements-dev.txt, and requirements-pack-tests.txt.
  • Clones the StackStorm repo into /tmp/st2
  • Executes commands from the StackStorm repo to validate YAML and JSON files along with execute unit tests

Tips/Tricks

To get a list of available make targets run: make list

To clean up all of the data used by this CI system, simply run make clean