Skip to content

Instantly share code, notes, and snippets.

@blag
blag / test-chatops.sh
Last active December 12, 2018 22:07
Bash script to test st2chatops
#!/bin/bash -e
# This script runs through the chatops introduction in the StackStorm documentation.
# Dependencies:
# * slackcat
# - from https://github.com/rlister/slackcat
# - install with `sudo gem install slackcat`
# - ensure that it's in your PATH when you run with `sudo`
vagrant@st2vagrant:~$ sudo bash
root@st2vagrant:~# export ST2_AUTH_TOKEN=$(st2 auth -t st2admin)
Password:
root@st2vagrant:~# st2-self-check
~ ~
Cloning st2tests (branch=master) in /home/vagrant.
Cloning into 'st2tests'...
remote: Counting objects: 151, done.
remote: Compressing objects: 100% (122/122), done.
remote: Total 151 (delta 28), reused 90 (delta 13), pack-reused 0