mirror of
https://github.com/ansible/awx.git
synced 2026-03-24 12:25:01 -02:30
default pull options for container images to None, also adding pull options to awxkit
This commit is contained in:
18
awx/main/migrations/0128_set_default_pull_to_none.py
Normal file
18
awx/main/migrations/0128_set_default_pull_to_none.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 2.2.16 on 2021-02-16 20:38
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('main', '0127_reset_pod_spec_override'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='executionenvironment',
|
||||
name='pull',
|
||||
field=models.CharField(choices=[('always', 'Always pull container before running.'), ('missing', 'No pull option has been selected.'), ('never', 'Never pull container before running.')], default=None, help_text='Pull image before running?', max_length=1024),
|
||||
),
|
||||
]
|
||||
@@ -44,7 +44,7 @@ class ExecutionEnvironment(CommonModel):
|
||||
pull = models.CharField(
|
||||
max_length=1024,
|
||||
choices=PULL_CHOICES,
|
||||
default='missing',
|
||||
default=None,
|
||||
help_text=_('Pull image before running?'),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user