** This reverts 879fe0ec0e in favor of using a specific version of setuptools.
** Most people consider the deprecation of setuptools `tests_require` in 40.0.0 (this still causes errors). Previous versions also give errors
but for different missing features. Setuptools 45.0.0 appears new enough to get rid of said errors while still including the `tests_require` feature.
Considering 45.0.0 the sweetspot. This simplifies the travis config changes and setup.py changes. This also ensures we stick to specific versions.
** There appear to be some issues occurring due to changes in setuptools. The
setuptools are used for yamllint and asible-syntax now but not pylinting. The
pylint was causing an issue to be hit for an unknown attribute in setuptools_lint.
** Each task was separated out in the travis ci file too in order to run them with
different deps - this will allow us to use built in features for pylint.
The k8s Ansible modules were only used in the test playbooks which have
now been refactored to use the `command` module with `oc` to be
consistent with the main playbooks.
Summary of changes:
- Removed ssh bastion creation playbooks and files
- ssh bastion creation is done via script in CI
- Creating machine sets is broken out into a separately included playbook
- Preparation of nodes has been consolidated
- Wait for new worker configs to roll out before removing CoreOS nodes
- removed python2-openshift from -test package, was required for `k8s*` modules
- Playbooks in test/ are now syntax checked
* Removes unit and generate_validation tox targets
* Bumps test-requirements.txt to latest versions
* Resolves minor lint issue in swapoff.py
* Removes coveralls
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
This change scans for supported entry point playbooks based on the
following conditions:
* In the supported directory of playbooks/byo
* Playbooks not included by any other playbooks
Added setup.py to flake8 tests since it is code. Also minor updates to
slightly modernize.
Note: In the future {#} should probably be ported to {} as numbering is
no longer needed (and disliked by many).