Commit Graph

49 Commits (6685fef287492f125b5f6cd1e369aebc30cc9e54)

Author SHA1 Message Date
Simon Aronsson e4e1127f8e fix: remove linting issues 5 years ago
Simon Aronsson a425bf1024 refactor: move actions into internal 5 years ago
Simon Aronsson 998e8052c5 switch urfave to cobra 6 years ago
Simon Aronsson e584f8bfcf
Make it possible to use watchtower to update exited or created containers as well (#289)
* feature/112: add additional tests that verify include-stopped

* feature/112: implement include-stopped

* feature/112: update readme and cli help

* feature/112: fix linting issues

* remove superfluous logging
6 years ago
Simon Aronsson 46ffa16ee2
add tests for check action, resolve wt cleanup bug (#284)
add unit tests for the check action to allow for some
refactoring and bug fixing without having to worry about
breaking stuff.

resolve watchtower cleanup bug by adding an initial 1 second sleep
in the check action. without the sleep, the docker client returns an
empty array, which is why we were left with two watchtowers.
6 years ago
Simon Aronsson ccd746e9cc 281: fix mail notification regression 6 years ago
Matti Ranta ba5ac33e93
check if schedule len > 0 to prevent collisions 6 years ago
Simon Aronsson a2158c2bdc fix merge conflicts and do some refactoring 6 years ago
Mario Tacke da41afc1d7 Add Slack Channel, IconEmoji, and IconURL options (#241) 6 years ago
Simon Aronsson d29b6cf93e add a monitor only flag 6 years ago
Simon Aronsson ab299b59f8 change repo paths 6 years ago
Maxim aa1ce68e3a Notifications via MSTeams (#174)
* Notifications via MSTeams
7 years ago
Fabrizio Steiner 026a04b59b implemented enableLabel by a Filter 7 years ago
Robotex 6197d96635 Add --stop-timeout parameter 7 years ago
Fabrizio Steiner e1ead2f46f Made the notification level flag global for all notification types. 7 years ago
ubergesundheit fd7f8a40ed add slackrus slack notifications 7 years ago
ubergesundheit d989254b1a change upper case S in sirupsen to lower case to avoid build error 7 years ago
Fabrizio Steiner 5463256aa2 Possibility to disable the TLS verify for sending mails. 7 years ago
Fabrizio Steiner c463241bc7 SMTP port configurable through `notification-email-server-port`. Defaults to 25. 7 years ago
Fabrizio Steiner 4ef9a7ab97 Fix the version information output. Additionally output the commit hash and the build date. 7 years ago
Paulo Henrique a3f3d47158
Fix code style. 7 years ago
Ryan Kuba d7481511c4 github/v2tec/watchtower#114 adding if statement to accept the oneshot flag to run once and exit 7 years ago
Kaleb Elwert de2ac9341d Add a method of enabling or disabling containers using labels
Switch command line flag from no-enable to label-enable and simplify logic

Add basic documentation for the --label-enable flag
7 years ago
Rodrigo Damazio Bovendorp 5adb143f62 Adding basic (but flexible) notification system which hooks into logrus.
This only adds e-mail notifications, but others could be easily done. In
many cases, adding another existing logrus hook will be sufficient.
7 years ago
Fabrizio Steiner 9f099cf352 - Use GoBuilder container for building and release tags with goreleaser.
- Add version to cli.
8 years ago
Fabrizio Steiner b7efbc3059 Set minimum required API Version of docker to 1.24, this basically means we require at least docker 1.12.x or newer, therefore we also support docker 1.13.x. 8 years ago
Fabrizio Steiner 525dfea3f2 Possibility to define a cron expression which specifies when to check for updated images. This allows to have a schedule in which updates should be made and therefore one could define a maintenance window. 8 years ago
Fabrizio Steiner f1822f9cd2 Renamed centurylink to v2tec. 8 years ago
David Gardner 37f7248233 Merge pull request #26 from rosscado/auth
Upgrade client to fix build, authentication, and image issues
8 years ago
Ross Cadogan 1c59200565 Registry authentication was failing silently when pulling images.
Load authentication credentials for available credential stores in order of preference:
 1. Environment variables REPO_USER, REPO_PASS
 2. Docker config files
Request image pull with authentication header.
Wait until pull request is complete before exiting function.
8 years ago
Ross Cadogan 42fea79860 Rework TLS support, remove unsupported options 8 years ago
Ross Cadogan 97214b2720 Consistent context 8 years ago
Ross Cadogan b13e6af70f Migrate from codegangsta lib to urfave 8 years ago
Ross Cadogan ed035d6191 go fmt 8 years ago
Ross Cadogan 99ed959155 Port client lib from samalba/dockerclient to docker/docker/client 8 years ago
Ross Cadogan 25f1fee8e2 Private registry authentication distinct from host 8 years ago
Harry Walter a74bc9b1b8 Fix env name 9 years ago
Harry Walter ad32d1c677 Setup using env vars as well. Add no retsart option 9 years ago
Brian DeHamer b0910ee20b Add support for whitelist of monitored containers 9 years ago
Brian DeHamer dd80aa4a0d Support for --cleanup flag
The --cleanup flag will cause watchtower to automatically remove the old
image after a container is restart with a new image.
9 years ago
Brian DeHamer e06c46552a Support TLS connections to remote daemons 9 years ago
Brian DeHamer bfed95ecaf Support --debug flag
Also adds better logging output
9 years ago
Brian DeHamer 3d0c853e42 Add --no-pull support 9 years ago
Brian DeHamer 4ba21639a0 Allow user-configurable DOCKER_HOST 9 years ago
Brian DeHamer 00f2875abf Refactoring & renaming 9 years ago
Brian DeHamer 3dd06cffb1 Enable watchtower to update itself 9 years ago
Brian DeHamer 31b6a30686 Set-up CircleCI builds 9 years ago
Brian DeHamer c02c4b9ec1 Handle container links
Ensures that linked containers are restarted if any of their
dependencies are restarted -- and makes sure that everything happens in
the correct order.
9 years ago
Brian DeHamer ce4ed7316c Initial commit
Signed-off-by: Brian DeHamer <brian@dehamer.com>
10 years ago