summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2018-01-08Build containerized host group dynamicallyMichael Gugino
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'
2018-01-03Merge pull request #6539 from mgugino-upstream-stage/ci-in-treeScott Dodson
Add in-tree CI scripts
2018-01-03Add in-tree CI scriptsMichael Gugino
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.
2017-12-21Merge pull request #6530 from mgugino-upstream-stage/init-task-trimMichael Gugino
Move sanity_checks into custom action plugin
2017-12-21Fix container_runtime openshift_containerized_host_groupsMichael Gugino
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
2017-12-21Remove references to deployment_typeMichael Gugino
Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
2017-12-18Relocate filter plugins to lib_utilsMichael Gugino
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.
2017-12-11remove integration tests from toxLuke Meyer
2017-12-08Merge pull request #6398 from mtnbikenc/update-deprecation-checksOpenShift Merge Robot
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
2017-12-08Update deprecation checks - include:Russell Teague
2017-12-07Remove openshift.common.service_typeMichael Gugino
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.
2017-11-16Merge pull request #6064 from mtnbikenc/consolidate-initScott Dodson
Playbook Consolidation - Initialization
2017-11-15Playbook Consolidation - InitializationRussell Teague
2017-11-14Removed old version codeMichael Gugino
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.
2017-09-20Cleanup old deployment typesMichael Gugino
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.
2017-09-15testing: Skip net vars on integration testsSteve Milner
Signed-off-by: Steve Milner <smilner@redhat.com>
2017-08-07Fix lint errorsScott Dodson
2017-08-07integration tests: keep openshift_version happyLuke Meyer
2017-08-07New pattern involves startup and initializing through the std_include.ymlKenny Woodson
2017-06-23openshift_checks: eval groups before including roleLuke Meyer
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.
2017-05-24preflight int tests: fix for package_version changesLuke Meyer
2017-05-23Merge pull request #4263 from sosiouxme/20170522-fix-docker-test-flakeOpenShift Bot
Merged by openshift-bot
2017-05-22preflight int tests: fix test flakeLuke Meyer
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.
2017-05-22preflight int tests: fix for openshift_version depLuke Meyer
2017-04-26Merge pull request #3816 from sosiouxme/20170328-integration-testsOpenShift Bot
Merged by openshift-bot
2017-04-25Standardize all Origin versioning on 3.6Russell Teague
2017-04-25integration tests: add CI scriptsLuke Meyer
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.
2017-04-25preflight int tests: define image builds to support testsLuke Meyer
2017-04-25preflight int tests: generalize; add testsLuke Meyer
Make the container setup and teardown more reusable. Remove example tests. Add basic package tests.
2017-04-25Add stub of preflight integration testsRodolfo Carvalho
2017-04-25Move Python unit tests to subdirectoryRodolfo Carvalho
To make room for integration tests.
2017-03-27Use oo_version_gte_3_6+ for future versions and treat 1.x origin as legacy. ↵Andrew Butcher
Add tests.
2016-11-29update tests and flake8/pylint fixesJason DeTiberus
2016-08-08Fixed a bug in modify_yaml module.Devan Goodwin
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.
2016-05-25Cleanup bin, test and roles/openshift_ansible_inventory following move to ↵Andrew Butcher
openshift-tools
2016-04-04Yedit enhancementsKenny Woodson
2016-03-30Moving generation of ansible module side by side with module.Kenny Woodson
2016-03-18Yaml editor first attemptKenny Woodson
2015-11-03Support for gceKenny Woodson
2015-02-19Explicitely use python2Lénaïc Huard
Some distributions are using python3 as the default python. On those ones, we need to explicitely use python2.
2014-12-18Updated with more testsKenny Woodson
2014-12-18unittest for merge_destructively. More to comeKenny Woodson
Added a readme so its obvious how to run tests Leaving this alone. Getting cleaned up in next PR Fixing space