watchtower

> adding watchtower to repo
This commit is contained in:
Eugene Amos 2023-11-25 11:44:14 -08:00
parent aec9e2465a
commit 3ae30f2368
2 changed files with 25 additions and 2 deletions

View File

@ -14,8 +14,6 @@
> * [podfetch](https://gitea.euronvault.com/euronvault/eScripts/src/branch/main/podfetch)
> * Monitor a folder and when a new file is created. It will change the .mp3 name to the name of the parent folder.
> * [qbittorrentvpn](https://gitea.euronvault.com/euronvault/eScripts/src/branch/main/qbittorrentvpn)
> * Set the category of the added file to a special category based on if the file is 1080p or 2160p AND if the file is a Show.
> * [qbittorrent](https://gitea.euronvault.com/euronvault/eScripts/src/branch/main/qbittorrent)
> * Set the category of the added file to a special category based on if the file is 1080p or 2160p AND if the file is a Show.

View File

@ -0,0 +1,25 @@
{{- if .Report -}}
{{- with .Report -}}
{{- $len := .Scanned | len -}}
{{- if gt $len 0 -}}
{Watchtower - NAS{"\n"}{"\n"}}
{{- $len}} Scanned, {{len .Updated}} Updated, {{len .Failed}} Failed{{"\n"}}
{{- range .Updated -}}
- 🟥 {{.Name}} ({{.ImageName}}): {{.CurrentImageID.ShortID}} updated to {{.LatestImageID.ShortID}}{{"\n"}}
{{- end -}}
{{- range .Fresh -}}
- {{.Name}} ({{.ImageName}}): {{.State}}{{"\n"}}
{{- end -}}
{{- range .Skipped -}}
- {{.Name}} ({{.ImageName}}): {{.State}}: {{.Error}}{{"\n"}}
{{- end -}}
{{- range .Failed -}}
- {{.Name}} ({{.ImageName}}): {{.State}}: {{.Error}}{{"\n"}}
{{- end -}}
{{- else -}}
No updates found.{{"\n"}}
{{- end -}}
{{- end -}}
{{- else -}}
{{range .Entries -}}{{.Message}}{{"\n"}}{{- end -}}
{{- end -}}