Commit Graph

100 Commits

Author SHA1 Message Date
1852e8c439 Revert both commits that remove py-tests
All checks were successful
continuous-integration/drone/push Build is passing
Revert "Remove test dependency too"

This reverts commit db12bb5db1.

Revert "Remove py-tests and pypi to speed up docker validation"

This reverts commit 9aa77b3739.
2020-01-10 16:08:49 -08:00
db12bb5db1 Remove test dependency too
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-01-10 16:07:19 -08:00
8992ac1d33 Add qemu binary download 2020-01-10 16:06:35 -08:00
9aa77b3739 Remove py-tests and pypi to speed up docker validation 2020-01-10 16:06:13 -08:00
67c02a3e6f Reduce piplines in build to reduce parallelism and notifications 2020-01-10 16:01:48 -08:00
c9eaaaa45c Split tox step out of test pipelines 2020-01-10 15:57:08 -08:00
1251532ca6 Fix duplicate step names
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-10 15:37:02 -08:00
874d4ab0aa Again move building docker latest on push to master
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2020-01-10 14:55:13 -08:00
ad4a3770e7 Update build pipeline to notify on docker fail/success
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-10 14:43:05 -08:00
64e6542a93 Bump version of curl
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-10 14:00:18 -08:00
0208858e5e Get back to building latest docker image on pushes to master
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-10 21:35:54 +00:00
580f41e60e Switch from yaml to starlark build configuration
All checks were successful
continuous-integration/drone/push Build is passing
Starlark provides more advanced generation of build pipelines.

https://docs.drone.io/starlark/overview/
2020-01-09 15:08:57 -08:00
5a7adbcff5 Drop Python 3.4 support 2020-01-06 19:15:34 -08:00
eed6262f27 Update run-metrics target to the same as run 2020-01-06 18:47:15 -08:00
0cbdff1b5d Update Dockerfiles to newer (roughly) pinned versions
Some checks failed
continuous-integration/drone/push Build is failing
2019-11-22 14:46:16 -08:00
ad0bcc2b3f Add .mypy_cache to .gitignore
Some checks failed
continuous-integration/drone/push Build is failing
2019-11-21 12:11:26 -08:00
0a70ca768f Improve apk install
Some checks failed
continuous-integration/drone/push Build is failing
Make image more stable and slim by removing cache and pinning versions
2019-10-24 12:12:03 -07:00
IamTheFij
9eef77a457 Add bash syntax highlighting to Readme
Some checks failed
continuous-integration/drone/push Build is failing
No meaningful changes otherwise. :)
2019-08-22 23:01:15 +00:00
f74479c53a Fix Makefile typo
All checks were successful
continuous-integration/drone/push Build is passing
Accidentally referenced arm instead of arm64
2019-08-05 15:53:09 -07:00
03ccef5ae5 Bump version
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2019-08-02 17:35:48 -07:00
0557ab11c2 Fix docker healthcheck again
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-08-02 17:35:13 -07:00
da0c8a0fa9 Bump version to fix Docker
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2019-08-01 14:50:33 -07:00
e3e54c7a0f Update Makefile to make testing runs easier 2019-08-01 14:50:09 -07:00
9a8dbdbfef Roll utils and non-root stuff into main image
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-01 13:59:05 -07:00
e19280151e Update Dockerfile and example Dockerfile
Done to show non-root usage and more inbuilt utilities
2019-08-01 13:54:52 -07:00
8c14c9383e Update travis build
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-07-30 23:12:37 -07:00
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
cc66ab1918 Ignore virtualenv in docker build 2019-07-30 23:08:25 -07:00
2e814dea86 Simplify drone build
Some checks failed
continuous-integration/drone/push Build is failing
2019-07-30 21:34:42 -07:00
4683b3856e Allow building against more Python versions
Some checks failed
continuous-integration/drone/push Build is failing
2019-07-30 21:17:24 -07:00
e8f7ba6801 Update docker scripts to work with a proxy 2019-07-29 15:01:07 -07:00
e5687ed83e Add multi-arch build pipeline
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-06-20 14:16:16 -07:00
3aad68e3f6 Split deploy to new pipeline
Some checks failed
continuous-integration/drone/tag Build is failing
continuous-integration/drone/push Build is passing
Now deploy both to pypi and docker hub after all tests pass
2019-06-03 15:26:40 -07:00
5839db14b1 Set description content type
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2019-06-03 14:18:08 -07:00
3e3d87ac1a Fix secrets again
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is failing
2019-06-03 14:12:56 -07:00
67153df889 Fix secret management
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2019-06-03 13:59:37 -07:00
56f2040536 Fix drone deploy
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2019-06-03 12:55:59 -07:00
8579c416a2 Release v1.0.0
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-03 12:18:35 -07:00
5bd745ffe7 Update documentation in prep for stable release
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-03 12:17:09 -07:00
edb3bdb44a Allow disabling repeated alerts
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-03 12:15:38 -07:00
05f630d08a Add log level control using command line arguments
All checks were successful
continuous-integration/drone/push Build is passing
Default  ERROR
    -v       WARNING
    -vv      INFO
    -vvv     DEBUG
2019-06-03 11:47:20 -07:00
8169b4257a Fix drone and travis builds
All checks were successful
continuous-integration/drone/push Build is passing
* 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
0ea55fa7b3 Add docker check example
Some checks failed
continuous-integration/drone/push Build is failing
2019-05-31 16:43:14 -07:00
6d93aed7f1 Add example exporting metrics to Prometheus 2019-05-31 16:43:14 -07:00
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
7ea24b8a89 Simplify sample config to work around bug in yamlenv
All checks were successful
continuous-integration/drone/push Build is passing
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
58b7cd2843 Bump version to v0.3.1 2018-10-29 12:34:39 -07:00
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
c7081a0d32 Add a simple integration test 2018-07-15 19:12:04 -07:00
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