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
ansible-test Make ansible-test available in the bin directory. (#45876) 2018-09-19 17:58:55 -07:00
Makefile
retry.py
shippable.py
tox.ini
versions.py Revert "Relax ansible-test python version checking." 2018-11-14 17:39:00 -08:00