Commit Graph

840 Commits

Author SHA1 Message Date
7be61d559e fix pipenv-setup command 2020-03-06 22:48:32 +01:00
b7be2b4b95 fix flake8 errors 2020-03-06 22:39:32 +01:00
964e25d46a run test commands in virtualenv 2020-03-06 08:49:22 +01:00
e771ec5d4d enable drone 2020-03-06 08:45:32 +01:00
936e4b2188 refactor base structure 2020-03-05 23:51:21 +01:00
12b6e10737 fix setuptools_scm argparse usage 2020-03-01 18:55:30 +01:00
4284f65f7f fix typo 2020-03-01 18:43:12 +01:00
5218ebd29c fork: initial commit 2020-03-01 18:42:29 +01:00
Kyle Anderson
cc0fdbbfd9
Merge pull request #52 from Yelp/fix-requirements
Bump urllib and requests
2019-04-29 14:43:24 -07:00
maksym
86e6ac42b9 bump urllib and requests 2019-04-28 00:11:12 +02:00
Matthew Mead-Briggs
7ba6386aa9 Bump version 2019-04-25 03:44:27 -07:00
Matthew Mead-Briggs
eb94d2b9a5
Merge pull request #51 from Yelp/fix-null-labels
Fix null labels
2019-04-25 11:39:43 +01:00
Matthew Mead-Briggs
0d48a757ef Fix error on missing labels
It seems a container can have "null" Labels so we need to handle that
case.
2019-04-24 07:46:23 -07:00
Matthew Mead-Briggs
e66fb295f4 Pre-commit wants to make these changes
And they seem fine to me
2019-04-24 07:39:38 -07:00
Kyle Anderson
2399f609ae
Merge pull request #49 from Yelp/adding-secrets-baseline
adding .secrets.baseline
2018-07-16 16:17:13 -07:00
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