Merge "Add messages to make the job setup more transparent"

This commit is contained in:
Zuul 2021-04-08 08:12:19 +00:00 committed by Gerrit Code Review
commit 0c319e0fa6
1 changed files with 9 additions and 1 deletions

View File

@ -1011,6 +1011,10 @@ class AnsibleJob(object):
projects = set()
repo_state = args['repo_state']
with open(self.jobdir.job_output_file, 'a') as job_output:
job_output.write("{now} | Updating repositories\n".format(
now=datetime.datetime.now()
))
# Make sure all projects used by the job are updated...
for project in args['projects']:
self.log.debug("Updating project %s" % (project,))
@ -1065,8 +1069,12 @@ class AnsibleJob(object):
if self.aborted:
self._send_aborted()
return
self.log.debug("Git updates complete")
with open(self.jobdir.job_output_file, 'a') as job_output:
job_output.write("{now} | Preparing job workspace\n".format(
now=datetime.datetime.now()
))
merger = self.executor_server._getMerger(
self.jobdir.src_root,
self.executor_server.merge_root,