summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library/oc_scale.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixing variable naming for 35 scoping.Kenny Woodson2017-03-161-3/+3
|
* Removing ordereddict. Replaced with sorted keys.Kenny Woodson2017-03-081-4/+4
|
* Fix to OpenshiftCLIConfig to support an ordereddict. This was breaking test ↵Kenny Woodson2017-03-071-1/+2
| | | | cases.
* Merge pull request #3527 from joelddiaz/yedit-path-exceptionsKenny Woodson2017-03-031-2/+9
|\ | | | | raise exceptions when walking through object path
| * regenerate lib_openshift with yedit exception changesJoel Diaz2017-02-281-2/+9
| |
* | Modified base debug statements. Fixed oc_secret debug/verbose flag. Added ↵Kenny Woodson2017-02-281-2/+2
|/ | | | reencrypt for route.
* [oc_obj] Move namespace argument to end of command.Andrew Butcher2017-02-271-2/+2
|
* Rebased.Kenny Woodson2017-02-241-1/+1
|
* Adding get_env_var to deploymentconfig.Kenny Woodson2017-02-241-12/+12
|
* Fixed default variables. Added a fix to generated secret in env var.Kenny Woodson2017-02-241-0/+12
|
* Merge pull request #3416 from detiber/combinedTestScott Dodson2017-02-231-5/+34
|\ | | | | lib_openshift - handle cases where oc binary is not in path
| * lib_openshift oc file lookup improvementsJason DeTiberus2017-02-211-14/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-211-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
* | fix up ruamel.yaml/pyyaml no-member lint errorsJason DeTiberus2017-02-221-37/+42
| |
* | Removed unrequired no-members from yedit and generated codeSteve Milner2017-02-221-5/+22
|/
* Renamed modules, fixed docs, renamed variables, and cleaned up logic.Kenny Woodson2017-02-201-2/+7
|
* String compatibility for python2,3Kenny Woodson2017-02-171-1/+1
|
* Pleasing the linting gods.Kenny Woodson2017-02-161-5/+14
|
* Fixed tests for pyyaml vs ruamel. Added import logic. Fixed safe load.Kenny Woodson2017-02-161-5/+16
|
* Adding fallback support for pyyaml.Kenny Woodson2017-02-161-13/+30
|
* Fix cases where child classes override OpenShiftCLI valuesJason DeTiberus2017-02-131-4/+1
|
* Added temporary kubeconfig file. Fixed tests to coincide with tmpfile.Kenny Woodson2017-02-081-2/+2
|
* Adding code to copy kubeconfig before running oc commands.Kenny Woodson2017-02-081-1/+12
|
* Changed lib_openshift to use real temporary files.Thomas Wiest2017-02-081-17/+37
|
* Added oc_serviceaccount_secret to lib_openshift.Thomas Wiest2017-02-061-8/+15
|
* Adding unit test for oc_service. Added environment fix for non-standard oc ↵Kenny Woodson2017-01-311-3/+5
| | | | installs.
* Added oc_serviceaccount to lib_openshift.Thomas Wiest2017-01-301-8/+15
|
* Merge pull request #3197 from kwoodson/manage_nodeKenny Woodson2017-01-301-1/+1
|\ | | | | Adding oadm_manage_node lib_openshift.
| * Fixing base.py for node and scale. Autogenerated code.Kenny Woodson2017-01-261-1/+1
| |
* | Adding fix for when the resource does not exist. Added test cases.Kenny Woodson2017-01-271-0/+2
|/
* Fixing namespace param in doc to reflect default value.Kenny Woodson2017-01-261-1/+1
|
* Adding banners. Small bug fix to namespace appending in base.Kenny Woodson2017-01-251-0/+32
|
* Fixing tests and linting.Kenny Woodson2017-01-251-15/+21
|
* Adding integration test for oc_scale.Kenny Woodson2017-01-251-4/+353
|
* Adding oc_scale to lib_openshift.Kenny Woodson2017-01-251-0/+1322