builder: update heartbeat timestamp on log message
This commit is contained in:
parent
2d6c0eadb1
commit
59aba93514
1 changed files with 3 additions and 0 deletions
|
@ -195,6 +195,9 @@ class BuildComponent(BaseComponent):
|
|||
|
||||
def _on_log_message(self, phase, json_data):
|
||||
""" Tails log messages and updates the build status. """
|
||||
# Update the heartbeat.
|
||||
self._last_heartbeat = datetime.datetime.utcnow()
|
||||
|
||||
# Parse any of the JSON data logged.
|
||||
docker_data = {}
|
||||
if json_data:
|
||||
|
|
Reference in a new issue