Skip to content

Commit

Permalink
Add cloudwatch check plugin to default plugins
Browse files Browse the repository at this point in the history
The cloudwatch check plugin needs django autocomplete light -
eventually we can use this for other plugins too (e.g. getting
the available jenkins jobs for jenkins check)
  • Loading branch information
frankh committed Sep 14, 2017
1 parent ae00284 commit 30451d6
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
master
------

* Add cloudwatch check plugin to dockerfile by default
- Can be enabled by adding "cabot_check_cloudwatch" to CABOT_PLUGINS_ENABLED

Version 0.11.5
--------------

Expand Down
5 changes: 3 additions & 2 deletions cabot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
# Uncomment the next line to enable the admin:
'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
'django_filters',
Expand All @@ -145,6 +143,9 @@
'jsonify',
'cabot.cabotapp',
'rest_framework',
'dal',
'dal_select2',
'django.contrib.admin',
)

AUTH_USER_MODEL = 'auth.User'
Expand Down
2 changes: 2 additions & 0 deletions cabot/templates/base_public.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
<link href="{% static 'arachnys/css/base.less' %}" type="text/less" rel="stylesheet">
<link rel="stylesheet" href="{% static 'arachnys/css/morris.css' %}" type="text/css">
<link rel="stylesheet" href="{% static 'arachnys/css/graph.css' %}" type="text/css">
<link rel="stylesheet" href="{% static 'autocomplete_light/vendor/select2/dist/css/select2.css' %}" type="text/css">
<link rel="stylesheet" href="{% static 'autocomplete_light/select2.css' %}" type="text/css">
{% endcompress %}
<link href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-social/5.1.1/bootstrap-social.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet">
Expand Down
2 changes: 1 addition & 1 deletion cabot/templates/cabotapp/_base_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
</div>
{% endif %}
</div>
{% endfor %}
{% endfor %}
2 changes: 2 additions & 0 deletions cabot/templates/cabotapp/statuscheck_form.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% load static from staticfiles %}

{% block content %}
<div class="row">
Expand Down Expand Up @@ -115,5 +116,6 @@ <h2>{% if form.instance.id %}Edit check{% else %}New check{% endif %}</h2>
$('#graph').hide()

</script>
{{ form.media }}
{% endcompress %}
{% endblock %}
1 change: 1 addition & 0 deletions requirements-plugins.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ cabot_alert_email==1.4.3
cabot_alert_hipchat==2.0.2
cabot_alert_twilio==1.3.1
cabot_alert_slack==0.8.1
cabot_check_cloudwatch==0.1.1
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dj-database-url==0.4.2
Django==1.11
django-appconf==1.0.2
django-auth-ldap==1.2.11
django-autocomplete-light==3.2.10
django-compressor==2.1.1
django-filter==1.0.2
django-jsonify==0.3.0
Expand Down

0 comments on commit 30451d6

Please sign in to comment.