CrazyMax
ed706b60ad
switch to go.podman.io/image/v5
2025-09-13 19:47:16 +02:00
CrazyMax
ce62dfd722
switch from durafmt to github.com/dromara/carbon
2024-12-21 00:26:14 +01:00
CrazyMax
a5444ad6a1
chore(deps): bump dario.cat/mergo to 1.0.1
2024-12-15 15:41:18 +01:00
CrazyMax
b2a19c457c
move imageDefaults from watch to defaults in config root
2023-09-23 13:49:15 +02:00
CrazyMax
b9615bf2db
fix defaults not handled by yaml configuration
2023-09-23 13:49:15 +02:00
CrazyMax
522c8e9448
handle analysis of image with tag and digest
2023-09-16 18:41:00 +02:00
CrazyMax
24bc0548e0
chore: use typed error and fix missing wraps
2023-09-16 11:47:53 +02:00
Ian Fijolek
60ddac4a59
Global defaults for image configs
...
Allows setting of image configs at a global level to act as default
values.
This required a change in the model.Image struct due to a bool field not
having a third, unset state. The remedy is to unmarshal into a temporary
data structure to detect the presents of a field value and then use that
to determine if the default value should be used.
Fixes #491
2023-09-12 12:10:10 -07:00
CrazyMax
780f3fb81f
runOnStartup watch option
2023-06-12 00:13:18 +02:00
CrazyMax
88426efaa1
Align job iteration logic
2022-12-29 11:50:09 +01:00
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
CrazyMax
00edf2c7d9
Fix panics when parsing notification templates
2022-12-28 03:07:22 +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
c89e54888e
Allow customizing the hub link ( #648 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-07-17 15:56:06 +02:00
CrazyMax
190578f612
Use OCI image.url label to override hub link ( #646 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-07-17 14:55:14 +02:00
CrazyMax
857e462090
Tags sorting support ( #645 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-07-17 13:47:37 +02:00
CrazyMax
fc13b8c22c
Allow to choose status to be notified ( #475 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-08-30 14:15:59 +02: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
d75d05ca89
Handle registry auth config ( #411 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-06-18 00:12:21 +02:00
CrazyMax
e02d443e8b
Avoid notification for unupdated image ( #406 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-06-17 15:20:32 +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
daeefb16b3
Use digest as comparison footprint ( #269 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-02-08 19:18:30 +00: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
1145bf3dff
Fix duplicated notifications
2020-11-16 18:31:17 +01:00
CrazyMax
b1953afdae
Check digest from HEAD request ( #217 )
...
* Check digest from HEAD request
* Add FAQ note about Docker Hub rate limits
* Compare digest as watch setting
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2020-11-12 23:00:01 +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
c0e3f7e85f
Automatically determine registry options based on image name ( #103 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2020-06-22 00:19:59 +00: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
af23c5898c
Remove "enable" setting for notifiers
2020-05-26 01:13:06 +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
fbfc7a2690
Move registry client to a dedicated package
2020-01-19 22:47:18 +01:00
CrazyMax
a42516fca7
Set user agent for Docker registry client
2020-01-07 09:12:39 +01:00
CrazyMax
7a8b4677fc
Add option to skip notification at the very first analysis of an image ( #10 )
2019-12-22 16:32:27 +01:00
CrazyMax
51c0e3caca
Coding style
2019-12-14 17:45:52 +01:00