Commit Graph

13 Commits

Author SHA1 Message Date
CrazyMax
24bc0548e0 chore: use typed error and fix missing wraps 2023-09-16 11:47:53 +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
e6ba971025 Fix DB migration (#255)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-01-04 12:06:51 +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
0d8ad64ce7 Allow to use --test-notif without providers and DB connection (#157 #150) 2020-08-20 00:52:54 +02: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
7bff860650 Bump v4 2020-06-07 22:04:31 +02:00
CrazyMax
a62658e266 Fix package version 2020-05-27 21:38:07 +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
fbfc7a2690 Move registry client to a dedicated package 2020-01-19 22:47:18 +01:00
CrazyMax
7a8b4677fc Add option to skip notification at the very first analysis of an image (#10) 2019-12-22 16:32:27 +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
8513d49cc9 Initial commit 2019-06-04 22:11:54 +02:00