Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ endif
all: build

build:
# Permissions workaround for global `npm install`
chown -R root:root /root/st2chatops/
npm install --production
npm cache verify && npm cache clean --force

Expand Down
2 changes: 1 addition & 1 deletion testingenv/bionic/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ case "$operation" in
pull)
;;
test)
dpkg -i $ARTIFACT_DIR/*.deb
apt-get install -y $ARTIFACT_DIR/*.deb
cd /opt/stackstorm/chatops
sed -i.bak -r "s/^# (export HUBOT_ADAPTER=slack)/\1/" st2chatops.env
sed -i.bak -r "s/^# (export HUBOT_SLACK_TOKEN.).*/\1$SLACK_TOKEN/" st2chatops.env
Expand Down
2 changes: 1 addition & 1 deletion testingenv/centos6/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ case "$operation" in
pull)
;;
test)
rpm -i $ARTIFACT_DIR/*.rpm
yum install -y $ARTIFACT_DIR/*.rpm
cd /opt/stackstorm/chatops
sed -i.bak -r "s/^# (export HUBOT_ADAPTER=slack)/\1/" st2chatops.env
sed -i.bak -r "s/^# (export HUBOT_SLACK_TOKEN.).*/\1$SLACK_TOKEN/" st2chatops.env
Expand Down
2 changes: 1 addition & 1 deletion testingenv/centos7/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ case "$operation" in
pull)
;;
test)
rpm -i $ARTIFACT_DIR/*.rpm
yum install -y $ARTIFACT_DIR/*.rpm
cd /opt/stackstorm/chatops
sed -i.bak -r "s/^# (export HUBOT_ADAPTER=slack)/\1/" st2chatops.env
sed -i.bak -r "s/^# (export HUBOT_SLACK_TOKEN.).*/\1$SLACK_TOKEN/" st2chatops.env
Expand Down
2 changes: 1 addition & 1 deletion testingenv/trusty/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ case "$operation" in
pull)
;;
test)
dpkg -i $ARTIFACT_DIR/*.deb
apt-get install -y $ARTIFACT_DIR/*.deb
cd /opt/stackstorm/chatops
sed -i.bak -r "s/^# (export HUBOT_ADAPTER=slack)/\1/" st2chatops.env
sed -i.bak -r "s/^# (export HUBOT_SLACK_TOKEN.).*/\1$SLACK_TOKEN/" st2chatops.env
Expand Down
2 changes: 1 addition & 1 deletion testingenv/xenial/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ case "$operation" in
pull)
;;
test)
dpkg -i $ARTIFACT_DIR/*.deb
apt-get install -y $ARTIFACT_DIR/*.deb
cd /opt/stackstorm/chatops
sed -i.bak -r "s/^# (export HUBOT_ADAPTER=slack)/\1/" st2chatops.env
sed -i.bak -r "s/^# (export HUBOT_SLACK_TOKEN.).*/\1$SLACK_TOKEN/" st2chatops.env
Expand Down