Commit Graph

109 Commits

Author SHA1 Message Date
Andrey Pohilko
4fecd3288b have separate file for testing dependencies 2017-11-02 22:49:02 +06:00
Andrey Pohilko
d7272af1a7 keep only dependencies essential to run script 2017-11-02 22:48:10 +06:00
Andrey Pohilko
d2773751c9 remove container upon completion 2017-11-02 22:47:29 +06:00
andrey-pohilko
c89e3a036b Merge pull request #28 from andrey-pohilko/dev
Dev
2017-10-31 21:59:30 +06:00
Andrey Pohilko
d0c0acc377 added docker info 2017-10-31 21:55:47 +06:00
Andrey Pohilko
d63ca8cf2f added info about docker image 2017-10-31 21:36:12 +06:00
andrey-pohilko
5c74691c85 Merge pull request #22 from rpofuk/patch-1
Update registry.py
2017-08-23 13:14:36 +06:00
Robert Pofuk
c883bba4e0 Update registry.py
Fix tags acculated for all images
2017-08-23 08:59:23 +02:00
andrey-pohilko
54bf3adea3 Merge pull request #19 from trianglee/master
Prevent deletion of a manifest that is used by a tag that isn't deleted
2017-08-10 13:38:19 +06:00
andrey-pohilko
0e89b151a6 Merge pull request #21 from macropin/master
Dockerfile for hub automated build
2017-08-10 13:35:59 +06:00
Andrew Cutler
6eaa98c1eb Use alpine base ref: https://github.com/andrey-pohilko/registry-cli/issues/6 2017-08-03 20:46:07 +10:00
Andrew Cutler
0b22d91af9 Add Dockerfile and repeatable build requirements 2017-08-03 20:41:27 +10:00
Nimrod Zimerman
927253854b Prevent deletion of a manifest that is used by a tag that isn't deleted 2017-06-07 18:44:15 +03:00
andrey-pohilko
518158169f Merge pull request #17 from jpap/patch-1
Use /usr/bin/env to find the right python to run
2017-05-23 10:00:36 +06:00
John Papandriopoulos
4ad6c3bdfb Use /usr/bin/env to find the right python to run 2017-05-22 16:10:38 -07:00
Andrey Pohilko
5776528162 remove coverage badge 2017-04-28 15:20:36 +06:00
Andrey Pohilko
633ef7d43b add coverage badge 2017-04-28 15:19:01 +06:00
Andrey Pohilko
4614af36a6 remove unnecessary libraries from coverage report 2017-04-28 14:30:51 +06:00
Andrey Pohilko
621a1cd1d0 add code coverage reporting 2017-04-28 14:24:17 +06:00
Andrey Pohilko
f03f87fc1d rename file circle.yml 2017-04-28 13:54:55 +06:00
Andrey Pohilko
539c265f63 add circleci configuration 2017-04-28 13:53:44 +06:00
Andrey Pohilko
d621c5abd3 test delete_tags function 2017-04-28 13:49:05 +06:00
Andrey Pohilko
9b4f8b6893 add status badge from circleci 2017-04-28 13:49:05 +06:00
andrey-pohilko
5525fd4b6d Merge pull request #16 from OndrejIT/master
Fix py3
2017-04-28 13:24:21 +06:00
Ondřej Bárta
fb5c21398d Fix py3 2017-04-28 09:16:27 +02:00
Andrey Pohilko
dcb8344805 added tests of delete_tags function 2017-04-27 17:52:50 +06:00
Andrey Pohilko
151a835e3c more tests 2017-04-26 21:13:30 +06:00
Andrey Pohilko
ae9c7b79c8 fixed issue #15, added tests of tags_like arg 2017-04-26 13:44:13 +06:00
Andrey Pohilko
2e46e8197b added tests of create method 2017-02-16 16:24:08 +06:00
Andrey Pohilko
e565f97df0 fixed issue which probably caused the TypeError 2017-02-16 15:55:15 +06:00
Andrey Pohilko
098b20a102 small refactorings 2017-02-11 10:34:46 +06:00
Andrey Pohilko
7e2c508e58 small corrections 2017-02-11 10:34:06 +06:00
Andrey Pohilko
b8130dd508 tests for deletion of a single image 2017-02-11 10:33:36 +06:00
Andrey Pohilko
722c6eb1aa described login and password pair 2017-02-11 09:07:57 +06:00
Andrey Pohilko
657464d477 username and password can be quoted (double or single) 2017-02-11 08:56:07 +06:00
Andrey Pohilko
f374ecf0f1 password can contain colons 2017-02-11 08:44:05 +06:00
Andrey Pohilko
d2e86beb16 contribution statement updated 2017-02-10 19:54:58 +06:00
Andrey Pohilko
2c632c9086 added tests, made few changes in registry.py 2017-02-10 19:46:11 +06:00
andrey-pohilko
5e0b82c5c3 Merge pull request #9 from thomasme/master
Sort tags before keeping last versions
2017-02-10 11:36:04 +06:00
Thomas Meyer
b718065e38 sort tags before keeping last versions 2017-02-08 16:26:50 +01:00
Andrey Pohilko
eaca8bf1df fixed issue #8 (-d causes type error) 2017-02-08 15:49:07 +06:00
andrey-pohilko
8adf0a5195 Merge pull request #7 from com2m/registry-cli-extension
Tag extensions and option to disable ssl verification
2017-01-10 11:25:31 +06:00
Bernd Juchems
b742ba89fe * added "no-validate-ssl" parameter to disable ssl verification messages for self signed certificates
* reworked tag selection routine
** "tags-like" parameter adds regexp like filtering
** "keep-tags" parameter specifies tag names that are to keep, regardless of selection
** "keep-tags-like" dito, but regexp based

The keep tags routine works by comparing needed manifest digests - they are read and compared before deleting a manifest.
2017-01-09 18:19:15 +01:00
andrey-pohilko
0c032a0376 Merge pull request #5 from odoucet/master
Make script Python 2.6 compatible
2016-12-19 17:21:25 +06:00
Olivier Doucet
9f01af29b6 Make script Python 2.6 compatible 2016-12-18 14:50:14 +01:00
andrey-pohilko
f0b7deae7f Merge pull request #4 from 25th-floor/PR/issue_3
Support --layers for schemaVersion 1 images
2016-11-24 09:57:06 +06:00
Andreas de Pretis
8e7626c5dd Support --layers for schemaVersion 1 images 2016-11-23 21:57:58 +01:00
Andrey Pohilko
d7411cb689 --login is now optional, ctrl-c caught 2016-10-26 17:49:26 +06:00
Andrey Pohilko
5cda401b12 changed description of notes 2016-10-16 14:05:41 +06:00
Andrey Pohilko
3cfc9b145c added docker stop docker-registry 2016-10-16 11:35:36 +06:00