You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/runner/lib
Will Thames aaf29c785f Provide Kubernetes resource validation to k8s module (#43352)
* Provide Kubernetes resource validation to k8s module

Use kubernetes-validate to validate Kubernetes resource
definitions against the published schema

* Additional tests for kubernetes-validate

* Improve k8s error messages on exceptions

Parse the response body for the message rather than returning
a JSON blob

If we've validated and there are warnings, return those too - they
can be more helpful

```
"msg": "Failed to patch object: {\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},
       \"status\":\"Failure\",\"message\":\"[pos 334]: json: decNum: got first char 'h'\",\"code\":500}\n",
```
vs
```
"msg": "Failed to patch object: [pos 334]: json: decNum: got first char 'h'\nresource
        validation error at spec.replicas: 'hello' is not of type u'integer'",
```

* Update versions used

In particular openshift/origin:3.9.0

* Add changelog for k8s validate change
7 years ago
..
cloud Provide Kubernetes resource validation to k8s module (#43352) 7 years ago
sanity Fix ansible-test --exclude with delegation. 7 years ago
__init__.py Add support for cloud tests to ansible-test. (#24315) 9 years ago
ansible_util.py Fix integration test library search path. 7 years ago
changes.py Fix ansible-test merge change detection. 7 years ago
classification.py Add change classification for powershell wrappers. 7 years ago
cli.py win test: add http tester container to Windows tests (#46606) 7 years ago
config.py Fix ansible-test multi-group smoke test handling. (#46363) 7 years ago
core_ci.py Force PEM SSH keys for paramiko 7 years ago
cover.py Fix ansible-test encoding issues for exceptions. 7 years ago
csharp_import_analysis.py win_exec: refactor PS exec runner (#45334) 7 years ago
delegation.py Upgrade pylint to version 2.1.1. (#47036) 7 years ago
diff.py Add test verification to ansible-test. (#22636) 9 years ago
docker_util.py Bug fixes and cleanup for ansible-test. (#45991) 7 years ago
executor.py Fix ansible-test interpreter tracking. 7 years ago
git.py Fix ansible-test merge change detection. 7 years ago
http.py Cleanup and enhancements for ansible-test. (#37142) 8 years ago
import_analysis.py Fix ansible-test pylint and pep8 issues. (#24245) 9 years ago
manage_ci.py win test: add http tester container to Windows tests (#46606) 7 years ago
metadata.py Improve handling of integration test aliases. (#38698) 8 years ago
powershell_import_analysis.py Add PS dependency analysis to ansible-test. 8 years ago
pytar.py Minor fixes for unit test delegation. 7 years ago
target.py Upgrade pylint to version 2.1.1. (#47036) 7 years ago
test.py Improve bot messaging on CI failures. 8 years ago
thread.py Bug fixes and cleanup for ansible-test. (#45991) 7 years ago
util.py Fix ansible-test interpreter tracking. 7 years ago