mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
Update image descriptions, add examples
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
# Generated by Django 2.2.16 on 2021-05-12 20:08
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('main', '0141_remove_isolated_instances'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='executionenvironment',
|
||||||
|
name='image',
|
||||||
|
field=models.CharField(
|
||||||
|
help_text='The full image location, including the container registry, image name, and version tag.',
|
||||||
|
max_length=1024,
|
||||||
|
verbose_name='image location',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -30,7 +30,7 @@ class ExecutionEnvironment(CommonModel):
|
|||||||
image = models.CharField(
|
image = models.CharField(
|
||||||
max_length=1024,
|
max_length=1024,
|
||||||
verbose_name=_('image location'),
|
verbose_name=_('image location'),
|
||||||
help_text=_("The registry location where the container is stored."),
|
help_text=_("The full image location, including the container registry, image name, and version tag."),
|
||||||
)
|
)
|
||||||
managed_by_tower = models.BooleanField(default=False, editable=False)
|
managed_by_tower = models.BooleanField(default=False, editable=False)
|
||||||
credential = models.ForeignKey(
|
credential = models.ForeignKey(
|
||||||
|
|||||||
@@ -100,7 +100,22 @@ function ExecutionEnvironmentFormFields({
|
|||||||
type="text"
|
type="text"
|
||||||
validate={required(null)}
|
validate={required(null)}
|
||||||
isRequired
|
isRequired
|
||||||
tooltip={t`The registry location where the container is stored.`}
|
tooltip={
|
||||||
|
<span>
|
||||||
|
{t`The full image location, including the container registry, image name, and version tag.`}
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
{t`Examples:`}
|
||||||
|
<ul css="margin: 10px 0 10px 20px">
|
||||||
|
<li>
|
||||||
|
<code>quay.io/ansible/awx-ee:latest</code>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<code>repo/project/image-name:tag</code>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</span>
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
<FormGroup
|
<FormGroup
|
||||||
fieldId="execution-environment-container-options"
|
fieldId="execution-environment-container-options"
|
||||||
|
|||||||
Reference in New Issue
Block a user