summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* test_oc_scale: add more scale test casesVadim Rutkovsky2018-01-021-0/+337
|
* test_oc_scale: fix test docstringsVadim Rutkovsky2018-01-021-7/+7
|
* Bug 1512793- Fix idempotence issues in ASB deployFabian von Feilitzsch2017-11-281-0/+4
| | | | | | | - Add support for annotations in oc_service - Use oc_service instead of oc_obj - Use oc_pvc instead of oc_obj - Work around lack of idempotency for oc_obj DeploymentConfig
* Update ansible-service-broker config to track latest brokerFabian von Feilitzsch2017-10-021-2/+9
| | | | | | | | | | | | | bring ansible service broker up to date with bearer token changes etcd -> 0.0.0.0 add auth information to broker resource in catalog add sandbox role to config simplify defaults add labels to oc_route use new oc_route label field Fix parameter ordering add port back Fix secret syntax
* Cleanup old deployment typesMichael Gugino2017-09-201-3/+3
| | | | | | | | | | | Previously, openshift-ansible supported various types of deployments using the variable "openshift_deployment_type" Currently, openshift-ansible only supports two deployment types, "origin" and "openshift-enterprise". This commit removes all logic and references to deprecated deployment types.
* add selector and storage class name to oc_pvc moduleJeff Cantrill2017-07-271-0/+11
|
* Fixed tests and added sleep for update.Kenny Woodson2017-07-141-2/+2
|
* Adding storageclass support to lib_openshift.Kenny Woodson2017-07-141-0/+93
|
* oc_secret: allow use of force for secret typeJose A. Rivera2017-06-071-0/+1
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* oc_secret: allow for specifying secret typeJose A. Rivera2017-05-311-1/+2
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* add support for oc_service for labels, externalIPsRich Megginson2017-05-303-2/+186
| | | | | | | | | | | | Add support for `labels` and `externalIPs` in Services This also adds support for the `labels` parameter of `oadm registry` and `oadm router` to be a `dict` of values. This also converts `labels` dict values in the router and registry classes into a comma delimited list of `key=value` pairs. The list of `--labels` is sorted for consistency in key pair positioning in the output (and for consistency in testing) - otherwise, the order of the list is not guarantee and has actually been observed to be different from run to run.
* Fix OpenShift registry deployment on OSE 3.2Lénaïc Huard2017-04-251-1/+1
| | | | Fix #4000
* Use return_value when value is constantPierre-Louis Bonicoli2017-04-181-8/+2
| | | | Thanks to Tim Bielawa for pointing it out.
* Add missing mock for locate_oc_binary methodPierre-Louis Bonicoli2017-04-183-6/+37
| | | | | When locate_oc_binary has not been mocked, the test suite fails when oc executable is available.
* Fixing linting for spaces.Kenny Woodson2017-03-291-1/+0
|
* Adding clusterrole to the toolbox.Kenny Woodson2017-03-281-0/+116
|
* Merge pull request #3758 from kwoodson/ocimageOpenShift Bot2017-03-271-0/+280
|\ | | | | Merged by openshift-bot
| * Fixing up test cases, linting, and added a return.Kenny Woodson2017-03-231-84/+114
| |
| * first step in ocimageIvan Horvath2017-03-231-0/+250
| |
* | Merge pull request #3345 from joelddiaz/oc_userOpenShift Bot2017-03-271-0/+127
|\ \ | | | | | | Merged by openshift-bot
| * | fix up things flagged by flake8Joel Diaz2017-03-211-1/+1
| | |
| * | clean up and clarify docs/commentsJoel Diaz2017-03-211-3/+13
| | | | | | | | | | | | update unit tests
| * | add oc_user ansible moduleJoel Diaz2017-03-211-0/+117
| | | | | | | | | | | | module to manipulate OpenShift users, and assign group membership to users
* | | Merge pull request #3721 from kwoodson/oc_configmapOpenShift Bot2017-03-241-0/+239
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Adding oc_configmap to lib_openshift.Kenny Woodson2017-03-211-0/+239
| | | |
* | | | Merge pull request #3698 from kwoodson/oc_pvcOpenShift Bot2017-03-231-0/+366
|\ \ \ \ | |_|_|/ |/| | | Merged by openshift-bot
| * | | Adding tests to increase TC.Kenny Woodson2017-03-221-0/+163
| | | |
| * | | Adding a pvc create test case.Kenny Woodson2017-03-201-0/+203
| |/ /
* | | Fixed linting and configmap_name paramKenny Woodson2017-03-221-5/+7
| | |
* | | Adding configmap support and adding tests.Kenny Woodson2017-03-211-13/+258
| | |
* | | Adding oc_volume to lib_openshift.Kenny Woodson2017-03-211-0/+386
| |/ |/|
* | Fix copy-pasta docstringsRodolfo Carvalho2017-03-212-2/+2
|/
* Adding oc_group to lib_openshiftKenny Woodson2017-03-201-0/+253
|
* Do not update when properties when not passed.Kenny Woodson2017-03-161-14/+184
|
* Renaming oadm_manage_node to oc_adm_manage_nodeRussell Teague2017-03-101-7/+7
|
* Merge pull request #3590 from kwoodson/router_registry_unit_testsAndrew Butcher2017-03-092-0/+843
|\ | | | | Fix to OpenshiftCLIConfig to support an sorted keys. Removed redundant get.
| * Removing ordereddict. Replaced with sorted keys.Kenny Woodson2017-03-082-7/+9
| |
| * Fixed for linting.Kenny Woodson2017-03-082-5/+1
| |
| * Fix to OpenshiftCLIConfig to support an ordereddict. This was breaking test ↵Kenny Woodson2017-03-073-90/+374
| | | | | | | | cases.
| * Adding test_oc_adm_router.Kenny Woodson2017-03-071-0/+476
| |
| * Adding router test.Kenny Woodson2017-03-071-0/+85
| |
* | Generic message directing people to contact supportScott Dodson2017-03-071-1/+1
|/
* 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-062-481/+916
| | | | 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-061-1/+6
|
* Fixed tests to align with new naming.Kenny Woodson2017-03-061-1/+1
|
* Fixing lintersKenny Woodson2017-03-061-4/+0
|
* Adding oc_project to lib_openshift.Kenny Woodson2017-03-061-0/+130
|