Previously, the code in lightblue.py which gets the additional data about container image from Koji raised an exception on error. This was not good solution, because it marked builds of all container images as failed.
With this PR, the code is updated to return per container image error message, which can later be stored in database and mark the container image build as FAILED. Other containers non depending on this FAILED one can still be rebuilt.
The old code also used some "reinvent-the-wheel" cache which is replaced by dogpile.cache now. The Koji lookup code is also moved to separate _get_additional_data_from_koji method now.
Depends on PR#99.
Previously, the code in lightblue.py which gets the additional data about container image from Koji raised an exception on error. This was not good solution, because it marked builds of all container images as failed.
With this PR, the code is updated to return per container image error message, which can later be stored in database and mark the container image build as FAILED. Other containers non depending on this FAILED one can still be rebuilt.
The old code also used some "reinvent-the-wheel" cache which is replaced by dogpile.cache now. The Koji lookup code is also moved to separate _get_additional_data_from_koji method now.