Commit Graph

44 Commits

Author SHA1 Message Date
CrazyMax
073e08ee11 Entry metadata field 2022-12-29 11:15:26 +01:00
CrazyMax
a12d296e6f Jitter watch option 2022-12-28 14:13:47 +01:00
Ian Fijolek
6318e4f069 Add Nomad provider
I modeled it off the Kubernetes provider a bit. It supports setting task
config at group and task levels using services and meta attributes.
2022-12-27 17:35:27 +01:00
CrazyMax
7ee84b3c96 Wrong remaining time displayed (#469)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-08-20 23:03:16 +02:00
CrazyMax
1115234010 Add CLI to interact with Diun through gRPC (#382)
Add simple CLI to interact with Diun through gRPC
Create image and notif proto services
Compile and validate protos through a dedicated Dockerfile and bake target
Implement proto definitions
Move server as `serve` command
New commands `image` and `notif`
Refactor command line usage doc
Better CLI error handling
Tools build constraint to manage tools deps through go modules
Add upgrade notes

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-26 18:18:10 +02:00
CrazyMax
6ac7139ce2 Dockerfile provider (#329)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-29 18:15:29 +02:00
CrazyMax
072e5d6175 Make scheduler optional (#251)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-01-02 15:54:08 +00:00
CrazyMax
9819a73582 Handle exclusions as a distinct status (#248)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-28 21:32:56 +00:00
CrazyMax
3bbe883358 Refactor CI and dev workflow with buildx bake (#247)
* Upload artifacts
* Add image-local target
* Single job for artifacts and image
* Add armv5 artifact

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-26 10:30:46 +00:00
CrazyMax
67071ea11f Use zoneinfo from Go (#202)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-31 23:22:39 +00:00
CrazyMax
0f17ed12c1 Add support for Healthchecks to monitor Diun watcher (#78) 2020-10-13 20:23:05 +00:00
CrazyMax
0d8ad64ce7 Allow to use --test-notif without providers and DB connection (#157 #150) 2020-08-20 00:52:54 +02:00
CrazyMax
9146b78111 More explicit massage if manifest not found (#94) 2020-06-20 02:50:18 +02:00
CrazyMax
603f5a535a Kubernetes provider 2020-06-17 01:03:09 +00:00
CrazyMax
896d4827b4 Add hub link to notifiers
Send message as markdown for Gotify and Telegram notifiers
2020-06-09 01:06:27 +00:00
CrazyMax
6e8b0450ff Add link to respective hub (#40) 2020-06-09 01:06:27 +00:00
CrazyMax
7bff860650 Bump v4 2020-06-07 22:04:31 +02:00
CrazyMax
349917e7e4 Configuration transposed into environment variables (#82)
Configuration file not required anymore
DIUN_DB env var renamed DIUN_DB_PATH
Only accept duration as timeout value (10 becomes 10s)
Add getting started doc
Enhanced documentation
Add note about test notifications (#79)
Improve configuration management
Fix telegram init
All fields in configuration now camelCased
Improve configuration validation
Update doc
Update FAQ

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-07 19:58:49 +00:00
CrazyMax
143a06b3eb Set ants logger 2020-05-27 23:08:39 +02:00
CrazyMax
a62658e266 Fix package version 2020-05-27 21:38:07 +02:00
CrazyMax
42784e6ffe Add test notification flag (#23) (#73)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-05-26 04:55:23 +02:00
CrazyMax
5ca0230562 Move static to file provider (#71) 2020-05-25 14:08:12 +02:00
CrazyMax
9c797f1616 Review of platform detection (#56)
* Leave default image platform empty for static provider (see FAQ doc)
* Handle platform variant
* Add database migration process
* Switch to Open Container Specification labels as label-schema.org ones are deprecated
* Remove unneeded `diun.os` and `diun.arch` docker labels

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-03-31 23:27:10 +02:00
CrazyMax
0710c4cef9 Review user-agent string for some notifications 2020-02-17 22:53:15 +01:00
CrazyMax
a42516fca7 Set user agent for Docker registry client 2020-01-07 09:12:39 +01:00
CrazyMax
c60fe06894 Include provider in notifications 2019-12-14 17:13:32 +01:00
CrazyMax
e7626a94ed Spelling 2019-12-14 16:41:01 +01:00
CrazyMax
722ea2d5e3 Reanme image provider to static 2019-12-14 15:48:37 +01:00
CrazyMax
629f98af4e Implement Swarm provider 2019-12-14 03:55:58 +01:00
CrazyMax
32438dbb2e Implement Docker provider (#3) 2019-12-13 23:04:02 +01:00
CrazyMax
7c2184bfa1 Seconds field optional for schedule 2019-12-10 14:57:01 +01:00
CrazyMax
05465b0bf4 Bump ants to v2 2019-11-04 21:35:38 +01:00
CrazyMax
e9e528222f Worker pool can be full while retrieving tags 2019-07-01 01:56:49 +02:00
CrazyMax
1d1c26e6d8 Fix runtime error 2019-07-01 00:56:23 +02:00
CrazyMax
43beebc3ae Always run on startup 2019-07-01 00:15:06 +02:00
CrazyMax
7b8495e2a8 Display next execution time
Use v3 robfig/cron
2019-07-01 00:11:11 +02:00
CrazyMax
889f595523 Review config file structure and improve worker pool 2019-06-28 17:07:20 +02:00
CrazyMax
76f0c309de Log workerID 2019-06-09 19:56:03 +02:00
CrazyMax
4614a7568d Add worker pool to parallelize analyses 2019-06-09 19:43:48 +02:00
CrazyMax
4742827709 Filter tags before return them 2019-06-08 20:50:01 +02:00
CrazyMax
00ed9d24e2 Add option to set the maximum number of tags to watch for an item if watch_repo is enabled 2019-06-08 19:42:19 +02:00
CrazyMax
5942e39b83 Allow overriding os and architecture when watching
Move insecure_tls and timeout options to registry option
Rename Bolt bucket
Change default schedule
Review registry client
2019-06-08 02:50:46 +02:00
CrazyMax
8ea302f9ae Don't skip repo analysis if default tag not found 2019-06-05 00:19:38 +02:00
CrazyMax
8513d49cc9 Initial commit 2019-06-04 22:11:54 +02:00