Skip to content
Snippets Groups Projects
Commit 669a2cdd authored by Nico Vermaas's avatar Nico Vermaas
Browse files

add tag to workflow

parent cf2985a2
No related branches found
No related tags found
2 merge requests!293pull newest master changes into this branch,!292Add tag field to workflow
Pipeline #48795 passed
logging
\ No newline at end of file
logging[14/Apr/2023 14:17:24,827] unsupported operand type(s) for +=: 'NoneType' and 'str'
[14/Apr/2023 14:17:24,828] task 25485 - (regular) - 146233 has no plots, skipped.
[14/Apr/2023 14:17:26,041] unsupported operand type(s) for +=: 'NoneType' and 'str'
[14/Apr/2023 14:17:26,042] task 25485 - (regular) - 146233 has no plots, skipped.
# Generated by Django 3.1.4 on 2023-05-01 09:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('taskdatabase', '0021_auto_20230331_1151'),
]
operations = [
migrations.AddField(
model_name='workflow',
name='tag',
field=models.CharField(blank=True, max_length=30, null=True),
),
]
......@@ -14,6 +14,7 @@ verified_statusses = ['stored','validated','scrubbed','archived','finished','sus
class Workflow(models.Model):
description = models.CharField(max_length=500, blank=True, null=True)
tag = models.CharField(max_length=30, blank=True, null=True)
workflow_uri = models.CharField(unique=True, max_length=30, blank=True, null=True)
repository = models.CharField(max_length=100, blank=True, null=True)
commit_id = models.CharField(max_length=100, blank=True, null=True)
......
......@@ -9,6 +9,7 @@
<tbody>
<tr><td><b>id</b></td><td><a href="{% url 'workflow-detail-view-api' workflow.pk %}" target="_blank">{{ workflow.id }} </a></td></tr>
<tr><td><b>description</b></td><td>{{ workflow.description }}</td></tr>
<tr><td><b>tag</b></td><td>{{ workflow.tag }}</td></tr>
<tr><td><b>uri</b></td><td>{{ workflow.workflow_uri }}</td></tr>
<tr><td><b>repository</b></td><td><a href="{{ workflow.repository }}" target="_blank">{{ workflow.repository }} </a></td></tr>
<tr><td><b>commit_id</b></td><td>{{ workflow.commit_id }}</td></tr>
......
......@@ -34,7 +34,7 @@
{% include 'taskdatabase/pagination.html' %}
</div>
</div>
<p class="footer"> Version 14 April 2023
<p class="footer"> Version 1 May 2023
</div>
......
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