Commit Graph

77 Commits

Author SHA1 Message Date
0ed96f6c22 Remove prerelease
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-08 18:06:56 -05:00
8c12e80ad2 Try to stop building on pushes to non-master 2021-01-08 18:05:33 -05:00
f6a9199f25 Change exec find
Some checks failed
continuous-integration/drone/push Build is failing
2021-01-08 18:01:58 -05:00
3c2cae3011 Switch to ubuntu
Some checks failed
continuous-integration/drone/push Build is failing
2021-01-08 17:59:28 -05:00
f9c082d30f More debugging
Some checks failed
continuous-integration/drone/push Build is failing
2021-01-08 17:56:30 -05:00
5bb4da6178 More debugging
Some checks failed
continuous-integration/drone/push Build is failing
2021-01-08 17:53:19 -05:00
d810bcb61c Try to fix compress step again
Some checks failed
continuous-integration/drone/push Build is failing
2021-01-08 17:44:52 -05:00
e7353bb8df Try to fix compress step
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2021-01-08 17:38:55 -05:00
06ea8bea30 Add branch name to unstable release 2021-01-08 17:36:24 -05:00
2e5ab23bd1 Add darwin releases
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-01-08 17:33:27 -05:00
aa741eb49e Make check step faster
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2021-01-08 17:31:56 -05:00
96c9b7d74c Add prereleases
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2021-01-08 17:29:57 -05:00
31336280e6 Add release uploads
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-08 17:21:02 -05:00
a1b906b94a Update for go 1.15 2020-11-16 15:56:31 -08:00
0a5be250b5 Scripts: Add echoing log lines to helper scripts
Rather than only returning the status of whether or not a container is
healhthy, the helper scripts will now optionally echo some of the latest
log lines.
2020-11-16 15:52:21 -08:00
88f77aa27c Fix Makefile comment 2020-11-16 15:51:41 -08:00
67c2375bba Remove docker linting for now
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Drone check doesn't pass. Need to install docker there
2020-07-14 17:29:54 -07:00
aad9eaa32f Update exported status metric to properly reflect alerting status of a monitor
Some checks failed
continuous-integration/drone/push Build is failing
It was using the result of the individual check and not the monitor as a whole
2020-07-14 17:09:56 -07:00
5dc5ba5257 Add docker linting 2020-07-14 17:08:48 -07:00
4aff294739 Set overrided version in drone config
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-07 12:15:53 -07:00
0684b15a44 Update logic for setting version
All checks were successful
continuous-integration/drone/push Build is passing
I noticed that versions were not being properly dervied from the git
tags. This fixes that in a simpler way by allowing git to describe the
current commit with tags, commits, shas, and a dirty maker.
2020-07-07 10:51:13 -07:00
d3826dacde Update drone to use new linux only target
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-06 20:33:02 -07:00
f8e40c643c Move static binaries to dist/ for easier publishing
All checks were successful
continuous-integration/drone/push Build is passing
This will make it easier to publish them to Github or Gitea releases later.

To avoid making the Makefile super complex, this patch also makes use of
variables to simplify the Makefile as well.
2020-07-06 20:15:21 -07:00
cffbbd734a Make default log alert conditional
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Allow using the default `log` alert for both up and down alerts using
Go's templating conditionals. Following this example can do away with
the need for an up and down version of every alert.
2020-06-19 09:51:42 -07:00
ad6f3be6ec Update README with more detailed running instructions from prior project
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-02-19 22:13:30 -08:00
ae30f477f7 Add ability to customize metrics port 2020-02-19 22:13:07 -08:00
9dcd8ebf12 Update README to correct differences between py and go versions
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-19 21:56:01 -08:00
11af700618 Merge branch 'minitor-py-compat-rebase'
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-02-19 21:21:40 -08:00
00029a6327 Make Python compatability a flag
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-19 17:38:07 -08:00
9c21880efa Add a default log alert 2020-02-19 17:38:07 -08:00
8b0d3b65cf Try to allow parsing of Minitor-py templates
This will make transition easier for an interim period. Will remove at
version 1.0
2020-02-19 17:38:07 -08:00
25c5179d3d Switch to a single key for command and command shell
All checks were successful
continuous-integration/drone/push Build is passing
This makes the configuration more similar to Minitor-py and
docker-compose. If a string is passed, it will be executed in a shell.
If an array is passed, it will be executed in as a command directly.

This breaks compatiblity with previous versions of Minitor-go, but
closer to compatiblity with Minitor-py.
2020-02-19 17:38:06 -08:00
eb7ad0b25e Allow specifying config path as an argument 2020-02-19 17:37:53 -08:00
3b963f420f Remove underscore var name 2020-02-19 17:37:52 -08:00
162e8618cb Revert "Don't copy extra qemu files"
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit 5b69eacdd5.
2020-01-30 11:41:34 -08:00
c67fe1f4c7 Go back to copying all files because drone doesn't like this
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-30 11:35:59 -08:00
5b69eacdd5 Don't copy extra qemu files
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-30 11:30:13 -08:00
d6b979f06e Update README to correct typo and checklist
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-17 15:53:37 -08:00
f4a972747f Add notify after docker builds
All checks were successful
continuous-integration/drone/tag Build is passing
2020-01-10 14:25:02 -08:00
c7c82fabe8 Add qemu binaries
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-10 14:21:48 -08:00
f807caa1ad Add multi-arch builds
Some checks failed
continuous-integration/drone/push Build is failing
2020-01-10 13:58:17 -08:00
3226be69e7 Fix issue with shell commands containing "<>" and unecessary (and poor) escaping
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-07 10:37:53 -08:00
0269ad3512 Add new test for multi-line YAML strings 2020-01-07 10:28:14 -08:00
f6ccd9a3bd Update Dockerfiles to newer (roughly) pinned versions
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-22 14:44:21 -08:00
f463ef27b7 Update Dockerfiles to make this version runnable
Some checks failed
continuous-integration/drone/push Build is failing
Should now have pairity in terms of system utilities and scripts for
checking services
2019-11-22 12:58:26 -08:00
76ae8f3a44 Do build and test in one step
All checks were successful
continuous-integration/drone/push Build is passing
Speed up build time by moving these two tasks to one step so that a new
container doesn't have to be spun up and the cached modules from the
build step are reused in the test step.
2019-11-21 15:40:59 -08:00
9b9f803231 Add pre-commit to the repo
All checks were successful
continuous-integration/drone/push Build is passing
This adds pre-commit which can be used to enforce consistent style
and common errors (like committing large files)
2019-11-21 15:32:57 -08:00
b808df7365 Update README to indicate where to get alert template info
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-20 17:21:48 -08:00
b1422bbec2 Add split out metrics to a new make target
All checks were successful
continuous-integration/drone/push Build is passing
In case trying to run without having an available port to
serve http on
2019-11-15 17:36:10 -08:00
604c27118a Add Docker deploy pipeline
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-15 17:30:29 -08:00