CrazyMax
b9615bf2db
fix defaults not handled by yaml configuration
2023-09-23 13:49:15 +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
CrazyMax
780f3fb81f
runOnStartup watch option
2023-06-12 00:13:18 +02:00
Ben Tea
1da9ec5308
Adds ntfy.sh notification option
2023-02-18 17:29:14 -08:00
CrazyMax
a12d296e6f
Jitter watch option
2022-12-28 14:13:47 +01: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
fc64b132ff
Option to render fields ( #480 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-09-04 18:41:42 +02:00
CrazyMax
21f5d0839a
Allow multi recipients for email notifier ( #463 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-08-19 21:51:52 +02:00
CrazyMax
5d583809a0
Allow to customize notification message ( #415 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-06-25 23:24:02 +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
Francois Blackburn
b912aee5e4
Allow to configure scheme for MQTT broker ( #292 )
2021-03-07 17:05:11 +01:00
CrazyMax
dc1216c221
Add Pushover notification ( #254 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2021-01-04 21:29:48 +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
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
dependabot[bot]
5352067867
Bump github.com/crazy-max/gonfig from 0.3.0 to 0.4.0 ( #214 )
...
* Bump github.com/crazy-max/gonfig from 0.3.0 to 0.4.0
Bumps [github.com/crazy-max/gonfig](https://github.com/crazy-max/gonfig ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/crazy-max/gonfig/releases )
- [Changelog](https://github.com/crazy-max/gonfig/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crazy-max/gonfig/compare/v0.3.0...v0.4.0 )
Signed-off-by: dependabot[bot] <support@github.com >
* Fix test
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2020-11-09 12:31:04 +00:00
CrazyMax
5839ac9127
Fix doc and coding style for MQTT notifier
2020-11-02 00:25:20 +01:00
CrazyMax
8fa136dea1
Update tests
2020-10-13 22:47:28 +02:00
CrazyMax
0f17ed12c1
Add support for Healthchecks to monitor Diun watcher ( #78 )
2020-10-13 20:23:05 +00:00
CrazyMax
1c917d105f
Use a list of users or roles to mention for Discord notifier ( #188 )
2020-10-09 16:58:12 +02:00
CrazyMax
b57d49dae2
Add option to mention specific user for Discord notifier ( #188 )
2020-10-07 22:40:46 +02:00
CrazyMax
a82cef7065
Set gomail.Dialer LocalName
2020-08-28 23:25:32 +02:00
CrazyMax
b0f4f42213
Allow to set the hostname sent to the SMTP server with the HELO command for mail notification ( #165 )
2020-08-28 22:01:46 +02:00
CrazyMax
0b0018743f
Fix tests
2020-08-20 01:11:15 +02:00
CrazyMax
267e92aa79
Fix test
2020-08-08 12:40:51 +02:00
CrazyMax
b9c35e369f
Add Matrix notification ( #136 )
...
* Add Matrix notification (#124 )
* Fix docs
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2020-07-29 19:29:13 +00:00
CrazyMax
484e7dbc7f
Switch to gonfig
2020-07-16 22:16:55 +02:00
CrazyMax
d06ec05c1c
Discord notif ( #111 )
...
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2020-06-26 16:06:47 +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
603f5a535a
Kubernetes provider
2020-06-17 01:03:09 +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
4a4a4c1644
Add script notification ( #75 )
...
* Add script notification (#53 )
* Fix SysProcAttr
* Fix build constraint
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2020-05-26 22:37:20 +02:00
Marcelo Castagna
a726851a29
Teams Notification ( #72 )
...
Co-authored-by: Okan Celik <okan.celik@mailbox.org >
2020-05-26 16:40:29 +02:00
CrazyMax
af23c5898c
Remove "enable" setting for notifiers
2020-05-26 01:13:06 +02:00
CrazyMax
a6a231ac06
Remove support of multi Docker and Swarm providers
2020-05-25 23:20:30 +02:00
Marcelo Castagna
a10464ebd4
Add Amqp notification client ( #63 )
2020-05-25 17:27:12 +02:00
CrazyMax
5ca0230562
Move static to file provider ( #71 )
2020-05-25 14:08:12 +02:00
CrazyMax
ab56764464
Switch to kong command-line parser ( #66 )
...
* Update workflows
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2020-05-08 19:30:56 +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
f8d88e3893
Add Gotify notification client ( #36 )
...
Co-authored-by: Paul Götzinger <paul70079@gmail.com >
2020-02-17 22:39:43 +01:00
Dan Nixon
af36d86d82
Add Telegram as a notification destination ( #30 )
...
Allows notifications to be sent via a Telegram bot to a set of pre
defined chat IDs.
Messages are simple plain text with the bare minimum information.
2020-01-28 20:28:57 +01:00
CrazyMax
2a7901f15d
Add Slack notifier ( #8 )
2019-12-17 23:40:03 +01:00
CrazyMax
3dd9d2656b
Use map to declare Docker and Swarm providers
2019-12-14 17:29:26 +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
39459f42fc
Add fields to load sensitive values from file ( #7 )
2019-12-14 01:19:26 +01:00