Commit Graph

475 Commits

Author SHA1 Message Date
Aaron Loo
3b8a3be0ed adding .secrets.baseline 2018-07-12 17:08:22 -07:00
Kyle Anderson
01c8866e3b
Merge pull request #48 from ATRAN2/ignore-changelog-for-end-of-file-precommit-hook
Ignore CHANGELOG.md for the end-of-file precommit hook
2018-03-21 17:11:15 -07:00
Andy Tran
a91ea00753 Ignore CHANGELOG.md for the end-of-file precommit hook 2018-03-21 16:36:28 -07:00
Kyle Anderson
a4f0d01dd6 Release 0.7.2 2018-03-21 15:49:22 -07:00
Kyle Anderson
cb08dbfd88 Fix debian links 2018-03-21 15:38:10 -07:00
Kyle Anderson
37ea0fffb8 Release 0.7.1 2018-03-21 15:26:44 -07:00
Kyle Anderson
95b5351ab8
Merge pull request #47 from ATRAN2/add-exclude-container-regex-argument
Add --exclude-container-label argument to dcgc
2018-03-21 15:23:46 -07:00
Andy Tran
b84b30052a Refactor container exclude labels 2018-03-20 16:34:02 -07:00
Andy Tran
95ded14891 Add --exclude-container-label argument to dcgc
Add an argument to dcgc that allows dcgc to ignore removing a container
and its child images based on the container's label
2018-03-20 16:33:13 -07:00
Kyle Anderson
091c6ea44b
Merge pull request #46 from samiam/port_to_docker_lib
Port to docker lib
2018-03-09 10:54:19 -08:00
Sam
fc72a150d8 Instantiate APIClient using defined envars e.g. DOCKER_HOST 2018-03-07 08:45:00 -05:00
Sam
8eb165385f Revert "Print usage when argv empty"
This reverts commit fab8c8ba1c.
2018-03-06 13:02:38 -05:00
Sam
814b64c11e Port from 'docker-py' library to renamed 'docker' library.
Use docker.APIClient as object to interface with.
2018-03-06 09:56:19 -05:00
Sam
c904aa1d61 Update requirements.txt version and use docker instead of docker-py 2018-03-06 09:51:04 -05:00
Sam
fab8c8ba1c Print usage when argv empty 2018-03-06 09:50:56 -05:00
Kyle Anderson
49e1bdfe3d
Merge pull request #45 from samiam/fix_empty_volumes
Correctly handle empty dangling volumes
2018-03-05 09:59:26 -08:00
Sam
b93aaa8956 Update travis config and python to newer versions 2018-03-05 09:21:00 -05:00
Sam
02ddd872d2 Updated pre-commit-config 2018-03-04 00:21:08 -05:00
Sam
75451bb5c2 Merge branch 'fix_empty_volumes' of github.com:samiam/docker-custodian into fix_empty_volumes 2018-03-03 22:19:00 -05:00
Sam
79c56d00ef Get tests working again by updating git pre-hooks 2018-03-03 22:10:49 -05:00
Sam
9aaa244b68 Be more idiomatic in testing for volumes 2018-03-03 22:10:16 -05:00
Sam Napolitano
e17dd441be Correctly handle empty dangling volumes
When there's no dangling volumes 'None' is returned but code
is expecting List.  Convert to empty list.
2018-03-03 22:05:25 -05:00
Sam Napolitano
c8710251b8 Correctly handle empty dangling volumes
When there's no dangling volumes 'None' is returned but code
is expecting List.  Convert to empty list.
2018-03-01 13:38:21 -05:00
Kyle Anderson
4fb6946ebe Merge pull request #43 from scrapinghub/fix-image-in-use
Fix broken filtering for images used by containers
2017-05-17 16:37:21 -07:00
Alexander Chekunkov
89da31b4ec Fix broken filtering for images used by containers
Error calling remove_image image=xxx:latest 409 Client Error: Conflict ("conflict: unable to remove repository reference "xxx:latest" (must force) - container 91ab644a7b31 is using its referenced image 7caea3c78386")
2017-04-21 18:12:42 +01:00
Kyle Anderson
4925cb0d9a Merge pull request #40 from ymilki/dangling_volumes
Remove dangling volumes
2016-12-01 09:21:42 -08:00
milki
fee79d9e35 Remove dangling volumes 2016-11-30 17:00:06 -08:00
Kyle Anderson
dc4ed27428 Merge pull request #39 from Yelp/revert_docker-py_change
Revert docker-py version change
2016-10-20 09:46:44 -07:00
Paul O'Connor
2489d9ed3a Revert docker-py version change 2016-10-20 15:00:28 +01:00
Kyle Anderson
c2a424c30c Merge pull request #35 from scrapinghub/exclude-with-patterns
Add patterns support for exclude-image-file
2016-10-10 09:43:35 -07:00
Kyle Anderson
f645eafbad Merge pull request #36 from Yelp/remove_volumes
Remove volumes when removing containers
2016-10-05 09:36:06 -07:00
Paul O'Connor
d2cb9c467d Remove volumes when removing containers 2016-10-05 09:18:56 +01:00
Viktor Shlapakov
7e8feb3904 Add pattern matching info to README.rst 2016-10-04 12:23:40 +03:00
Viktor Shlapakov
cd4121cb59 Add patterns support for exclude-image-file 2016-10-03 16:41:14 +03:00
Kyle Anderson
2375af1513 Fix travis pypi auth 2016-08-31 11:16:25 -07:00
Kyle Anderson
f225f4937b Fix release for 0.6.1 2016-08-31 09:57:49 -07:00
Kyle Anderson
302262639f Release 0.6.1 2016-08-31 09:52:49 -07:00
Daniel Hoherd
70337faa8b Revert 3d552af0d4 2016-06-28 11:18:33 -07:00
Daniel Hoherd
3d552af0d4 Fix 'Depends:' for lucid and newer 2016-06-28 11:16:24 -07:00
Daniel Hoherd
c94e035804 python2.7 vs python >= 2.7 to fix lucid package build. 2016-06-28 10:33:38 -07:00
Daniel
f121f0ff6c Merge pull request #33 from danielhoherd/master
Bump to python >=2.7
2016-06-27 14:34:07 -07:00
Daniel Hoherd
aeb927a193 Bump to python >2.7 2016-06-27 14:29:43 -07:00
Kyle Anderson
d2bf1008b2 Merge pull request #32 from danielhoherd/master
Overriding tox with /bin/true
2016-06-27 14:17:08 -07:00
Daniel Hoherd
aa183a12ee Debugging with true 2016-06-27 13:50:11 -07:00
Kyle Anderson
670df44209 Merge pull request #31 from danielhoherd/master
Bump debian version to 0.6.0
2016-06-24 16:27:00 -07:00
Daniel Hoherd
e6c9c641b8 Bump debian version to 0.6.0 2016-06-24 13:56:48 -07:00
Kyle Anderson
7c6b4cd37f added #egg=docker_custodian to pip example. Closes #22 2016-04-20 14:11:35 -07:00
Kyle Anderson
0749ece61a Merge pull request #27 from kentwills/remove_py26_support
Remove py26 support, code cleanup
2016-04-20 14:10:18 -07:00
Kent Wills
f33f0b4b83 bump version, remove argparse dep for py2.6 2016-04-20 10:19:00 -07:00
Kent Wills
8a17688c41 dict() to {} 2016-04-20 10:13:03 -07:00