Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Alternative method to create docker registry auth creds | Michael Gugino | 2017-11-14 | 1 | -0/+207 |
| | | | | | | | | | | | | | | | Currently, the command 'docker login' is run when using oreg with authentication. On some hosts, such as hosts configured to use system containers, the docker service is not running. 'docker login' will fail without the docker service running. This commit adds a module to idempotently add credentials to the registry credentials file without the use of 'docker login' Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1511374 | ||||
* | Returning actual results of yedit query. Empty list was returning empty dict. | Kenny Woodson | 2017-09-20 | 2 | -2/+2 |
| | |||||
* | add retry on repoquery_cmd | Luke Meyer | 2017-09-13 | 1 | -1/+1 |
| | |||||
* | add retries to repoquery module | Luke Meyer | 2017-09-13 | 4 | -12/+25 |
| | |||||
* | First attempt at provisioning. | Kenny Woodson | 2017-08-21 | 3 | -1/+486 |
| | |||||
* | Fix python3 error in repoquery | Jeff Peeler | 2017-05-13 | 3 | -3/+3 |
| | | | | | | | Explicitly convert from bytes to string so that splitting the string is successful. This change works with python 2 as well. Closes #4182 | ||||
* | Merge pull request #4065 from ingvagabund/introduce-get-rpm-version-role | Jan Chaloupka | 2017-05-12 | 6 | -4/+58 |
|\ | | | | | Introduce excluder-free rpm version detection role | ||||
| * | Extend repoquery command (of lib_utils role) to ignore excluders | Jan Chaloupka | 2017-05-11 | 6 | -4/+58 |
| | | |||||
* | | Fix for yedit custom separators | Matt Woodson | 2017-05-10 | 2 | -2/+2 |
|/ | |||||
* | Fixed a bug in oc_volume. | Kenny Woodson | 2017-03-28 | 4 | -94/+76 |
| | |||||
* | Adding a few more test cases. Fixed a bug when key was empty. Safeguard ↵ | Kenny Woodson | 2017-03-28 | 5 | -19/+132 |
| | | | | against yedit module being passed an empty key | ||||
* | Added the ability to do multiple edits | Kenny Woodson | 2017-03-28 | 5 | -111/+242 |
| | |||||
* | Remove dummy setup/teardown methods | Rodolfo Carvalho | 2017-03-06 | 1 | -8/+0 |
| | |||||
* | Clean up test files | Rodolfo Carvalho | 2017-03-06 | 2 | -24/+0 |
| | | | | | They are not executable anymore, and tests are now meant to be run through pytest. | ||||
* | Remove redundant assertion | Rodolfo Carvalho | 2017-03-06 | 1 | -2/+0 |
| | | | | | | That line is testing Python's list.count method, instead of yedit. The assertion right above is a superset of it, as it checks for equality to some expected value. | ||||
* | BZ1422348 - Don't install python-ruamel-yaml | Scott Dodson | 2017-03-03 | 2 | -12/+1 |
| | | | | Just rely on PyYAML as a fallback and hope that's there | ||||
* | raise exceptions when walking through object path | Joel Diaz | 2017-02-28 | 3 | -5/+38 |
| | | | | | | | | | | | | | | | | if we're given path a.b.c and the existing object is: a: b: - item1 raise an exception due to unexpected objects found while traversing the path (ie. b is a list, not a dict) also, add_entry assumes new dicts for each sub element when creating elements besides the final assignment value. doing something like a.b.c[0] = 12 where 'c' doesn't exist raises an exception add test cases to cover: access path that differs from existing object create new objects with an embedded list in the path create new object with a list at the end (define the end list in the passed in 'value' to avoid this exception) | ||||
* | Merge pull request #3406 from sdodson/openshift_repos | Scott Dodson | 2017-02-23 | 1 | -0/+15 |
|\ | | | | | Install repos on containerized hosts for python dependencies | ||||
| * | add dependency on openshift_repos | Scott Dodson | 2017-02-17 | 1 | -0/+15 |
| | | |||||
* | | fix up ruamel.yaml/pyyaml no-member lint errors | Jason DeTiberus | 2017-02-22 | 4 | -76/+85 |
| | | |||||
* | | Removed unrequired no-members from yedit and generated code | Steve Milner | 2017-02-22 | 2 | -11/+40 |
| | | |||||
* | | Removed unused code. Made tests executable. | Kenny Woodson | 2017-02-21 | 2 | -0/+0 |
| | | |||||
* | | Fix validation of generated code | Rodolfo Carvalho | 2017-02-20 | 1 | -1/+1 |
| | | | | | | | | | | Importing modules with the same name will not reload an already imported module. Explicitly reloading the module is the quickest fix. | ||||
* | | Unset exec bit in tests, add missing requirements | Jason DeTiberus | 2017-02-19 | 2 | -0/+0 |
| | | | | | | | | was: separate lib_ unit tests from other unit tests | ||||
* | | Include missing unit tests to test runner config | Rodolfo Carvalho | 2017-02-19 | 2 | -0/+0 |
| | | | | | | | | We were not running those tests in CI, bad :( | ||||
* | | Fix tests on Python 3 | Rodolfo Carvalho | 2017-02-19 | 2 | -2/+2 |
|/ | | | | | | Unlike in Python 2: - `range` doesn't return a list. - `dict.keys` doesn't return a list. | ||||
* | Don't attempt to install python-ruamel-yaml on atomic | Scott Dodson | 2017-02-16 | 1 | -0/+6 |
| | |||||
* | Pleasing the linting gods. | Kenny Woodson | 2017-02-16 | 4 | -13/+25 |
| | |||||
* | Fixed tests for pyyaml vs ruamel. Added import logic. Fixed safe load. | Kenny Woodson | 2017-02-16 | 2 | -4/+4 |
| | |||||
* | Adding fallback support for pyyaml. | Kenny Woodson | 2017-02-16 | 4 | -32/+81 |
| | |||||
* | Fixed ansible module unit and integration tests and added runners. | Thomas Wiest | 2017-02-07 | 2 | -2/+45 |
| | |||||
* | Added oc_serviceaccount_secret to lib_openshift. | Thomas Wiest | 2017-02-06 | 2 | -16/+30 |
| | |||||
* | Ensure python2-ruamel-yaml is installed | Scott Dodson | 2017-02-03 | 1 | -0/+5 |
| | | | | | | need to revisit this, currently python2-ruamel-yaml doesn't provide 'python-ruamel-yaml'. It probably should and that should be what we're installing. | ||||
* | Added repoquery to lib_utils. | Thomas Wiest | 2017-01-31 | 11 | -20/+1423 |
| | |||||
* | Generate the artifacts from fragments. | Tim Bielawa | 2017-01-24 | 1 | -0/+16 |
| | |||||
* | Update the generators to include fragment banners | Tim Bielawa | 2017-01-24 | 1 | -1/+36 |
| | |||||
* | Updated the generate.py scripts for tox and virtualenv. | Kenny Woodson | 2017-01-18 | 2 | -12/+26 |
| | |||||
* | Adding a few updates for python27,35 compatibility | Kenny Woodson | 2017-01-18 | 1 | -0/+6 |
| | |||||
* | Adding --verfiy to generate script. | Kenny Woodson | 2017-01-17 | 3 | -23/+55 |
| | |||||
* | Adding oc_edit module to lib_openshift. | Kenny Woodson | 2017-01-17 | 4 | -58/+7 |
| | |||||
* | lib_openshift modules. This is the first one. oc_route. | Kenny Woodson | 2017-01-13 | 5 | -108/+217 |
| | |||||
* | Adding ability to systematically modify yaml from ansible. | Kenny Woodson | 2017-01-11 | 11 | -0/+2118 |