mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 05:45:02 -02:30
Also download roles/collections during the sync job
Since we're writing into a per-revision cache, we can do this easily now.
This commit is contained in:
committed by
AlanCoding
parent
1f4c46d873
commit
95e69124af
@@ -604,9 +604,8 @@ class ProjectUpdate(UnifiedJob, ProjectOptions, JobNotificationMixin, TaskManage
|
||||
added_update_fields = []
|
||||
if not self.job_tags:
|
||||
job_tags = ['update_{}'.format(self.scm_type)]
|
||||
if self.job_type == 'run':
|
||||
job_tags.append('install_roles')
|
||||
job_tags.append('install_collections')
|
||||
job_tags.append('install_roles')
|
||||
job_tags.append('install_collections')
|
||||
self.job_tags = ','.join(job_tags)
|
||||
added_update_fields.append('job_tags')
|
||||
if self.scm_delete_on_update and 'delete' not in self.job_tags and self.job_type == 'check':
|
||||
|
||||
Reference in New Issue
Block a user