Skip to content
Snippets Groups Projects

Add agent token field

Merged Erwan Rouchet requested to merge agent-token into release-1.7.3
9 files
+ 92
20
Compare changes
  • Side-by-side
  • Inline
Files
9
@@ -114,7 +114,7 @@ class Migration(migrations.Migration):
("updated", models.DateTimeField(auto_now=True)),
("expiry", models.DateTimeField(default=arkindex.ponos.models.expiry_default)),
("extra_files", django.contrib.postgres.fields.hstore.HStoreField(default=dict, blank=True)),
("token", models.CharField(default=arkindex.ponos.models.task_token_default, max_length=52, unique=True)),
("token", models.CharField(default=arkindex.ponos.models.token_default, max_length=52, unique=True)),
("agent", models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name="tasks", to="ponos.agent")),
("gpu", models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name="tasks", to="ponos.gpu")),
("image_artifact", models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name="tasks_using_image", to="ponos.artifact")),
Loading