Commit Graph

36 Commits (7b0d311799b917ec1aed2bc6a1b39659307a06e0)

Author SHA1 Message Date
Victor Moura 0217e116c4
Watchtower HTTP API based updates (#432)
* Added HTTP API trigger to update running images

* Adds HTTP API authentication token parameter and handling

* Exposes port 8080 in Dockerfile to allow inter-container update triggering via HTTP API

* Fixes codacy issue

* Adds API usage doc

* Fix grammar

* Moves api logic to a package of its own

* Makes WT exit if token has not been set in HTTP API mode

* Adds lock to prevent concurrent updates when in HTTP API mode

Co-authored-by: Simon Aronsson <simme@arcticbit.se>
5 years ago
Simon Aronsson cb4c58f714
Merge pull request #470 from mbrandau/add-shoutrrr
WIP: add shoutrrr support
5 years ago
Simon Aronsson 98c60d7441 fix some errors and clean up 5 years ago
Simon Aronsson fac26dfc72 fix: improve logging 5 years ago
Simon Aronsson 1d1c630f7a feat: add timeout override for pre-update lifecycle hook 5 years ago
Maximilian Brandau 480f4c8ccb
reuse router 5 years ago
Maximilian Brandau 5869bc52aa
Use CreateSender instead of calling Send multiple times 5 years ago
Maximilian Brandau 59ce378a35
Adjust flags 5 years ago
Maximilian Brandau 2b21bd46be
add shoutrrr.go 5 years ago
Maximilian Brandau be2376a4e1
add shoutrrr 5 years ago
Simon Aronsson 7a188237a1
Merge pull request #455 from pagdot/patch-1
Return on error after http.Post to gotify instance
5 years ago
Simon Aronsson e1239b2cdb
Merge branch 'master' into fix/retain-cmd 5 years ago
Paul Götzinger ecc96d6ce0
return on error after http.Post to gotify instance
Should fix #454
5 years ago
Raymon de Looff fde6e73077 Unset Hostname when NetworkMode is container
The hostname can not be set on containers using a container network stack
5 years ago
Simon Aronsson d1abce889a refactor: extract code from the container package 5 years ago
Simon Aronsson 7b8b8e8ad9 #387 fix: switch to image id map and add additional tests 5 years ago
Simon Aronsson 15a9281624 feat: add support for multiple email recipients 5 years ago
John Clayton 4f120ef037 Don’t delete cmd when runtime entrypoint is different 5 years ago
Simon Aronsson ea596ea747 fix some var ref errors 5 years ago
Simon Aronsson 2a6e296838
Added Mail Subject Tag to email.go (#389)
* Update email.go

Added SubjectTag as variable

* Update email.go

* Update email.go

* Update email.go

* Update flags.go

* Update flags.go
5 years ago
Zois Pagoulatos 2d8507ca31 Add --revive-stopped flag to start stopped containers after an update (#403)
* Add --revive-stopped flag to start stopped containers after an update

* Update arguments.md
5 years ago
Max H fd2a006c6b
Update email.go 5 years ago
Gina Häußge 1954520447 Fix a small typo (#384) 5 years ago
Max H 505a5ec715
Update email.go 5 years ago
Max H 220dc5add4
Update email.go 5 years ago
Max H 5246d1a20e
Update email.go
Added SubjectTag as variable
5 years ago
Niklas Wigertz Danielsson 135467dcf6 add pre/post update check lifecycle hooks (#373)
* add pre/post update check lifecycle hooks

* update docs for lifecycle hooks

* Fix phrasing
5 years ago
Simon Aronsson ce6ba0801f feature: add optional email delay
resolves #256
5 years ago
Simon Aronsson bfae38dbf8
Feat/lifecycle hooks (#351)
* feat(update): add lifecycle hooks to the update action

* fix(ci): add bash tests for lifecycle-hooks to the ci workflow

* fix(ci): move integration tests to an isolated step

* fix(ci): fix malformed all-contributors json

* fix(ci): disable automatic bash test until we figure out a reasonable way to run it in circleci
5 years ago
Simon Aronsson 874180a518 fix: resolve merge issues 5 years ago
Luka Peschke dff16dc639 Add support for Gotify notifications (#346)
This adds support for Gotify (https://gotify.net) notifications.

Work items:

* Two flags have been added to internal/flags/flags.go:
  "notification-gotify-url" and "notification-gotify-token".

* A Gotify notification driver has been added in
  notifications/gotify.go.

* "gotify" has been added to notification driver choices in
  notifications/notifier.go.

* Docs have been updated
5 years ago
Simon Aronsson e4e1127f8e fix: remove linting issues 5 years ago
Simon Aronsson a425bf1024 refactor: move actions into internal 5 years ago
Simon Aronsson 62f603bb25 refactor: move actions into pkg 5 years ago
Simon Aronsson 74ce92760c refactor: move container into pkg 5 years ago
Simon Aronsson e109a7a6ce refactor: extract types and pkgs to new files 5 years ago