mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-29 21:28:49 +01:00
Add metrics and progress report capabilities for deferred items seperate from other statuses
This commit is contained in:
parent
48bfaef350
commit
3c0441b94c
10 changed files with 84 additions and 43 deletions
|
|
@ -21,6 +21,7 @@ var _ = Describe("JSON template", func() {
|
|||
],
|
||||
"host": "Mock",
|
||||
"report": {
|
||||
"deferred": [],
|
||||
"failed": [
|
||||
{
|
||||
"currentImageId": "01d210000000",
|
||||
|
|
@ -110,7 +111,7 @@ var _ = Describe("JSON template", func() {
|
|||
},
|
||||
"title": "Watchtower updates on Mock"
|
||||
}`
|
||||
data := mockDataFromStates(s.UpdatedState, s.FreshState, s.FailedState, s.SkippedState, s.UpdatedState)
|
||||
data := mockDataFromStates(s.UpdatedState, s.DeferredState, s.FreshState, s.FailedState, s.SkippedState, s.UpdatedState)
|
||||
Expect(getTemplatedResult(`json.v1`, false, data)).To(MatchJSON(expected))
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue