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
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
6 years ago
..
completion Remove CI platform: freebsd/10.4 6 years ago
injector Fix ansible-test invocation of pytest. 6 years ago
lib Provide Kubernetes resource validation to k8s module (#43352) 6 years ago
requirements updating container service to 4.2.2 (#48768) 6 years ago
setup win test: add http tester container to Windows tests (#46606) 6 years ago
units Add test verification to ansible-test. (#22636) 8 years ago
Makefile Convert ansible-test compile into a sanity test. 7 years ago
ansible-test Make ansible-test available in the bin directory. (#45876) 6 years ago
retry.py Fix ansible-test pylint and pep8 issues. (#24245) 7 years ago
shippable.py Improve ansible-test HttpClient error handling. (#30301) 7 years ago
tox.ini allow ANSIBLE_KEEP_REMOTE_FILES for local test runner (#33357) 7 years ago
versions.py Revert "Relax ansible-test python version checking." 6 years ago