0
0
Fork 0
mirror of https://github.com/crazy-max/diun.git synced 2025-03-17 04:42:39 +00:00
Commit graph

35 commits

Author SHA1 Message Date
CrazyMax
8fb9b975b8
fix lint issues 2024-12-15 00:10:58 +01:00
CrazyMax
58b22a83bd
chore: fix deprecated docker reference and container list opts 2024-06-10 10:07:44 +02:00
Ian Fijolek
9826638a26 Parallelize more slow running tests 2023-10-12 15:37:27 -07:00
CrazyMax
a0e14e2ca6
fix non-deterministic test 2023-09-24 22:45:57 +02:00
CrazyMax
31bc94485d
fix: do not set Image receiver as pointer
We can't directly call pointer receiver methods like
Image.String() in go text/template.
2023-09-23 21:11:55 +02:00
CrazyMax
522c8e9448
handle analysis of image with tag and digest 2023-09-16 18:41:00 +02:00
CrazyMax
061c976fe9
image:tag@digest format support 2023-09-16 16:59:00 +02:00
CrazyMax
24bc0548e0
chore: use typed error and fix missing wraps 2023-09-16 11:47:53 +02:00
CrazyMax
20681d68d1
chore: move tags_sort code to tags file 2023-09-16 11:47:53 +02:00
CrazyMax
49b8852a04
test: use white-box testing 2023-09-16 11:47:52 +02:00
CrazyMax
bc5cdf7aa1
fix: set Image receiver as pointer 2023-09-16 11:47:52 +02:00
Ian Fijolek
ba3dd0d8ef Run slow tests in parallel to improve overall test time 2023-08-09 14:13:03 -04:00
Ian Fijolek
e974fbbc2c Add sorting for prefixed semver
Strips non-numeric prefixes when checking semver. This also adds a
secondary layer to the sort whereby identical semvers are sorted
relative to eachother lexigraphically.

This will ensure a more stable sort for non-versioned tags (eg. `latest`
or `edge`) as well as multiple variants tagged with the same number.
(eg `1.0.0-alpine` compared to `1.0.0-ubuntu`).

Fixes 
2023-01-13 15:03:24 -08:00
CrazyMax
857e462090
Tags sorting support ()
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-17 13:47:37 +02:00
CrazyMax
d75d05ca89
Handle registry auth config ()
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 ()
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-17 15:20:32 +02:00
CrazyMax
8855fbe228
Save raw manifest in db ()
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-27 17:10:10 +02:00
CrazyMax
f7c14b4805
Fix registry timeout context ()
Image closer not required while fetching tags
2020-11-14 16:41:59 +01:00
CrazyMax
b1953afdae
Check digest from HEAD request ()
* 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
a186194793
Add Hublink for GitHub Container Registry ()
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-07 19:27:38 +00:00
CrazyMax
c0e3f7e85f
Automatically determine registry options based on image name ()
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 () 2020-06-20 02:50:18 +02:00
CrazyMax
f800ae0d7a Split tests 2020-06-09 01:06:27 +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 () 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 ()
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 ()
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
a62658e266
Fix package version 2020-05-27 21:38:07 +02:00
CrazyMax
9c797f1616
Review of platform detection ()
* 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
08cd3d90b8
Add Rocket.Chat notifier () 2020-03-01 17:09:22 +01:00
CrazyMax
bac975009a
Bump containers/image v5 () 2020-02-17 19:29:38 +01:00
CrazyMax
fbfc7a2690
Move registry client to a dedicated package 2020-01-19 22:47:18 +01: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
6cb9c6bb2c
Increase default timeout 2019-06-04 23:20:46 +02:00
CrazyMax
8513d49cc9
Initial commit 2019-06-04 22:11:54 +02:00