70 Commits

Author SHA1 Message Date
CrazyMax
ed706b60ad switch to go.podman.io/image/v5 2025-09-13 19:47:16 +02:00
CrazyMax
288d3395c3 Add TLS config options for notifiers using HTTP client 2025-08-31 13:49:13 +02:00
CrazyMax
0950570ff7 lint: fix issues 2025-08-03 20:18:42 +02:00
CrazyMax
528d96d417 lint: fix deprecated 2025-08-03 17:07:51 +02:00
CrazyMax
f0b4c3f2a4 chore(deps): bump github.com/moby/buildkit to 0.17.3 2024-12-19 17:41:44 +01:00
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 #758
2023-01-13 15:03:24 -08: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
848a9a08ac Move syscall to golang.org/x/sys (#525)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-12-26 03:59:19 +01:00
CrazyMax
82d056d3ab Move from io/ioutil to os package (#524)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-12-26 03:59:05 +01:00
CrazyMax
cb5803ac9c Fix Dockerfile parser (#459)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-08-19 01:05:01 +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
8855fbe228 Save raw manifest in db (#391)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-27 17:10: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
0438ca485f Add profiler flag (#336)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-25 18:04:07 +02:00
CrazyMax
9b4e62474b Handle digest based image reference (#335)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-25 00:28:20 +02:00
CrazyMax
cd65887ad0 Avoid duplicated notifications with Kubernetes DaemonSet (#252)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-01-04 22:35:27 +00:00
CrazyMax
f7c14b4805 Fix registry timeout context (#221)
Image closer not required while fetching tags
2020-11-14 16:41:59 +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
a186194793 Add Hublink for GitHub Container Registry (#211)
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 (#103)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-22 00:19:59 +00:00
CrazyMax
f521384ee1 Skip dangling images (#98) 2020-06-20 03:48:38 +02:00
CrazyMax
9146b78111 More explicit massage if manifest not found (#94) 2020-06-20 02:50:18 +02:00
CrazyMax
4da907ba7a Remove 2020-06-17 01:03:09 +00:00
CrazyMax
dc5949819b Allow to define namespaces for Kubernetes
Use annotations instead of labels for Kubernetes
Add Kubernetes provider doc
2020-06-17 01:03:09 +00:00
CrazyMax
603f5a535a Kubernetes provider 2020-06-17 01:03:09 +00: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 (#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
56d110bdec Docker API version negotiation (#29) 2020-06-07 21:52:08 +02:00
CrazyMax
a62658e266 Fix package version 2020-05-27 21:38:07 +02:00
CrazyMax
a6a231ac06 Remove support of multi Docker and Swarm providers 2020-05-25 23:20:30 +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
08cd3d90b8 Add Rocket.Chat notifier (#44) 2020-03-01 17:09:22 +01:00
CrazyMax
bac975009a Bump containers/image v5 (#35) 2020-02-17 19:29:38 +01:00
CrazyMax
b22766c1dd Remove for now 2020-01-19 22:51:05 +01:00