watchtower
> adding watchtower to repo
This commit is contained in:
parent
aec9e2465a
commit
3ae30f2368
@ -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.
|
||||
|
||||
|
25
watchtower/watchtower-template.txt
Normal file
25
watchtower/watchtower-template.txt
Normal 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 -}}
|
Loading…
x
Reference in New Issue
Block a user