Add UI unit tests to job settings

This commit is contained in:
Marliana Lara 2022-02-01 15:47:10 -05:00 committed by Marcelo Moreira de Mello
parent 5e8107621e
commit 169da866f3
No known key found for this signature in database
GPG Key ID: 2E37D364BA6C1972
4 changed files with 22 additions and 2 deletions

View File

@ -69,6 +69,7 @@ describe('<JobsDetail />', () => {
assertDetail(wrapper, 'Default Project Update Timeout', '0 seconds');
assertDetail(wrapper, 'Per-Host Ansible Fact Cache Timeout', '0 seconds');
assertDetail(wrapper, 'Maximum number of forks per job', '200');
assertDetail(wrapper, 'Expose host paths for Container Groups', 'Off');
assertVariableDetail(
wrapper,
'Ansible Modules Allowed for Ad Hoc Jobs',

View File

@ -276,6 +276,15 @@
"category_slug": "jobs",
"default": false
},
"AWX_MOUNT_ISOLATED_PATHS_ON_K8S": {
"type": "boolean",
"required": false,
"label": "Expose host paths for Container Groups",
"help_text": "Expose paths via hostPath for the Pods created by a Container Group. HostPath volumes present many security risks, and it is a best practice to avoid the use of HostPaths when possible. ",
"category": "Jobs",
"category_slug": "jobs",
"default": false
},
"GALAXY_IGNORE_CERTS": {
"type": "boolean",
"required": false,
@ -3973,6 +3982,14 @@
"category_slug": "jobs",
"defined_in_file": false
},
"AWX_MOUNT_ISOLATED_PATHS_ON_K8S": {
"type": "boolean",
"label": "Expose host paths for Container Groups",
"help_text": "Expose paths via hostPath for the Pods created by a Container Group. HostPath volumes present many security risks, and it is a best practice to avoid the use of HostPaths when possible. ",
"category": "Jobs",
"category_slug": "jobs",
"defined_in_file": false
},
"GALAXY_IGNORE_CERTS": {
"type": "boolean",
"label": "Ignore Ansible Galaxy SSL Certificate Verification",

View File

@ -297,5 +297,6 @@
"users":{"fields":["username"],"adj_list":[]},
"instances":{"fields":["hostname"],"adj_list":[]}
},
"DEFAULT_EXECUTION_ENVIRONMENT": 1
"DEFAULT_EXECUTION_ENVIRONMENT": 1,
"AWX_MOUNT_ISOLATED_PATHS_ON_K8S": false
}

View File

@ -21,5 +21,6 @@
"DEFAULT_INVENTORY_UPDATE_TIMEOUT": 0,
"DEFAULT_PROJECT_UPDATE_TIMEOUT": 0,
"ANSIBLE_FACT_CACHE_TIMEOUT": 0,
"MAX_FORKS": 200
"MAX_FORKS": 200,
"AWX_MOUNT_ISOLATED_PATHS_ON_K8S": false
}