mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
like inventory updates, check if project update deps already processed
This commit is contained in:
parent
dd513621f0
commit
a1c76d3adc
@ -83,6 +83,11 @@ class DependencyGraph(object):
|
||||
'''
|
||||
def should_update_related_project(self, job):
|
||||
now = self.get_now()
|
||||
|
||||
# Already processed dependencies for this job
|
||||
if job.data['dependent_jobs__id'] is not None:
|
||||
return False
|
||||
|
||||
latest_project_update = self.data[self.LATEST_PROJECT_UPDATES].get(job['project_id'], None)
|
||||
if not latest_project_update:
|
||||
return True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user