Adds scm track to inventory updates, refactors job detail view in UI

This commit is contained in:
Alex Corey
2022-09-08 15:12:44 -04:00
parent 63567fcc52
commit 15fd5559a7
6 changed files with 81 additions and 43 deletions

View File

@@ -1191,6 +1191,14 @@ class InventoryUpdate(UnifiedJob, InventorySourceOptions, JobNotificationMixin,
default=None,
null=True,
)
scm_revision = models.CharField(
max_length=1024,
blank=True,
default='',
editable=False,
verbose_name=_('SCM Revision'),
help_text=_('The SCM Revision from the Project used for this inventory update. Only applicable to inventories source from scm'),
)
@property
def is_container_group_task(self):