yegor256 / rultor

DevOps team assistant that helps you merge, deploy, and release GitHub-hosted apps and libraries
https://www.rultor.com
Other
561 stars 156 forks source link

Remove DockerExec, it's Dead Code once DockerHealthCheck is Finished #1065

Open original-brownbear opened 8 years ago

original-brownbear commented 8 years ago

Background

At this point com.rultor.agents.docker.DockerExec only has one purpose, it periodically connects to the EC2 instance and by following functionality indicates whether the service is up and running or not. It's documented purpose Remove old images from Docker. is not fulfilled by it. The class was an attempt to resolve #906 . Eventually it turned out that the approach taken by the bash script that ships with this class com/rultor/agents/docker/rmi.sh caused certain issues described in #942 . So in 7c874cb7cd06360fcab58c8c23ecff4e27657676 the script was quickly turned into dead code by commenting the actual logic in it. Also the code at present is pretty much an 80% duplicate of it's successor DockerHealthCheck. => Fixing the doc on it to describe actual behaviour makes no sense anymore => this task.

Task Requires

original-brownbear commented 8 years ago

@alex-palevsky this is a bug.

original-brownbear commented 8 years ago

@alex-palevsky this depends on #1057.

alex-palevsky commented 8 years ago

@alex-palevsky this is a bug.

@original-brownbear I just added bug tag here

alex-palevsky commented 8 years ago

@original-brownbear milestone set to 2.0 (correct me if I am wrong)

alex-palevsky commented 8 years ago

@alex-palevsky this depends on #1057.

@original-brownbear of course, let's wait for #1057

alex-palevsky commented 8 years ago

@original-brownbear thanks for the report, I topped your acc for 30 mins, payment ID AP-0C298578R5425400E

original-brownbear commented 8 years ago

@alex-palevsky this is postponed.

alex-palevsky commented 8 years ago

@alex-palevsky this is postponed.

@original-brownbear thanks, I added "postponed" label

alex-palevsky commented 8 years ago

@alex-palevsky this is postponed.

@original-brownbear no problem, I will try to find somebody else

alex-palevsky commented 7 years ago

@original-brownbear we were waiting for #1057 - it is closed already