summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* Extract assertion common to all tests as functionRodolfo Carvalho2017-02-202-56/+24
|
* Replace nose yield-style tests w/ pytest fixturesRodolfo Carvalho2017-02-203-248/+247
|
* Make tests run with either nosetests or pytestRodolfo Carvalho2017-02-203-45/+42
| | | | | | | And remove explicit dependencies on nose, replacing with pytest. The former is the way forward, for it is a better maintained test library, and a transitive dependency of `molecule`, the test framework we're using to add integration tests to this repo (work in progress).
* Replace assert_equal with plain assertRodolfo Carvalho2017-02-202-28/+24
| | | | In the intention to remove the dependency on nose and use only pytest.
* Make usage of short_version/release consistentRodolfo Carvalho2017-02-202-27/+26
| | | | | This removes irrelevant differences between the two test files, making it easier to observe similarities.
* Reorganize tests and helper functions logicallyRodolfo Carvalho2017-02-202-129/+129
| | | | | | | | This is intented to make it easier to read tests top-down. The test methods in both files are sorted somehow logically, and in the same order in both files, to help visualizing the similarities between them with diff tools.
* Remove test duplicationRodolfo Carvalho2017-02-203-80/+60
| | | | | Consolidate tests for bad input into a single file instead of having the same code in two files.
* Move similar test cases togetherRodolfo Carvalho2017-02-202-64/+64
| | | | | And reorganize them in such a way to show that there are a bunch of duplicated tests that are exactly the same.
* Insert paths in the second position of sys.pathRodolfo Carvalho2017-02-202-2/+2
| | | | | | http://stackoverflow.com/a/10097543/4804690 Additionally, avoid using platform-specific '/' and '..'.
* Rename test for consistencyRodolfo Carvalho2017-02-201-1/+1
|
* Merge pull request #3407 from mtnbikenc/oc-mod-playbooksRussell Teague2017-02-201-16/+21
|\ | | | | Updating node playbooks to use oc_obj
| * Updating node playbooks to use oc_objRussell Teague2017-02-171-16/+21
| |
* | Merge pull request #3340 from etsauer/scale-routerScott Dodson2017-02-201-0/+24
|\ \ | | | | | | Making router pods scale with infra nodes
| * | Removing trailing spacesEric Sauer2017-02-131-2/+2
| | |
| * | Making router pods scale with infra nodesEric Sauer2017-02-101-0/+24
| | |
* | | Unset exec bit in tests, add missing requirementsJason DeTiberus2017-02-1913-0/+0
| | | | | | | | | | | | was: separate lib_ unit tests from other unit tests
* | | Include missing unit tests to test runner configRodolfo Carvalho2017-02-1913-0/+0
| | | | | | | | | | | | We were not running those tests in CI, bad :(
* | | Fix tests on Python 3Rodolfo Carvalho2017-02-192-2/+2
| | | | | | | | | | | | | | | | | | Unlike in Python 2: - `range` doesn't return a list. - `dict.keys` doesn't return a list.
* | | Merge pull request #3412 from rhcarvalho/dead-codeRodolfo Carvalho2017-02-192-34/+0
|\ \ \ | | | | | | | | Remove and document how to find dead Python code
| * | | Remove dead codeRodolfo Carvalho2017-02-182-34/+0
| | | |
* | | | Merge pull request #3411 from kwoodson/oc_route_remove_debugKenny Woodson2017-02-182-2/+2
|\ \ \ \ | |/ / / |/| | | Fixing a bug by removing default debug output.
| * | | Fixing a bug by removing default debugKenny Woodson2017-02-172-2/+2
| | |/ | |/|
* | | Merge pull request #3402 from cgwalters/fedora-python3Scott Dodson2017-02-171-0/+12
|\ \ \ | |/ / |/| | facts/main: Require Python 3 for Fedora, Python 2 everywhere else
| * | facts/main: Require Python 3 for Fedora, Python 2 everywhere elseColin Walters2017-02-171-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For a few reasons; among them that we currently have a dependency on `PyYAML` which on Fedora Atomic Host isn't installed for Python 2 by default. Further, many dependencies are being ported in Fedora to be Python 3. Conversely, ensure that we're using Python 2 everywhere else (which is really CentOS/RHEL), since AFAIK we don't test that path at all, and we really don't need *more* entries in the supported matrix.
* | | Merge pull request #3403 from kwoodson/lib_openshift_compatScott Dodson2017-02-1714-14/+14
|\ \ \ | | | | | | | | Compatibility for python2,3.
| * | | String compatibility for python2,3Kenny Woodson2017-02-1714-14/+14
| | | |
* | | | Merge pull request #3399 from mtnbikenc/deprecationRussell Teague2017-02-171-1/+1
|\ \ \ \ | |/ / / |/| | | Resolve deprecation warning
| * | | Resolve deprecation warningRussell Teague2017-02-171-1/+1
| | | |
* | | | Merge pull request #3369 from ashcrow/attach-cloudfrontScott Dodson2017-02-173-11/+25
|\ \ \ \ | |/ / / |/| | | WIP: Register cloudfront privkey when required
| * | | Register cloudfront privkey when requiredSteve Milner2017-02-163-11/+25
| | | |
* | | | Don't attempt to install python-ruamel-yaml on atomicScott Dodson2017-02-162-0/+12
| | | |
* | | | Merge pull request #3383 from kwoodson/yedit_yaml_supportScott Dodson2017-02-1621-315/+929
|\ \ \ \ | | | | | | | | | | Adding fallback support for pyyaml.
| * | | | Pleasing the linting gods.Kenny Woodson2017-02-1619-81/+213
| | | | |
| * | | | Fixed tests for pyyaml vs ruamel. Added import logic. Fixed safe load.Kenny Woodson2017-02-1618-95/+297
| | | | |
| * | | | Adding fallback support for pyyaml.Kenny Woodson2017-02-1618-205/+485
| | |/ / | |/| |
* | | | Merge pull request #3386 from bparees/bump_templatesScott Dodson2017-02-169-10/+37
|\ \ \ \ | | | | | | | | | | update example templates+imagestreams
| * | | | update example templates+imagestreamsBen Parees2017-02-169-10/+37
| |/ / /
* | | | Merge pull request #3370 from adbaldi/workScott Dodson2017-02-161-1/+1
|\ \ \ \ | |/ / / |/| | | Fixed issue where upgrade fails when using daemon sets (e.g. aggregated logging)
| * | | Fixed issue where upgrade fails when using daemon sets (e.g. aggregated logging)Andrew Baldi2017-02-151-1/+1
| |/ /
* | | Merge pull request #3381 from jcantrill/bz_1420217_default_es_memoryEric Wolinetz2017-02-161-2/+2
|\ \ \ | | | | | | | | bug 1420217. Default ES memory to be compariable to 3.4 deployer
| * | | bug 1420217. Default ES memory to be compariable to 3.4 deployerJeff Cantrill2017-02-161-2/+2
| | | |
* | | | Merge pull request #3374 from mwringe/hawkular-metrics-certificatesScott Dodson2017-02-162-2/+2
|\ \ \ \ | | | | | | | | | | Fix issues with Hawkular Metrics certificates
| * | | | Add missing full hostname for the Hawkular Metrics certificate (BZ1421060)mwringe2017-02-152-2/+2
| |/ / / | | | | | | | | | | | | Fix issue where the signer certificate's name is static, preventing redeployments from being acceptable.
* | | | Merge pull request #3375 from abutcher/revert-openshift-facts-skipScott Dodson2017-02-161-60/+46
|\ \ \ \ | | | | | | | | | | Revert "Add block+when skip to `openshift_facts` tasks"
| * | | | Revert "Add block+when skip to `openshift_facts` tasks"Andrew Butcher2017-02-151-60/+46
| |/ / / | | | | | | | | | | | | This reverts commit 0b1c1c2c524bfb932ab0e15f63f464673c00e651.
* | | | adding some quotes for safetyewolinetz2017-02-151-1/+1
| | | |
* | | | fixing use of oc_scale moduleewolinetz2017-02-152-2/+2
| | | |
* | | | fixing default for loggingewolinetz2017-02-151-3/+3
|/ / /
* | | Merge pull request #3364 from detiber/lintCleanupScott Dodson2017-02-155-8/+596
|\ \ \ | |/ / |/| | Ansible Lint cleanup and making filter/lookup plugins used by openshift_master_facts available within the role
| * | Ansible Lint cleanup and making filter/lookup plugins used by ↵Jason DeTiberus2017-02-145-8/+596
| | | | | | | | | | | | openshift_master_facts available within the role