monasca-docker icon indicating copy to clipboard operation
monasca-docker copied to clipboard

Log pipeline CI is pushing duplicate images

Open timothyb89 opened this issue 8 years ago • 2 comments

It seems the log pipeline CI is pushing duplicate images in some cases.

For example: https://hub.docker.com/r/monasca/agent-collector/tags/

Two images (master-20171019-195001 and master-20171019-194745) were pushed ~3 minutes apart. The build log for that patch shows that the log pipeline job built and pushed the two agent containers, even though the metrics pipeline already published the images: https://travis-ci.org/monasca/monasca-docker/jobs/290158679

timothyb89 avatar Oct 19 '17 20:10 timothyb89

I detected the same issue...question is: should the metric pipeline build and push log components? Should be the task of the log pipeline, shouldn't it?

Brandstetter avatar Nov 03 '17 07:11 Brandstetter

Ideally I think metrics should push metrics and logs should push logs, though it may be simpler to implement if we picked one or the other.

timothyb89 avatar Nov 03 '17 19:11 timothyb89