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
78879b3fae
chore: fix wording and remove unnecessary comments
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
6a4236c545
chore: make invalid label typed error private
2023-09-16 11:47:53 +02:00
CrazyMax
49b8852a04
test: use white-box testing
2023-09-16 11:47:52 +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
Ian Fijolek
302caf0369
Update nomad provider to use mergo
2023-09-11 16:41:57 -07:00
Ian Fijolek
e7051f2e38
Check Nomad group meta tags
...
This was intended originally and included in the documentation, but missed in
the implementation.
2023-01-11 15:22:20 -08:00
CrazyMax
073e08ee11
Entry metadata field
2022-12-29 11:15:26 +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
857e462090
Tags sorting support ( #645 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-07-17 13:47:37 +02:00
CrazyMax
64cb538dbf
Go 1.18 ( #592 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-04-09 07:57:35 +02: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
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
e235cd27fc
Fix swarm provider ( #351 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-04-30 04:12:13 +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
98e05fc909
Log image validation
2021-01-07 10:50:17 +01: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
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
570775464b
Remove unused
2020-06-17 01:03:09 +00:00
CrazyMax
603f5a535a
Kubernetes provider
2020-06-17 01:03:09 +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
a62658e266
Fix package version
2020-05-27 21:38:07 +02:00
CrazyMax
3577624682
Fix test
2020-05-26 01:14:30 +02:00
CrazyMax
5930a2a1fb
Logging when no image is found
2020-05-25 23:27:30 +02:00
CrazyMax
a6a231ac06
Remove support of multi Docker and Swarm providers
2020-05-25 23:20:30 +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
dc7ca7e59b
Fix service image inspection ( #52 )
2020-03-26 02:11:05 +01:00
CrazyMax
fbfc7a2690
Move registry client to a dedicated package
2020-01-19 22:47:18 +01:00
CrazyMax
01cb602ed2
Skip analysis on locally built image
2019-12-22 19:04:56 +01:00
CrazyMax
51c0e3caca
Coding style
2019-12-14 17:45:52 +01:00
CrazyMax
3dd9d2656b
Use map to declare Docker and Swarm providers
2019-12-14 17:29:26 +01:00
CrazyMax
c60fe06894
Include provider in notifications
2019-12-14 17:13:32 +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
0e393ee980
Fix Docker TLS config
2019-12-14 02:18:42 +01:00
CrazyMax
32438dbb2e
Implement Docker provider ( #3 )
2019-12-13 23:04:02 +01:00