-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added database migration to support bitbucket cloud webhooks
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
53 changes: 53 additions & 0 deletions
53
awx/main/migrations/0200_alter_job_webhook_service_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Generated by Django 4.2.16 on 2024-12-11 09:36 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('main', '0199_alter_oauth2application_unique_together_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='job', | ||
name='webhook_service', | ||
field=models.CharField( | ||
blank=True, | ||
choices=[('github', 'GitHub'), ('gitlab', 'GitLab'), ('bitbucket_dc', 'BitBucket DataCenter'), ('bitbucket_cloud', 'BitBucket Cloud')], | ||
help_text='Service that webhook requests will be accepted from', | ||
max_length=16, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='jobtemplate', | ||
name='webhook_service', | ||
field=models.CharField( | ||
blank=True, | ||
choices=[('github', 'GitHub'), ('gitlab', 'GitLab'), ('bitbucket_dc', 'BitBucket DataCenter'), ('bitbucket_cloud', 'BitBucket Cloud')], | ||
help_text='Service that webhook requests will be accepted from', | ||
max_length=16, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='workflowjob', | ||
name='webhook_service', | ||
field=models.CharField( | ||
blank=True, | ||
choices=[('github', 'GitHub'), ('gitlab', 'GitLab'), ('bitbucket_dc', 'BitBucket DataCenter'), ('bitbucket_cloud', 'BitBucket Cloud')], | ||
help_text='Service that webhook requests will be accepted from', | ||
max_length=16, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='workflowjobtemplate', | ||
name='webhook_service', | ||
field=models.CharField( | ||
blank=True, | ||
choices=[('github', 'GitHub'), ('gitlab', 'GitLab'), ('bitbucket_dc', 'BitBucket DataCenter'), ('bitbucket_cloud', 'BitBucket Cloud')], | ||
help_text='Service that webhook requests will be accepted from', | ||
max_length=16, | ||
), | ||
), | ||
] |