summaryrefslogtreecommitdiffstats
path: root/roles/openshift_certificate_expiry/library
Commit message (Collapse)AuthorAgeFilesLines
* test fixes for openshift_certificates_expiryJason DeTiberus2017-03-021-74/+42
| | | | | | | | | | | | | | - create pytest fixtures for building certs at runtime - update tests to use the fixtures - add tests for load_and_handle_cert - fix py2/py3 encode/decode issues raised by tests - add get_extension_count method to fakeOpenSSLCertificate - avoid using a temp file for passing ssl certificate to openssl subprocess - other test tweaks: - exclude conftest.py and tests from coverage report - reduce the fail_under to 26%, since the tests being included were inflating our coverage
* Address cert expiry parsing review commentsTim Bielawa2017-02-211-3/+6
|
* Implement fake openssl cert classesTim Bielawa2017-02-211-16/+181
|
* [Cert Expiry] Add serial numbers, include example PBs, docsTim Bielawa2017-01-171-8/+27
| | | | | | | | * Now includes cert serial numbers in JSON and HTML output * Docs are updated with explicit usage instructions * Each example playbook includes a link to the playbook and an example of how to run it * A graphic and copy of an HTML report are now included * Example JSON output has been updated
* More toxificationJason DeTiberus2017-01-101-11/+14
| | | | | | | | | | | | - Move pylint tests to tox - Move yamllint tests to tox - Create separate tox config (and setup.py) for root - bump ansible requirement - unify pylint config - add docs - remove git directory containing old testing tools - install python-six if not present for openshift-facts - add python-six as a dependency for openshift-ansible-utils
* python3 support, add tox for better local testing against multiple python ↵Jason DeTiberus2016-12-201-4/+8
| | | | versions
* Check embedded etcd certs now, tooTim Bielawa2016-12-151-4/+44
| | | | | * Addresses RFE in https://bugzilla.redhat.com/show_bug.cgi?id=1389264
* Include 'total' and 'ok' in check resultsTim Bielawa2016-12-151-1/+2
| | | | * Addresses https://bugzilla.redhat.com/show_bug.cgi?id=1389263
* update tests and flake8/pylint fixesJason DeTiberus2016-11-291-1/+2
|
* Don't freak out if the oc command doesn't exist.Tim Bielawa2016-10-201-0/+6
|
* Make the json template filter-driven.Tim Bielawa2016-10-201-10/+8
|
* Clean up lint and other little things (polish++)Tim Bielawa2016-10-201-6/+3
| | | | | | * Fix code lint * Prefix role variables with the role name per best practices * Add words to README
* Fix playbooks, update readme, update default varsTim Bielawa2016-10-201-6/+7
| | | | | | Fix 'make ci' system Add examples
* Refactor into a roleTim Bielawa2016-10-201-0/+635