ansible/test/runner
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
2018-11-16 12:44:59 +00:00
..
completion Remove CI platform: freebsd/10.4 2018-11-16 00:46:09 -08:00
injector Fix ansible-test invocation of pytest. 2018-11-01 09:45:17 -07:00
lib Provide Kubernetes resource validation to k8s module (#43352) 2018-11-16 12:44:59 +00:00
requirements updating container service to 4.2.2 (#48768) 2018-11-16 12:38:54 +08:00
setup win test: add http tester container to Windows tests (#46606) 2018-10-13 08:20:00 +10:00
units Add test verification to ansible-test. (#22636) 2017-03-15 12:17:42 -07:00
ansible-test Make ansible-test available in the bin directory. (#45876) 2018-09-19 17:58:55 -07:00
Makefile Convert ansible-test compile into a sanity test. 2018-01-25 09:45:36 -08:00
retry.py Fix ansible-test pylint and pep8 issues. (#24245) 2017-05-03 23:19:44 +08:00
shippable.py Improve ansible-test HttpClient error handling. (#30301) 2017-09-13 12:23:48 -07:00
tox.ini allow ANSIBLE_KEEP_REMOTE_FILES for local test runner (#33357) 2018-03-06 16:28:06 -08:00
versions.py Revert "Relax ansible-test python version checking." 2018-11-14 17:39:00 -08:00