You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
Run pip install cabot-alert-victorops (in Dockerfile instead)
Add cabot_alert_victorops to the installed apps in settings.py (instead: ENV CABOT_PLUGINS_ENABLED=cabot_alert_hipchat,cabot_alert_twilio,cabot_alert_email,cabot_alert_victorops)
Run manage.py syncdb (not necessary, run in run.sh)
Set VICTOROPS_URL and VICTOROPS_API_KEY environment variables (again in Dockerfile)
Restart Cabot (not necessary, is started later anyway)
However, the plugin is never loaded.
Using some very troublesome println-debugging, I managed to figure out that the plugin file is imported, but the class is not registered to AlertPlugin.__subclasses__().
Adding the plugin works flawlessly in the development Vagrant box.
The text was updated successfully, but these errors were encountered:
I was trying to install https://github.com/vikingco/cabot-alert-victorops. I followed the steps outlined in the Readme (adapted to the container):
ENV CABOT_PLUGINS_ENABLED=cabot_alert_hipchat,cabot_alert_twilio,cabot_alert_email,cabot_alert_victorops
)However, the plugin is never loaded.
Using some very troublesome println-debugging, I managed to figure out that the plugin file is imported, but the class is not registered to
AlertPlugin.__subclasses__()
.Adding the plugin works flawlessly in the development Vagrant box.
The text was updated successfully, but these errors were encountered: