Commit Graph

998 Commits

Author SHA1 Message Date
5bbb016119 add basic docs 2020-03-08 15:38:36 +01:00
2969e69b43 remove dockerignore 2020-03-07 16:15:47 +01:00
712f7496fb debug 2020-03-07 16:01:13 +01:00
f2eeb3a11d add docker related files 2020-03-07 15:52:02 +01:00
9f05344c85 add version output 2020-03-07 15:43:30 +01:00
23a7806dde use pip installation for run verification 2020-03-07 15:07:40 +01:00
95d7cb820d fix dependencies for different python versions 2020-03-07 14:40:52 +01:00
c5e94fae7a fix dependencies for different python versions 2020-03-07 14:31:26 +01:00
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