Add a new launch_type of 'webhook'

This commit is contained in:
Jeff Bradberry
2019-09-26 16:11:28 -04:00
parent fea7f914d2
commit df24f5d28f
3 changed files with 7 additions and 0 deletions

View File

@@ -41,4 +41,9 @@ class Migration(migrations.Migration):
name='webhook_service',
field=models.CharField(blank=True, choices=[('github', 'Github'), ('gitlab', 'Gitlab')], max_length=16),
),
migrations.AlterField(
model_name='unifiedjob',
name='launch_type',
field=models.CharField(choices=[('manual', 'Manual'), ('relaunch', 'Relaunch'), ('callback', 'Callback'), ('scheduled', 'Scheduled'), ('dependency', 'Dependency'), ('workflow', 'Workflow'), ('webhook', 'Webhook'), ('sync', 'Sync'), ('scm', 'SCM Update')], db_index=True, default='manual', editable=False, max_length=20),
),
]