Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #3416 from detiber/combinedTest | Scott Dodson | 2017-02-23 | 15 | -75/+510 |
|\ | | | | | lib_openshift - handle cases where oc binary is not in path | ||||
| * | lib_openshift oc file lookup improvements | Jason DeTiberus | 2017-02-21 | 15 | -192/+471 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 sudo | Colin Walters | 2017-02-21 | 13 | -52/+208 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 Woodson | 2017-02-22 | 1 | -4/+12 |
| | | |||||
* | | Attempt to handle router preparation errors. | Kenny Woodson | 2017-02-22 | 1 | -3/+8 |
| | | |||||
* | | Fixing the generate tox tests. | Kenny Woodson | 2017-02-22 | 1 | -33/+56 |
| | | |||||
* | | Merge pull request #3378 from kwoodson/oadm_ca | Kenny Woodson | 2017-02-22 | 1 | -0/+1492 |
|\ \ | | | | | | | Adding oc_adm_ca_server_cert to lib_openshift | ||||
| * | | Moving import to local class. | Kenny Woodson | 2017-02-22 | 14 | -28/+1 |
| | | | |||||
| * | | Removing reference to oadm. Moved parameter under general params. | Kenny Woodson | 2017-02-22 | 1 | -2/+2 |
| | | | |||||
| * | | Added backup feature. Fixed a bug with reading the certificate and ↵ | Kenny Woodson | 2017-02-21 | 14 | -12/+58 |
| | | | | | | | | | | | | verifying names. Added force option. | ||||
| * | | Added copy support when modifying cert and key on existence | Kenny Woodson | 2017-02-21 | 1 | -1/+19 |
| | | | |||||
| * | | Small spacing fix. | Kenny Woodson | 2017-02-21 | 1 | -0/+1 |
| | | | |||||
| * | | Updated doc and defined defaults for signer_* | Kenny Woodson | 2017-02-21 | 1 | -12/+10 |
| | | | |||||
| * | | Removing cmd, fixed docs and comments. | Kenny Woodson | 2017-02-20 | 1 | -84/+69 |
| | | | |||||
| * | | Rename of oadm_ca to oc_adm_ca. Decided to whittle down to the direct call, ↵ | Kenny Woodson | 2017-02-20 | 1 | -49/+31 |
| | | | | | | | | | | | | server_cert. | ||||
| * | | Fixing doc. | Kenny Woodson | 2017-02-20 | 1 | -43/+87 |
| | | | |||||
| * | | Adding oadm_ca to lib_openshift. | Kenny Woodson | 2017-02-20 | 1 | -0/+1445 |
| | | | |||||
* | | | Merge pull request #3429 from ashcrow/remove-no-member | Scott Dodson | 2017-02-22 | 15 | -503/+840 |
|\ \ \ | | | | | | | | | Removed unrequired no-members | ||||
| * | | | fix up ruamel.yaml/pyyaml no-member lint errors | Jason DeTiberus | 2017-02-22 | 13 | -472/+546 |
| | | | | |||||
| * | | | Removed unrequired no-members from yedit and generated code | Steve Milner | 2017-02-22 | 15 | -135/+398 |
| | |/ | |/| | |||||
* | | | Added required_together. Added two minor bug fixes for when data is not passed. | Kenny Woodson | 2017-02-22 | 2 | -6/+10 |
| | | | |||||
* | | | if no key, cert, cacert, or default_cert is passed then do not pass to oc | Kenny Woodson | 2017-02-21 | 1 | -2/+11 |
|/ / | |||||
* | | Removed oadm_ references in doc. | Kenny Woodson | 2017-02-21 | 2 | -2/+2 |
| | | |||||
* | | Removed unused code. Made tests executable. | Kenny Woodson | 2017-02-21 | 1 | -25/+6 |
| | | |||||
* | | Fixing docs. Fixed default_cert suggestion. | Kenny Woodson | 2017-02-20 | 3 | -38/+87 |
| | | |||||
* | | Renamed modules, fixed docs, renamed variables, and cleaned up logic. | Kenny Woodson | 2017-02-20 | 7 | -136/+175 |
| | | |||||
* | | Renaming registry and router roles to oc_adm_ | Kenny Woodson | 2017-02-20 | 2 | -8/+8 |
| | | |||||
* | | Fixing registry doc and suggestions. | Kenny Woodson | 2017-02-20 | 2 | -76/+142 |
| | | |||||
* | | Adding router and registry to lib_openshift. | Kenny Woodson | 2017-02-20 | 2 | -0/+5347 |
|/ | |||||
* | Replace has_key in new modules | Steve Milner | 2017-02-20 | 1 | -2/+2 |
| | | | | | | | The dict.has_key has been removed in Python 3. However, both Python 2 and 3 support: if needle in dict | ||||
* | Fixing a bug by removing default debug | Kenny Woodson | 2017-02-17 | 1 | -1/+1 |
| | |||||
* | String compatibility for python2,3 | Kenny Woodson | 2017-02-17 | 13 | -13/+13 |
| | |||||
* | Pleasing the linting gods. | Kenny Woodson | 2017-02-16 | 13 | -65/+182 |
| | |||||
* | Fixed tests for pyyaml vs ruamel. Added import logic. Fixed safe load. | Kenny Woodson | 2017-02-16 | 13 | -65/+208 |
| | |||||
* | Adding fallback support for pyyaml. | Kenny Woodson | 2017-02-16 | 13 | -169/+390 |
| | |||||
* | Fix cases where child classes override OpenShiftCLI values | Jason DeTiberus | 2017-02-13 | 11 | -33/+11 |
| | |||||
* | Merge pull request #3299 from kwoodson/oc_env | Scott Dodson | 2017-02-13 | 1 | -0/+1791 |
|\ | | | | | Adding oc_env to lib_openshift. | ||||
| * | Fixing docs, linting, and comments. | Kenny Woodson | 2017-02-10 | 1 | -7/+12 |
| | | |||||
| * | Pleasing the linting bot. | Kenny Woodson | 2017-02-08 | 1 | -0/+2 |
| | | |||||
| * | Adding integration tests. | Kenny Woodson | 2017-02-08 | 1 | -3/+3 |
| | | |||||
| * | Adding oc_env to lib_openshift. | Kenny Woodson | 2017-02-08 | 1 | -0/+1784 |
| | | |||||
* | | Fixing docs. | Kenny Woodson | 2017-02-09 | 1 | -30/+72 |
| | | |||||
* | | Fixing for linters. | Kenny Woodson | 2017-02-09 | 1 | -9/+11 |
| | | |||||
* | | Adding test cases. | Kenny Woodson | 2017-02-09 | 1 | -15/+16 |
| | | |||||
* | | Fixing docs. | Kenny Woodson | 2017-02-09 | 1 | -0/+1448 |
|/ | |||||
* | Merge pull request #3283 from kwoodson/router_port | Kenny Woodson | 2017-02-08 | 1 | -44/+68 |
|\ | | | | | Adding test cases. Adding support for specifying port on route. | ||||
| * | Adding port support for route. | Kenny Woodson | 2017-02-08 | 1 | -44/+68 |
| | | |||||
* | | Added temporary kubeconfig file. Fixed tests to coincide with tmpfile. | Kenny Woodson | 2017-02-08 | 11 | -22/+22 |
| | | |||||
* | | Adding code to copy kubeconfig before running oc commands. | Kenny Woodson | 2017-02-08 | 11 | -11/+132 |
|/ | |||||
* | Merge pull request #3285 from twiest/fix_unittests | Kenny Woodson | 2017-02-08 | 1 | -1/+1 |
|\ | | | | | Fixed ansible module unit and integration tests and added runners. |