a9fde96027
Invert the usual CGO_ENABLED behavior to default to off.
2021-10-27 04:42:36 +00:00
70aef8f20c
Merge pull request #41 from bgp/cleanup
...
Refresh and cleanup junk
2021-10-26 15:30:45 +01:00
614d6e027d
Merge pull request #40 from bgp/crash
...
Crash
2021-10-26 15:25:52 +01:00
76eac7450a
Refresh faster when the VRPs weren't downloaded on init
2021-10-26 14:14:55 +00:00
6332b3ee71
Fix the crash in #39
2021-10-26 13:37:56 +00:00
cc539c43a5
Trim paths. Don't need all that cruft.
2021-10-26 11:34:39 +00:00
e5d3cf3d07
Update dependencies
2021-10-26 11:15:29 +00:00
683f7f2369
Merge pull request #37 from mellowdrifter/master
...
Don't abuse main() with too much crap. Just let it be an entrypoint.
2021-10-26 06:42:17 +00:00
c55254b8ff
Controversial
2021-10-25 21:26:49 -04:00
1994189e1b
Merge pull request #36 from mellowdrifter/master
...
More test code
2021-10-26 02:04:02 +01:00
783f2eaf9f
More test code
2021-10-25 20:52:41 -04:00
fb912e5c18
Merge pull request #35 from bgp/feature/add-codeql-actions
...
Add codeql actions
2021-10-25 20:07:31 +01:00
041a1c52f3
Remove ineffectual assign
2021-10-25 20:21:07 +02:00
e5c5a99a0c
check for err
2021-10-25 20:19:28 +02:00
0a9217aaad
Use local variable for password, not argument
...
Use the local variable (possibly containing a password from the
environment) for the SSH password.
2021-10-25 20:16:16 +02:00
a8759efa62
add codeql scanning
2021-10-25 19:54:48 +02:00
fa2fb297c6
golang 1.16
2021-10-25 19:54:15 +02:00
f7828abc92
Merge pull request #28 from bgp/feature/doc-rtrmon-a-bit
...
Document rtrmon a bit
2021-10-25 18:51:57 +01:00
bd1a7d232f
Document rtrmon behaviour and metrics
...
* Add how to run rtrmon in the README
* Basic explanation of rtrmon metrics in the README
2021-10-25 19:45:16 +02:00
ec86a40d5b
Merge pull request #34 from mellowdrifter/master
...
Move to TDD for clients
2021-10-25 00:39:54 +01:00
968c0d5db1
Move to TDD for clients
2021-10-24 19:30:55 -04:00
f86223c789
Merge pull request #33 from mellowdrifter/master
...
Create outline for client testing
2021-10-24 20:42:27 +01:00
7b8d456a55
Merge branch 'master' of github.com:mellowdrifter/stayrtr
2021-10-24 15:26:51 -04:00
fe8a0f4632
initial client test set up
2021-10-24 15:26:47 -04:00
b25915a1d6
Merge pull request #32 from mellowdrifter/master
...
ifs to switch
2021-10-24 16:49:33 +02:00
e4acfc2178
ifs to switch
2021-10-24 10:46:03 -04:00
9f1bb9df52
Merge pull request #31 from mellowdrifter/master
...
More cleanup
2021-10-24 16:41:40 +02:00
a72ccbe4ad
More cleanup
2021-10-24 10:37:42 -04:00
02c7a3fbc2
Merge pull request #30 from mellowdrifter/master
...
simplifycompositelit: No need to specify type in slice
2021-10-24 16:35:51 +02:00
1262f5f0ca
simplifycompositelit: No need to specify type in slice
2021-10-24 10:30:29 -04:00
876179b0d9
Use specific prometheus exporter port for rtrmon
2021-10-24 14:24:08 +00:00
580a914a01
Switch to stayrtr specific Prometheus port
2021-10-24 14:22:45 +00:00
c00dd46be5
Merge pull request #29 from mellowdrifter/master
...
Bump to 1.16 and remove deprecated package
2021-10-24 16:20:20 +02:00
ef1da161e0
Bump to 1.16 and remove deprecated package
2021-10-24 10:04:09 -04:00
afebc1f7df
Add logo
...
Animated artwork by Natasha Allegri
2021-10-24 13:46:24 +00:00
3efd336817
Fix Docker push of shortened SHA
2021-10-20 09:13:10 +00:00
6d1c068d5a
Docker cleanup
...
* Reduce all Dockerfiles to a single multi-staged one
* Updates GitHub Actions and also push the current git shortened SHA
2021-10-20 09:13:10 +00:00
305c0c612f
Update logrus to a current version.
...
This removes yet another outdated golang.org/x/crypto dependency.
2021-10-20 09:13:10 +00:00
49ffc93baa
Update to a more recent version of golang.org/x/crypto
...
With this a more recent golang.org/x/sys is picked up which adds support for
OpenBSD-aarch64.
2021-10-20 09:13:10 +00:00
5f34f8c4f3
Abort when positional arguments are provided
2021-10-20 09:13:10 +00:00
03dff2d962
Refactor to update state when cache or SLURM changes
...
Before this commit the new stayrtr state was only recalculated
when the validated cache changed.
This commit refactors the update loop and separates the actual
update from pulling the updated cache. The update is triggered
when the SLURM file changes _or_ when the validated cache changes.
Should fix https://github.com/cloudflare/gortr/issues/95 and make
further changes that trigger an update when an update in the cache
has expired easier.
2021-10-20 09:13:10 +00:00
4a9a490985
Clarify how boolean options are disabled in the help text.
...
If they are disabled the wrong way (e.g. `-log.verbose false -loglevel debug`)
some of the arguments are eaten and later arguments no longer apply.
2021-10-20 09:13:10 +00:00
e9eba5e63f
Add length checks
2021-10-20 09:13:10 +00:00
2305bc7144
Shorten error message
2021-10-20 09:13:10 +00:00
eaa1f0bee2
Convert a number of places from string to int
2021-10-20 09:13:10 +00:00
bcbffb50bc
Add more test data
2021-10-20 09:13:10 +00:00
07b91f052f
Visibility thresholds can be overridden via args
...
* Visibility thresholds can be overridden via command line arguments.
* Format the default thresholds in help output
2021-10-20 09:13:10 +00:00
a29da795ac
Track objects that differ for a longer period separately
...
* Track when the VRP was first seen for each VRP
* Add a metric which tracks how many objects that were first seen
[duration] ago are not present in the other endpoint.
* Use current naming convention for the metric to be consistent (i.e. no
prefix with application name).
2021-10-20 09:13:10 +00:00
36d242c3ac
Add GitHub actions build for docker image
...
* Add GitHub Actions build for docker image on docker hub.
* Creates `rpki/stayrtr`, `rpki/rtrmon`, and `rpki/rtrdump` images
(not all repositories exist at the moment).
2021-10-20 09:13:10 +00:00
38d058e133
more cleanup
2021-10-20 09:13:10 +00:00