1
0
mirror of https://github.com/containrrr/watchtower.git synced 2025-01-29 18:53:51 +02:00

26 Commits

Author SHA1 Message Date
Simon Aronsson
66f38bd302 fix linting errors 2019-04-07 15:55:16 +02:00
Simon Aronsson
d29b6cf93e add a monitor only flag 2019-04-07 15:52:56 +02:00
Simon Aronsson
7db0aed2a5 print to log if multiple watchtower instances are detected 2019-04-06 14:27:50 +02:00
Simon Aronsson
1b82da1ab7 Setup a working pipeline
* add tests to ensure function even after switching docker client api version
* switch docker client api version to remove import of Sirupsen and get rid of the casing workaround
* migrate from glide to dep to go modules
* rewrite ci workflow
  * only run publish on version tags
  * only run build on branches
  * update goreleaser config
  * disable automated latest tag push
* remove dependency to v2tec/docker-gobuilder
* remove dead code and files
* add golands .idea folder to gitignore
* add label to released docker images
* add test reporting, add some unit tests
* change test output dir
* fix goreleaser versions
* add debug output for circleci and goreleaser
* disable cgo
2019-04-06 13:57:26 +02:00
Simon Aronsson
ab299b59f8 change repo paths 2019-04-03 21:02:05 +02: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
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
714e30f532 Output error message when a pull failed. 2018-02-27 01:23:23 +01:00
Fabrizio Steiner
bee4607d9a Output "Checking containers for updated images" as debug entry. fixes GH-66 2017-04-12 18:32:16 +02:00
Fabrizio Steiner
eda5391d0a go fmt... 2017-01-24 21:06:04 +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
ef430b791a Add auth config, registry auth fails silently without 2016-10-18 10:04:26 +01:00
Ross Cadogan
e011d3e0d2 Discard obsolete samalba/dockerclient library and dependent tests 2016-10-13 21:46:36 +01:00
Ross Cadogan
c4efc83875 Improve error handling 2016-10-13 18:14:41 +01:00
Harry Walter
ac7375a1da Skip restarting 2016-02-03 10:12:26 +00:00
Brian DeHamer
b0910ee20b Add support for whitelist of monitored containers 2015-08-04 17:07:27 +00:00
Brian DeHamer
d6321bf8dc Add godoc comments 2015-07-31 22:36:18 +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
812fb60805 Handle errors without halting
If we receive an error while trying to shutdown/startup a particular
container we don't want to immediately terminate the current update
cycle. Instead we should continue processing the remaining containers
and simply log the error.
2015-07-29 20:03:47 +00:00
Brian DeHamer
b7424e5c47 Fix issue where updated containers aren't stopped
Used 'break' instead of 'continue' resulting in the termination of the
stop container loop any time the watchtower container is encountered.
2015-07-24 21:11:49 +00:00
Brian DeHamer
bfed95ecaf Support --debug flag
Also adds better logging output
2015-07-22 21:58:16 +00:00
Brian DeHamer
a8dec129f5 Refactor Client interface 2015-07-21 22:41:58 +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