Commit Graph

133 Commits

Author SHA1 Message Date
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
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
50c41b85c3 Add NO_COLOR support (#384)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-25 11:37:26 +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
e972002b7a Make profiler optional (#341)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-25 22:54:01 +02:00
CrazyMax
de7eeadcd2 Fix profiler path (#339)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-25 21:07:23 +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
9785d3cc4c Allow telegram chat IDs as file (#301)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-03-14 15:32:58 +01:00
Francois Blackburn
b912aee5e4 Allow to configure scheme for MQTT broker (#292) 2021-03-07 17:05:11 +01:00
CrazyMax
3ea012cf8e Missing token as secret setting for some notifiers (#289)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-03-01 00:47:15 +01:00
CrazyMax
cad8dfb673 Allow to disable log color output (#288)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-03-01 00:25:16 +01:00
CrazyMax
00655a9d1f Do not check recipient details for Pushover (#277)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-02-17 20:22:08 +00:00
CrazyMax
c43e2459d4 Fix markdown renderer (#275)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-02-15 17:14:10 +00:00
CrazyMax
c971e06d9f Add message client for notifiers (#273)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-02-14 17:34:42 +00: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
98e05fc909 Log image validation 2021-01-07 10:50:17 +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
e6ba971025 Fix DB migration (#255)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-01-04 12:06:51 +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
aschoelzhorn
3543bbf454 MQTT Reconnection Log Spam (#240) (#241) 2020-12-16 08:06:30 +00:00
CrazyMax
1145bf3dff Fix duplicated notifications 2020-11-16 18:31:17 +01: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
aschoelzhorn
4e71b0c4d2 Add MQTT notification (#192) 2020-11-01 23:05:46 +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
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
ab683e619d Typo 2020-10-07 23:10:53 +02:00
CrazyMax
b57d49dae2 Add option to mention specific user for Discord notifier (#188) 2020-10-07 22:40:46 +02:00
CrazyMax
17f72c7bb9 Fix Telegram notification error (#162) 2020-08-28 23:43:24 +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
0d8ad64ce7 Allow to use --test-notif without providers and DB connection (#157 #150) 2020-08-20 00:52:54 +02:00
CrazyMax
267e92aa79 Fix test 2020-08-08 12:40:51 +02:00
CrazyMax
6dc9b58de9 Allow to customize message type for Matrix notifications (#143) 2020-08-08 12:17:45 +02:00
CrazyMax
bc90723409 Hostname not taken into account for Matrix notifications 2020-07-30 09:28:22 +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
1c114fe60e Enhanced config validation 2020-07-16 22:34:44 +02:00
CrazyMax
e5862e4efb Seek configuration file from default places 2020-07-16 22:27:12 +02:00
CrazyMax
484e7dbc7f Switch to gonfig 2020-07-16 22:16:55 +02:00