Adding the scm_track_submodules option which should fix the https://github.com/ansible/awx/issues/7846

Signed-off-by: mazhead <mazhead@gmail.com>
This commit is contained in:
mazhead
2021-02-03 11:52:43 +01:00
parent 311c44341e
commit c6eb7da68d
18 changed files with 95 additions and 3 deletions

View File

@@ -115,6 +115,10 @@ class ProjectOptions(models.Model):
default=False,
help_text=_('Delete the project before syncing.'),
)
scm_track_submodules = models.BooleanField(
default=False,
help_text=_('Track submodules latest commits on defined branch.'),
)
credential = models.ForeignKey(
'Credential',
related_name='%(class)ss',