Commit Graph

83 Commits

Author SHA1 Message Date
IamTheFij 9eef77a457 Add bash syntax highlighting to Readme
continuous-integration/drone/push Build is failing Details
No meaningful changes otherwise. :)
2019-08-22 23:01:15 +00:00
IamTheFij f74479c53a Fix Makefile typo
continuous-integration/drone/push Build is passing Details
Accidentally referenced arm instead of arm64
2019-08-05 15:53:09 -07:00
IamTheFij 03ccef5ae5 Bump version
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/tag Build is passing Details
2019-08-02 17:35:48 -07:00
IamTheFij 0557ab11c2 Fix docker healthcheck again
continuous-integration/drone/push Build was killed Details
2019-08-02 17:35:13 -07:00
IamTheFij da0c8a0fa9 Bump version to fix Docker
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/tag Build is passing Details
2019-08-01 14:50:33 -07:00
IamTheFij e3e54c7a0f Update Makefile to make testing runs easier 2019-08-01 14:50:09 -07:00
IamTheFij 9a8dbdbfef Roll utils and non-root stuff into main image
continuous-integration/drone/push Build is passing Details
2019-08-01 13:59:05 -07:00
IamTheFij e19280151e Update Dockerfile and example Dockerfile
Done to show non-root usage and more inbuilt utilities
2019-08-01 13:54:52 -07:00
IamTheFij 8c14c9383e Update travis build
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2019-07-30 23:12:37 -07:00
IamTheFij 0db1f88330 Try to fix py34 and py35 builds
Fixing this by switching to tox outside the venv

Also adding more python versions
2019-07-30 23:12:37 -07:00
IamTheFij cc66ab1918 Ignore virtualenv in docker build 2019-07-30 23:08:25 -07:00
IamTheFij 2e814dea86 Simplify drone build
continuous-integration/drone/push Build is failing Details
2019-07-30 21:34:42 -07:00
IamTheFij 4683b3856e Allow building against more Python versions
continuous-integration/drone/push Build is failing Details
2019-07-30 21:17:24 -07:00
IamTheFij e8f7ba6801 Update docker scripts to work with a proxy 2019-07-29 15:01:07 -07:00
IamTheFij e5687ed83e Add multi-arch build pipeline
continuous-integration/drone/push Build was killed Details
2019-06-20 14:16:16 -07:00
IamTheFij 3aad68e3f6 Split deploy to new pipeline
continuous-integration/drone/tag Build is failing Details
continuous-integration/drone/push Build is passing Details
Now deploy both to pypi and docker hub after all tests pass
2019-06-03 15:26:40 -07:00
IamTheFij 5839db14b1 Set description content type
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/tag Build is passing Details
2019-06-03 14:18:08 -07:00
IamTheFij 3e3d87ac1a Fix secrets again
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/tag Build is failing Details
2019-06-03 14:12:56 -07:00
IamTheFij 67153df889 Fix secret management
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is failing Details
2019-06-03 13:59:37 -07:00
IamTheFij 56f2040536 Fix drone deploy
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is failing Details
2019-06-03 12:55:59 -07:00
IamTheFij 8579c416a2 Release v1.0.0
continuous-integration/drone/push Build is passing Details
2019-06-03 12:18:35 -07:00
IamTheFij 5bd745ffe7 Update documentation in prep for stable release
continuous-integration/drone/push Build is passing Details
2019-06-03 12:17:09 -07:00
IamTheFij edb3bdb44a Allow disabling repeated alerts
continuous-integration/drone/push Build is passing Details
2019-06-03 12:15:38 -07:00
IamTheFij 05f630d08a Add log level control using command line arguments
continuous-integration/drone/push Build is passing Details
Default  ERROR
    -v       WARNING
    -vv      INFO
    -vvv     DEBUG
2019-06-03 11:47:20 -07:00
IamTheFij 8169b4257a Fix drone and travis builds
continuous-integration/drone/push Build is passing Details
* Correct env variable name in minitor_test
* Adding more test environments, skipping python 3.5
because lack of assert_called_once support
* Using default travis python environments
2019-06-03 10:56:42 -07:00
IamTheFij 0ea55fa7b3 Add docker check example
continuous-integration/drone/push Build is failing Details
2019-05-31 16:43:14 -07:00
IamTheFij 6d93aed7f1 Add example exporting metrics to Prometheus 2019-05-31 16:43:14 -07:00
IamTheFij 5783190f58 Add new scripts for checking status of Docker services
These are bundled within the Docker image to make it possible to alert
on status of other Docker containers.

Will potentially include other sets of "standard" scripts for
convenience sake.
2019-05-31 16:43:14 -07:00
IamTheFij 7ea24b8a89 Simplify sample config to work around bug in yamlenv
continuous-integration/drone/push Build is passing Details
It looks like yamlenv doesn't parse quite correctly and seems to think
the `:` removed in this diff is defining a new object.

I believe it has something to do with a change in yamlenv 0.6.0 to allow
interpolating env variables as yaml literals.

dcb1223159
2019-03-10 16:19:26 -07:00
IamTheFij 58b7cd2843 Bump version to v0.3.1 2018-10-29 12:34:39 -07:00
IamTheFij 30a55b4ab2 Fix metrics exporting
Metrics got broken when counters were moved to be initialized below the monitor creation
2018-10-29 11:58:14 -07:00
IamTheFij c7081a0d32 Add a simple integration test 2018-07-15 19:12:04 -07:00
IamTheFij 0c0a0d9085 Add new Prometheus metrics endpoint
Doubles as a health check endpoint!

Change some methods to private and rearrange them
2018-07-15 19:12:04 -07:00
IamTheFij 4f147b2e59 Clean up sample-config.yml 2018-07-15 17:30:22 -07:00
IamTheFij 25121bc3a0 Change warn to warning 2018-07-15 17:05:20 -07:00
IamTheFij e20e75b2bf Bump version to v0.2.1 2018-04-18 21:52:12 -07:00
IamTheFij 713abaa736 Fixed bug that was introduced after adding new alert types
This is why I need integration tests...
2018-04-18 21:51:39 -07:00
IamTheFij 26b17a4019 Use SOMETAG rather than from git, if available 2018-04-18 17:36:39 -07:00
IamTheFij b8d86917e1 Bump version to v0.2.0 2018-04-18 17:17:12 -07:00
IamTheFij 16be263093 Add the ability to include last command output in the alert
Update readme to document the new templating vars
2018-04-18 17:16:26 -07:00
IamTheFij 34c5ab47ff Add notify step to Drone builds 2018-04-18 10:14:29 -07:00
IamTheFij e68e3e10a0 Bump version and tell Drone to deploy 2018-04-18 09:57:36 -07:00
IamTheFij 01905c895e Merge branch 'dockerfile' 2018-04-18 09:52:12 -07:00
IamTheFij f4952b61d1 Update Dockerfile to build the current working copy
This will allow `latest` to be `master` and allow git tags to dictate
tagged versions on Docker.

Also update readme to describe how it's now building
2018-04-18 09:51:32 -07:00
Kevin Eaton dd938835c8 Added basic docker support 2018-04-17 20:33:27 -07:00
IamTheFij aad28976e2 Add alerting for recovered monitors
Based on the idea from SeaLife, adds alerts for when a monitor comes out
of an alerting down state. Also includes a bunch of unit tests to cover
the new code.
2018-04-14 17:27:37 -07:00
IamTheFij 4fe8020a77 Allow opening coverage report on Linux systems too 2018-04-14 17:26:58 -07:00
IamTheFij 09fc0f6156 Use new make target for drone 2018-04-13 22:02:46 -07:00
IamTheFij 27394535ec Use new make target for travis 2018-04-13 22:02:46 -07:00
IamTheFij c66e15dd4f Speed up builds and add pypi step 2018-04-13 22:02:46 -07:00