Commit Graph

22 Commits

Author SHA1 Message Date
Andreas Jaeger 4788fcfba6 Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: Ie9a69d85ea5ceae2bbe8b3598edcfa4d06ed5221
2019-12-18 09:40:09 +01:00
huang.zhiping 58e49ad2b8 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Ieea99ee85a01061eed68d45fc62f24dbffb98076
2018-06-09 00:45:59 +08:00
Dennis Dmitriev 750d443537
Generate a coverage report at the root of the project
Zuul coverage job expects the report in a fixed place:
http://git.openstack.org/cgit/openstack-infra/zuul-jobs/\
tree/roles/fetch-coverage-output/defaults/main.yaml

Change-Id: I3e6f06be69410db44eef4ac66275d1046af27082
2017-12-08 19:11:50 +02:00
Dennis Dmitriev 1e65c771a0 Remove py34 from unit tests, use sphinx 1.4.9 for docs
Change-Id: I64599de35cae3d2eab655d13dd6c49ed23536aa7
2017-05-27 15:05:17 +03:00
Alexey Stepanov 07a2791259 Make coverage report human-readable
request HTML lig in tox logdir, which is accessible on gates
completely ignore migrations in pylint

Change-Id: Icd3bb59844abe171c075b38accbbc1e8f222d435
2016-08-29 08:18:10 +03:00
Alexey Stepanov b0c9a7d0f8 Allow additional arguments for Subprocess class
now is possible to set env and cwd for command
Currently this API is not used

Minimal coverage is set to 80% (current real value: 85%)

Change-Id: I66bd3039f33b53085546fd57d65977145f2d43e5
2016-08-18 11:55:43 +00:00
Alexey Stepanov c521d2323c SSHClient rework for SSH Manager integration: memorize
Memorize SSHClient with clean-up by node and global supported
Memorize uses custom metaclass
If creds changed -> connection is recreated (1 connect per host: port pair).
reduced warning messages level
clear() marked as deprecated to prevent memorization breakage
On shutdown/revert/destroy node close connection to the selected node

Change-Id: Ie9f3711f8be946c823c7d9feb3f3edda56257640
blueprint: sshmanager-integration
2016-06-07 09:42:08 +03:00
Alexey Stepanov 9e0abeea8b SSHClient rework for SSH Manager integration: part 1
1. Methods optimization
2. Added docstrings

Change-Id: Ia929e151cef1edefa5238a2019e57b365ce74da3
blueprint: sshmanager-integration
2016-06-03 12:36:12 +03:00
Alexey Stepanov ab8c98e639 Documentation update for Django
1. install.rst
2. README.md
3. Minor fixed for network and environment models docstrings
4. Already not used helpers (
  _underscored - was implemented in early devops 3,
   KeyPolicy) has been dropped completely.

Change-Id: I36b537915e019193f28b452dbac13ee1c9ab289e
2016-05-25 17:45:08 +03:00
Alexey Stepanov de4bb97e02 Move SSHHelper execute_through_host from fuelweb_test
Move SSHHelper execute_through_host from fuelweb_test
Cover SSHClient by unit tests
Extend SSHClient and DevopsCalledProcessError API
Coverage: 75% -> threshold 70%

Change-Id: I3c4a268857486b18c14a96bba7a886bb4e67747f
2016-05-23 14:35:24 +03:00
Alexey Stepanov 9a1664c862 write unittests for helpers and fix errors
Raise cpverage on:
    devops.helpers.helpers
    devops.helpers.ntp

Raise coverage: +4%
Bump required coverage: +4%

Change-Id: I1796ba89ac8c1af04e5447a7e4e8c79e09b160e6
2016-05-20 18:57:58 +03:00
Alexey Stepanov bdb20d5439 Add coverage reporting
Tox target: cover
Exclude:
    tests
    dummy driver
    migrations
    configs
Report: console and html
Threshold: 65%
Current state: 70%

Change-Id: I3d0bb682ed499167e169789d7a222e8ce4637457
2016-05-16 15:04:12 +03:00
Alexey Stepanov 2dd7fd1fae Fix doc target on CI
Change-Id: I6b85892cc0a114a7e6b85ae8f39c7baf1b52d2c5
2016-05-16 13:02:18 +03:00
Alexey Stepanov 1932676183 Prepare for non voting pylint target
1. Add tox targets
2. Fix trivial issues for few error classes
3. Sync pylintrc from fuel-qa
4. @staticmethod
5. define outside __init__

Change-Id: I8567d866369defc3887c7c47c7d3c1130aa0f663
2016-05-12 13:20:18 +03:00
Alexey Stepanov 9d0b5f7fe6 Enable py34 checker
Add py34 env to tox.ini

blueprint fuel-qa-python3-compatibility

Change-Id: I4d0466df5261d42ea91cbdd9f52e866a0ca5d50b
2016-04-25 18:52:44 +03:00
Alexey Stepanov a1590aaad6 Prepare tox targets without adding
Prepared targets
1. docs
2. pylint

blueprint fuel-qa-python3-compatibility

Change-Id: Id1c951668efe934940c78d75334f712c391bcc6e
2016-04-07 12:52:49 +03:00
Anton Studenov c4eef19da4 Update unit tests
Update verion to 3.0.0

Change-Id: I272e34a9eb6df0e45f4b7ad9426a803c08d3e2a4
blueprint: template-based-virtual-devops-environments
2016-04-06 14:28:43 +00:00
Ghanshyam e15d35e022 Pass environment variables of proxy to tox
When a development environment is under a proxy, tox is failed even if
environment variables of the proxy are set.

This patch fixes this problem.
Closes-Bug: #1525115

Change-Id: I9a870f21a1eef9983f1988d10c32366085ff88c6
2015-12-11 08:18:56 +00:00
Sebastian Kalinowski f6aede65fc Improved testing of Volume XML building
Added factories for Volume and Environment and used in test
Increased py.test verbosity (for diffs in asserts)
More and better test cases for Volume XML

Partial-Bug: #1462906
Change-Id: I765cc572970ebb75290246887c1ff1bf0b773c56
2015-06-17 12:43:16 +02:00
Sebastian Kalinowski 8c26cab916 Add testing using py.test
* added py27 tox env to default env list
* added pytest and pytest-django as test requirements
* tests with database marked as expected to fail until DB will
  be configured correctly on CI
* fixed issues and fails in tests

Partial-Bug: #1462906
Change-Id: I4e37ca12c645950eedc9ced5b59daf1fd22005ee
2015-06-17 12:25:20 +02:00
Sebastian Kalinowski 17f8a14627 Cleanup in running pep8 tests
New hacking (0.10.1)
Updated flake8 ignores
run_tests.sh will call tox

Partial-Bug: #1462906
Change-Id: I0e6ec4ea84d0d8da315cc5296f8d46c495120bca
2015-06-08 07:57:13 +00:00
Aleksandra Fedorova 1def596d99 Fix flake8 errors and add tox flake8 tests
Change-Id: I970c75fb6859a9c186636f111ac1e97b253e591c
2014-08-04 17:43:18 +04:00