summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src
Commit message (Collapse)AuthorAgeFilesLines
* Fixed for linting.Kenny Woodson2017-03-082-5/+1
|
* Fix to OpenshiftCLIConfig to support an ordereddict. This was breaking test ↵Kenny Woodson2017-03-076-93/+378
| | | | cases.
* Adding test_oc_adm_router.Kenny Woodson2017-03-071-0/+476
|
* Adding router test.Kenny Woodson2017-03-071-0/+85
|
* Remove dummy setup/teardown methodsRodolfo Carvalho2017-03-0612-96/+0
|
* Clean up test filesRodolfo Carvalho2017-03-0613-157/+0
| | | | | They are not executable anymore, and tests are now meant to be run through pytest.
* Make generic OCObjectValidator from OCSDNValidatorMonis Khan2017-03-067-552/+1006
| | | | Signed-off-by: Monis Khan <mkhan@redhat.com>
* Mock runs differntly on travis. Fix the mock test params to be ANY.Kenny Woodson2017-03-061-3/+2
|
* Fixed the none namespace. Fixed tests with latest loc_oc_binary call.Kenny Woodson2017-03-062-3/+8
|
* Updating the namespace param to None.Kenny Woodson2017-03-061-1/+1
|
* Fixed tests to align with new naming.Kenny Woodson2017-03-061-1/+1
|
* Fixed docs. Added check for delete failures. Updated namespace to None.Kenny Woodson2017-03-062-9/+12
|
* Fixing lintersKenny Woodson2017-03-062-4/+2
|
* Adding integration test. Fixed issue with node_selector.Kenny Woodson2017-03-062-4/+90
|
* Adding oc_project to lib_openshift.Kenny Woodson2017-03-066-0/+517
|
* Fixing checkout for bindings with -binding suffixjupierce2017-03-022-2/+2
|
* oadm_policy_group/adm_policy_user modulejupierce2017-03-028-0/+847
|
* Fixed error handling when oc adm ca create-server-cert fails. Fixed a logic ↵Kenny Woodson2017-03-011-0/+3
| | | | error in secure.
* Merge pull request #3493 from kwoodson/registry_reencyrpt_routeScott Dodson2017-03-016-56/+102
|\ | | | | Adding support for a route with reencrypt and certificates.
| * Fixed failures on create when objects exist.Kenny Woodson2017-02-282-48/+82
| |
| * Updating delete/recreate with replace --force.Kenny Woodson2017-02-281-8/+4
| |
| * Fixed logic error. Ensure both svc and dc exist.Kenny Woodson2017-02-281-1/+1
| |
| * Modified base debug statements. Fixed oc_secret debug/verbose flag. Added ↵Kenny Woodson2017-02-285-6/+16
| | | | | | | | reencrypt for route.
| * Adding support for a route with certs and reencrypt.Kenny Woodson2017-02-281-1/+7
| |
* | Merge pull request #3522 from mtnbikenc/pvc-type-fixRussell Teague2017-02-281-4/+5
|\ \ | | | | | | Add 'persistentVolumeClaim' to volume_info type
| * | Add 'persistentVolumeClaim' to volume_info typeRussell Teague2017-02-281-4/+5
| |/
* | lib_openshift: new module atomic_containerGiuseppe Scrivano2017-02-283-0/+179
|/ | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Merge pull request #3387 from enj/enj/f/sdn_moduleScott Dodson2017-02-275-0/+600
|\ | | | | Add SDNValidator Module
| * Add SDNValidator ModuleMonis Khan2017-02-215-0/+600
| | | | | | | | Signed-off-by: Monis Khan <mkhan@redhat.com>
* | [oc_obj] Move namespace argument to end of command.Andrew Butcher2017-02-276-21/+21
| |
* | Fixed indentationKenny Woodson2017-02-241-1/+1
| |
* | Adding get_env_var to deploymentconfig.Kenny Woodson2017-02-242-15/+16
| |
* | Fixed default variables. Added a fix to generated secret in env var.Kenny Woodson2017-02-243-2/+21
| |
* | Fixing doc for oc_adm_ca_server_cert.Kenny Woodson2017-02-231-2/+2
| |
* | Merge pull request #3416 from detiber/combinedTestScott Dodson2017-02-2312-25/+1298
|\ \ | | | | | | lib_openshift - handle cases where oc binary is not in path
| * | lib_openshift oc file lookup improvementsJason DeTiberus2017-02-2113-34/+1295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move binary file search to separate method called from constructor - Use six.PY3 instaed of sys.version_info - Combine additional paths with the paths from the environment - For py3 pass the combined paths to shutil.which - For py2 explictly search for existance of file from combined paths instead of using distutils.spawn.find_executable and falling back - Use 'oc adm' instead of 'oadm' - Fix generate_validation test issue - fix tests for oc binary location - add tests for file lookup
| * | roles/lib_openshift: Handle /usr/local/bin/oc with sudoColin Walters2017-02-212-4/+16
| |/ | | | | | | | | | | | | | | | | | | | | | | The real changes here are in `src/lib/{base,import}.py` remember, the rest is committed to git rather than built for some reason. This is tested on CentOS AH (python2), I haven't yet tested the Python 3 path here. I tried the suggestion in the PR for using Ansible's `module` but AFAICS that would require passing down the `module` variable pretty far down into this code. This implementation seems OK too. Closes: https://github.com/openshift/openshift-ansible/issues/3410
* | Updated for pylint. Fixed create doc.Kenny Woodson2017-02-221-4/+12
| |
* | Attempt to handle router preparation errors.Kenny Woodson2017-02-221-3/+8
| |
* | Merge pull request #3378 from kwoodson/oadm_caKenny Woodson2017-02-224-0/+276
|\ \ | | | | | | Adding oc_adm_ca_server_cert to lib_openshift
| * | Moving import to local class.Kenny Woodson2017-02-222-2/+1
| | |
| * | Removing reference to oadm. Moved parameter under general params.Kenny Woodson2017-02-221-2/+2
| | |
| * | Added backup feature. Fixed a bug with reading the certificate and ↵Kenny Woodson2017-02-214-12/+32
| | | | | | | | | | | | verifying names. Added force option.
| * | Added copy support when modifying cert and key on existenceKenny Woodson2017-02-213-1/+19
| | |
| * | Small spacing fix.Kenny Woodson2017-02-211-0/+2
| | |
| * | Updated doc and defined defaults for signer_*Kenny Woodson2017-02-213-11/+9
| | |
| * | Removing cmd, fixed docs and comments.Kenny Woodson2017-02-202-65/+13
| | |
| * | Rename of oadm_ca to oc_adm_ca. Decided to whittle down to the direct call, ↵Kenny Woodson2017-02-204-47/+29
| | | | | | | | | | | | server_cert.
| * | Fixing doc.Kenny Woodson2017-02-202-43/+87
| | |
| * | Adding oadm_ca to lib_openshift.Kenny Woodson2017-02-204-0/+265
| | |