doug
a67a254edc
update Copyright year
2023-01-04 12:44:18 -05:00
Jason Ertel
eefcc929c2
Update copyright pattern to match other repos
2022-01-24 10:09:23 -05:00
Jason Ertel
7c22f46a55
Update copyright year for 2022
2022-01-24 09:35:29 -05:00
William Wernert
4dbb869952
Fix typo
2021-06-30 16:21:09 -04:00
William Wernert
4109cdec53
Refactor so-docker-prune to prevent exceptions when removing images
...
* Prune containers at beginning of script so stopped containers using old images are removed
* Add force=True arg to remove() call to ensure an image is still deleted on the off chance a container is still using that image
* Add exception handling to continue removing containers instead of exiting if the script fails to remove a container
2021-06-30 15:35:01 -04:00
William Wernert
192cec1825
Change how version with dashes are handled by so-docker-prune
2021-05-25 11:25:12 -04:00
William Wernert
ffd5bfc480
Force images from automated branches to a very high semver
2021-05-24 15:25:03 -04:00
William Wernert
686c7c5a6c
Add exception handling for docker API error to so-docker-prune
2021-05-24 13:26:43 -04:00
William Wernert
58febe7955
[fix] so-docker-prune breaks when multiple "so-" images share a version
2021-04-16 16:04:07 -04:00
William Wernert
8c4e66f7bb
[fix] Print error to stderr
2021-03-08 15:52:21 -05:00
William Wernert
5ee6856a07
Strip the last substring following a hyphen for automated branches
...
Also don't show the user a stack trace on invalid version strings, just alert on the bad string and exit
2021-03-08 15:43:54 -05:00
William Wernert
0db9991307
Reword/remove some comments
2021-03-02 10:20:33 -05:00
William Wernert
33696398eb
Add new so-docker-prune script
...
* Script will pull list of so- images and prune any older than most recent + last version
2021-02-26 18:06:07 -05:00