1
0
mirror of https://github.com/containrrr/watchtower.git synced 2024-12-15 09:14:13 +02:00
Commit Graph

46 Commits

Author SHA1 Message Date
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
2019-05-12 09:29:52 +02:00
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.
2019-04-20 16:44:41 +02:00
Simon Aronsson
ccd746e9cc 281: fix mail notification regression 2019-04-16 18:07:23 +02:00
Matti Ranta
ba5ac33e93
check if schedule len > 0 to prevent collisions 2019-04-15 11:32:56 -04:00
Simon Aronsson
a2158c2bdc fix merge conflicts and do some refactoring 2019-04-08 20:25:55 +02:00
Mario Tacke
da41afc1d7 Add Slack Channel, IconEmoji, and IconURL options (#241) 2019-04-07 17:38:20 +02:00
Simon Aronsson
d29b6cf93e add a monitor only flag 2019-04-07 15:52:56 +02:00
Simon Aronsson
ab299b59f8 change repo paths 2019-04-03 21:02:05 +02:00
Maxim
aa1ce68e3a Notifications via MSTeams (#174)
* Notifications via MSTeams
2018-03-13 07:39:54 +01:00
Fabrizio Steiner
026a04b59b implemented enableLabel by a Filter 2018-03-03 21:58:07 +01:00
Robotex
6197d96635 Add --stop-timeout parameter 2018-03-03 21:48:52 +01:00
Fabrizio Steiner
e1ead2f46f Made the notification level flag global for all notification types. 2018-03-02 14:09:49 +01:00
ubergesundheit
fd7f8a40ed add slackrus slack notifications 2018-03-02 14:09:48 +01:00
ubergesundheit
d989254b1a change upper case S in sirupsen to lower case to avoid build error 2018-03-02 14:00:14 +01:00
Fabrizio Steiner
5463256aa2 Possibility to disable the TLS verify for sending mails. 2018-02-27 01:23:28 +01:00
Fabrizio Steiner
c463241bc7 SMTP port configurable through notification-email-server-port. Defaults to 25. 2018-01-02 16:58:44 +01:00
Fabrizio Steiner
4ef9a7ab97 Fix the version information output. Additionally output the commit hash and the build date. 2017-12-27 19:21:22 +01:00
Paulo Henrique
a3f3d47158
Fix code style. 2017-12-07 17:36:26 -03:00
Ryan Kuba
d7481511c4 github/v2tec/watchtower#114 adding if statement to accept the oneshot flag to run once and exit 2017-12-05 20:01:25 -08:00
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
2017-11-27 12:42:22 +01:00
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.
2017-10-29 23:40:20 -07:00
Fabrizio Steiner
9f099cf352 - Use GoBuilder container for building and release tags with goreleaser.
- Add version to cli.
2017-02-02 21:25:14 +01:00
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. 2017-01-24 21:41:32 +01:00
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. 2017-01-24 19:57:02 +01:00
Fabrizio Steiner
f1822f9cd2 Renamed centurylink to v2tec. 2017-01-24 19:24:27 +01:00
David Gardner
37f7248233 Merge pull request #26 from rosscado/auth
Upgrade client to fix build, authentication, and image issues
2016-12-22 12:42:52 -08:00
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.
2016-10-18 14:04:55 +01:00
Ross Cadogan
42fea79860 Rework TLS support, remove unsupported options 2016-10-14 12:10:49 +01:00
Ross Cadogan
97214b2720 Consistent context 2016-10-13 23:44:59 +01:00
Ross Cadogan
b13e6af70f Migrate from codegangsta lib to urfave 2016-10-13 22:57:08 +01:00
Ross Cadogan
ed035d6191 go fmt 2016-10-13 21:40:16 +01:00
Ross Cadogan
99ed959155 Port client lib from samalba/dockerclient to docker/docker/client 2016-10-13 21:34:24 +01:00
Ross Cadogan
25f1fee8e2 Private registry authentication distinct from host 2016-10-13 18:16:24 +01:00
Harry Walter
a74bc9b1b8 Fix env name 2016-02-16 11:35:32 +00:00
Harry Walter
ad32d1c677 Setup using env vars as well. Add no retsart option 2016-02-03 10:11:43 +00:00
Brian DeHamer
b0910ee20b Add support for whitelist of monitored containers 2015-08-04 17:07:27 +00:00
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.
2015-07-31 18:24:27 +00:00
Brian DeHamer
e06c46552a Support TLS connections to remote daemons 2015-07-27 17:10:12 +00:00
Brian DeHamer
bfed95ecaf Support --debug flag
Also adds better logging output
2015-07-22 21:58:16 +00:00
Brian DeHamer
3d0c853e42 Add --no-pull support 2015-07-21 23:29:00 +00:00
Brian DeHamer
4ba21639a0 Allow user-configurable DOCKER_HOST 2015-07-21 19:37:18 +00:00
Brian DeHamer
00f2875abf Refactoring & renaming 2015-07-21 16:58:31 +00:00
Brian DeHamer
3dd06cffb1 Enable watchtower to update itself 2015-07-20 22:54:18 +00:00
Brian DeHamer
31b6a30686 Set-up CircleCI builds 2015-07-16 19:04:39 +00:00
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.
2015-07-15 22:22:00 +00:00
Brian DeHamer
ce4ed7316c Initial commit
Signed-off-by: Brian DeHamer <brian@dehamer.com>
2015-07-13 21:42:33 +00:00