From bae1160273dd7f8b2701319ac6cd017cde4163da Mon Sep 17 00:00:00 2001 From: Nathan Freeman Date: Tue, 10 Oct 2023 19:56:07 -0500 Subject: [PATCH] add entrypoint to Task model and description to pipeline --- src/api/src/backend/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/src/backend/models.py b/src/api/src/backend/models.py index c45caf29..431c0431 100644 --- a/src/api/src/backend/models.py +++ b/src/api/src/backend/models.py @@ -371,6 +371,7 @@ class Meta: class Pipeline(models.Model): id = models.CharField(validators=[validate_id], max_length=128) + description = models.TextField(null=True) created_at = models.DateTimeField(auto_now_add=True) env = models.JSONField(null=True) params = models.JSONField(null=True) @@ -473,6 +474,7 @@ class Meta: command = models.TextField(null=True) installer = models.CharField(max_length=64, null=True) packages = models.JSONField(null=True, default=list) + entrypoint = models.TextField(null=True) # Container run specific properties # Full image name for container run. includes scheme.