Skip to content
Snippets Groups Projects
Verified Commit ac6d3944 authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Remove Task.image_artifact

parent 75f7659d
No related branches found
No related tags found
1 merge request!2400Remove Task.image_artifact
# Generated by Django 5.0.6 on 2024-08-01 07:23
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("ponos", "0009_task_original_task"),
]
operations = [
migrations.RemoveField(
model_name="task",
name="image_artifact",
),
]
......@@ -287,13 +287,6 @@ class Task(models.Model):
shm_size = models.CharField(max_length=80, blank=True, null=True, editable=False)
command = models.TextField(blank=True, null=True)
env = HStoreField(default=dict)
image_artifact = models.ForeignKey(
"ponos.Artifact",
related_name="tasks_using_image",
on_delete=models.SET_NULL,
blank=True,
null=True,
)
agent = models.ForeignKey(
Agent,
......
......@@ -104,7 +104,6 @@ class ProcessBuilder:
requires_gpu=requires_gpu,
shm_size=shm_size,
extra_files=extra_files,
image_artifact_id=artifact,
worker_run=worker_run,
)
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment