summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Build containerized host group dynamicallyMichael Gugino2018-01-081-0/+4
| | | | | | | | | | | | | Currently, we are using some inventory variables to determine what host groups should be considered containerized. This is problematic and has several edge cases. This commit removes the variable l_containerized_host_groups and builds a dynamic group of hosts named 'oo_hosts_containerized_managed_true' based on the value of 'containerized'
* Merge pull request #6539 from mgugino-upstream-stage/ci-in-treeScott Dodson2018-01-039-0/+160
|\ | | | | Add in-tree CI scripts
| * Add in-tree CI scriptsMichael Gugino2018-01-039-0/+160
| | | | | | | | | | | | | | | | | | | | | | Currently, the scripts that contain testing inventory and actually execute the running of openshift-ansible plays are kept in the CI jobs themselves. This commit adds scripts into our tree so we can have better control over variables, differences between branches, and more transparency to end users for how we run our integration tests.
* | Merge pull request #6530 from mgugino-upstream-stage/init-task-trimMichael Gugino2017-12-214-4/+4
|\ \ | | | | | | Move sanity_checks into custom action plugin
| * | Remove references to deployment_typeMichael Gugino2017-12-214-4/+4
| |/ | | | | | | | | | | | | Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
* / Fix container_runtime openshift_containerized_host_groupsMichael Gugino2017-12-212-0/+108
|/ | | | | | | | | | openshift_containerized_host_groups needs to be referenced via hostvars. This commit also updates tox ansible syntax checks to account for unavailability of hostsvars during syntax checks. Fixes: https://github.com/openshift/openshift-ansible/issues/6540
* Relocate filter plugins to lib_utilsMichael Gugino2017-12-181-32/+0
| | | | | | | | | | | | | | This commit relocates filter_plugings to lib_utils, changes the namespacing to prevent unintended use of older versions that may be present in filter_plugins/ directory on existing installs. Add lib_utils to meta depends for roles Also consolidate some plugins into lib_utils from various other areas. Update rpm spec, obsolete plugin rpms.
* remove integration tests from toxLuke Meyer2017-12-112-0/+0
|
* Merge pull request #6398 from mtnbikenc/update-deprecation-checksOpenShift Merge Robot2017-12-0811-32/+32
|\ | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Update deprecation checks - include: Updating deprecation tests to check for `include:` directive usage. Trello: https://trello.com/c/ZTyZu3UM/484-3-ansible-24-include-deprecation Fixes: https://github.com/openshift/openshift-ansible/issues/5586
| * Update deprecation checks - include:Russell Teague2017-12-0811-32/+32
| |
* | Remove openshift.common.service_typeMichael Gugino2017-12-071-1/+0
|/ | | | | | | | This commit removes openshift.common.service_type in favor of openshift_service_type. This commit also removes r_openshift_excluder_service_type from plays in favor of using the role's defaults.
* Merge pull request #6064 from mtnbikenc/consolidate-initScott Dodson2017-11-161-2/+1
|\ | | | | Playbook Consolidation - Initialization
| * Playbook Consolidation - InitializationRussell Teague2017-11-151-2/+1
| |
* | Removed old version codeMichael Gugino2017-11-141-44/+0
|/ | | | | | This commit removes any references to versions < 1.5/3.5 We assume the version is always greater than or equal to 1.5/3.5.
* Cleanup old deployment typesMichael Gugino2017-09-201-13/+17
| | | | | | | | | | | 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.
* testing: Skip net vars on integration testsSteve Milner2017-09-151-1/+1
| | | | Signed-off-by: Steve Milner <smilner@redhat.com>
* Fix lint errorsScott Dodson2017-08-071-2/+1
|
* integration tests: keep openshift_version happyLuke Meyer2017-08-079-51/+18
|
* New pattern involves startup and initializing through the std_include.ymlKenny Woodson2017-08-071-1/+1
|
* openshift_checks: eval groups before including roleLuke Meyer2017-06-231-0/+3
| | | | | | openshift_health_checker requires openshift_version, and that has been updated to require group evaluation. Update check playbooks and integration tests to do group eval.
* preflight int tests: fix for package_version changesLuke Meyer2017-05-247-6/+42
|
* Merge pull request #4263 from sosiouxme/20170522-fix-docker-test-flakeOpenShift Bot2017-05-231-0/+1
|\ | | | | Merged by openshift-bot
| * preflight int tests: fix test flakeLuke Meyer2017-05-221-0/+1
| | | | | | | | | | | | Those tests spin up docker images and remove them at the end. The removal seems to fail randomly on test systems. Changed the removal task to ignore errors.
* | preflight int tests: fix for openshift_version depLuke Meyer2017-05-229-16/+76
|/
* Merge pull request #3816 from sosiouxme/20170328-integration-testsOpenShift Bot2017-04-2629-1/+940
|\ | | | | Merged by openshift-bot
| * integration tests: add CI scriptsLuke Meyer2017-04-257-25/+214
| | | | | | | | | | | | Add some scripts that can be run from Jenkins to build/push test images and to run the tests. Updated README to expand on running tests.
| * preflight int tests: define image builds to support testsLuke Meyer2017-04-2510-0/+219
| |
| * preflight int tests: generalize; add testsLuke Meyer2017-04-2520-98/+406
| | | | | | | | | | | | Make the container setup and teardown more reusable. Remove example tests. Add basic package tests.
| * Add stub of preflight integration testsRodolfo Carvalho2017-04-258-0/+223
| |
| * Move Python unit tests to subdirectoryRodolfo Carvalho2017-04-251-1/+1
| | | | | | | | To make room for integration tests.
* | Standardize all Origin versioning on 3.6Russell Teague2017-04-251-1/+1
|/
* Use oo_version_gte_3_6+ for future versions and treat 1.x origin as legacy. ↵Andrew Butcher2017-03-271-0/+72
| | | | Add tests.
* update tests and flake8/pylint fixesJason DeTiberus2016-11-291-2/+2
|
* Fixed a bug in modify_yaml module.Devan Goodwin2016-08-081-0/+37
| | | | | | | | | | When adding a property to a section that does not yet exist, the property was being inserted into the section above where it should have due to the pointer not being adjusted for the new section we created. Adds a test sub-directory, would like to eventually move all the ooinstall tests here as well so nosetests just works from top level directory.
* Cleanup bin, test and roles/openshift_ansible_inventory following move to ↵Andrew Butcher2016-05-254-272/+0
| | | | openshift-tools
* Yedit enhancementsKenny Woodson2016-04-042-10/+60
|
* Moving generation of ansible module side by side with module.Kenny Woodson2016-03-302-156/+13
|
* Yaml editor first attemptKenny Woodson2016-03-181-0/+236
|
* Support for gceKenny Woodson2015-11-033-96/+115
|
* Explicitely use python2Lénaïc Huard2015-02-191-1/+1
| | | | | Some distributions are using python3 as the default python. On those ones, we need to explicitely use python2.
* Updated with more testsKenny Woodson2014-12-181-0/+28
|
* unittest for merge_destructively. More to comeKenny Woodson2014-12-183-0/+82
Added a readme so its obvious how to run tests Leaving this alone. Getting cleaned up in next PR Fixing space