-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathst2chatops.env
More file actions
58 lines (43 loc) · 2.2 KB
/
st2chatops.env
File metadata and controls
58 lines (43 loc) · 2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
export ST2_HOSTNAME="${ST2_HOSTNAME:-localhost}"
#####################################################################
# Hubot settings
# set if you don’t have a valid SSL certificate.
export NODE_TLS_REJECT_UNAUTHORIZED="${NODE_TLS_REJECT_UNAUTHORIZED:-0}"
# Hubot port - must be accessible from StackStorm
export EXPRESS_PORT="${EXPRESS_PORT:-8081}"
# Log level
export HUBOT_LOG_LEVEL="${HUBOT_LOG_LEVEL:-debug}"
# Bot name
export HUBOT_NAME="${HUBOT_NAME:-hubot}"
export HUBOT_ALIAS="${HUBOT_ALIAS:-!}"
######################################################################
# StackStorm settings
# StackStorm API endpoint.
export ST2_API_URL="${ST2_API_URL:-https://${ST2_HOSTNAME}/api}"
# StackStorm auth endpoint.
export ST2_AUTH_URL="${ST2_AUTH_URL:-https://${ST2_HOSTNAME}/auth}"
# StackStorm stream endpoint.
export ST2_STREAM_URL="${ST2_STREAM_URL:-https://${ST2_HOSTNAME}/stream}"
# StackStorm API key
export ST2_API_KEY="${ST2_API_KEY}"
# ST2 credentials. Fill in to use any stackstorm account.
# ST2 username:password pair will result in authentication token re-generation.
# (Uncomment ST2_AUTH_URL, ST2_AUTH_USERNAME, ST2_AUTH_PASSWORD and comment out ST2_API_KEY)
export ST2_AUTH_USERNAME="${ST2_AUTH_USERNAME:-st2admin}"
export ST2_AUTH_PASSWORD="${ST2_AUTH_PASSWORD:-testp}"
# Public URL of StackStorm instance: used it to offer links to execution details in a chat.
export ST2_WEBUI_URL="${ST2_WEBUI_URL:-https://${ST2_HOSTNAME}}"
######################################################################
# Chat service adapter settings
# Currently supported:
# - slack
# Chatops Documentation:
# https://docs.stackstorm.com/chatops/chatops.html
# Slack App YAML settings (https://github.com/hubot-friends/hubot-slack?tab=readme-ov-file#sample-yaml)
# Confirm your existing Modern Slack App or a newly created Modern slack app has the above permissions
# export HUBOT_ADAPTER=slack
# Obtain the Bot user OAuth Token on the Oauth & Permissions section
# User OAuth Access Token" in the "OAuth & Permissions" section.
# export HUBOT_SLACK_BOT_TOKEN=xoxb-CHANGE-ME-PLEASE
# Obtain a App-Level Token on the Basic Information section, scopes required: connections:write
# export HUBOT_SLACK_APP_TOKEN=xapp-CHANGE-ME-PLEASE