Commit Graph

16 Commits

Author SHA1 Message Date
Andreas Jaeger 24d98abd3e 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: I658efd028f1b23bc21b327fc55d39a7fa5824ec1
2019-12-18 09:48:08 +01:00
Tatyana Leontovich 003272dc29 Update tox.ini to skip dtabase creation steps
after https://github.com/openstack-infra/project-config/
commit/7334ceb347329ccbc04dc6bff536e88e12783a86 we do not need to
create db, user, role.

Also add usage of CUSTOM_OSTF_CONFIG env variable, to pass
correctly dbpath tp fuel_plugin.config.py

Closes-Bug: #1554086

Change-Id: Ic2881e1cb17693ab616044029325a601d2b04e2c
2016-03-07 16:59:28 +02:00
janonymous 1e81222046 py26 is no longer supported by Infra's CI
Python 2.6 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it too.

Change-Id: Ibc1d5f9550d2c62f2d9a74cf52461c4902514130
2015-12-26 13:52:21 +05:30
Jenkins 9910a4726c Merge "Pass environment variables of proxy to tox" 2015-12-14 12:54:22 +00:00
Ondřej Nový e77627b064 Deprecated tox -downloadcache option removed
Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: I033ee324bbfeaabd1f3e830bbed8d8d11fd77d96
2015-12-11 23:50:27 +01:00
Ghanshyam 78adbf7834 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: I271ab2581af08ffe0a345b0b795f8ae733e6cc0a
2015-12-11 08:19:44 +00:00
Tatyana Leontovich 921c86ed3a Fix gate job for ostf repo
The thing is that nailgun tests require postgresql backend to
be available. So, we need to prepare it before running tests.
Fortunately, all unit tests are run on nodes where postgresql
is installed.

Change-Id: I8f93bb78cb4144f993fb55936e157b5fe153a4c1
Closes-Bug: #1516609
2015-11-17 15:05:46 +03:00
Sebastian Kalinowski cbe0ea30d9 Added hacking checks to tox
Fixed all places where hacking rules (v0.7) was failing
Replaced ''' with """ to make them consistent

Change-Id: I9c1c20f910df696056d2a6a91c33ff7bad266b9f
Related-Bug: #1404892
Closes-Bug: #1408240
2015-01-19 12:36:14 +00:00
Sebastian Kalinowski 7c9a83539c Improved tox configuration
tox.ini is now similar to the one from Nailgun's code:
 * renamed 'pep8' env
 * added 'venv' env to run any command
 * replaced pep8 script with flake8
 * flake8 conf inside tox.ini
 * updated requirements for new tox.ini

Change-Id: I74c9b7f7bd137b6284e4e3dd5c131f348b564d78
Partial-Bug: #1404892
2015-01-07 11:16:23 +01:00
Dima Shulyak 5d24a68269 Ostf config refactoring
- Use oslo.config as single configuration option
- some tests usage clarification

Closes-Bug: #1326351
Change-Id: Ibff61181f338d28cb43eb61d6a73e5b80d6dbe7f
2014-06-24 15:21:39 +03:00
Aleksandra Fedorova 7fc76e94a9 Add flake8 tests and fix flake8 notifications
Use latest flake8.

As a part of flake8 fixes:
- fix node_username in fuel_health/savanna.py,
- fix --tests option in fuel_plugin/ostf_client/ostf.py.

Change-Id: I3f8b667cf73e6426300febdb476bd2a312ba5baa
Closes-Bug: #1321907
2014-06-05 18:25:15 +04:00
Tatyana Leontovich c39f80fbd3 Disable python 2.7 verifications
Change-Id: I09ad73a5ee3606cb73a665d5faec96ef94c6d784
2013-11-01 18:08:00 +02:00
Tatyana Leontovich 4833ad0b9c Fix path for test-requires
Change-Id: Ie8c412fd9d4002df9a4caad19a9e00ac644a3a1b
2013-11-01 17:56:27 +02:00
Artem Roma 8c0fa6ed46 Field 'deployment_tags' for tests and test_sets alongside with migration to
support these changes were added. To fabfile task that performs creation
of new alembic migration was added. Additional refactoring and non-major
fixes.

cluster_id field was added for test_sets (migration script was
supplied). Logic of discovering test_sets and tests was moved to
controllers (test-set controller). Nose plugin was refactored. Tests was not be
supplied for new features.

Test discovering in controllers. Models description and discovery logic changing

New pure init revision for alembic (other have been deleted). Some non-major refactoring to other files

All system was refactored in order to support new logic of discovering test_sets and tests in ostf runtime

Non-major fix in fabfile. For unit tests logic that controlls data writing to db from tests has been added. Test for nose_discovery have been supplied

Some non-major fixes to nose_discovery plugin. Unit tests for nose_discovery have been finished

deployments_types_tests were added for the purpose of testing new discovery behaviour and with intesions to keep logic defined with dummy_tests. Unit tests for nose discovery have been fixed.

New fake empty tests were added just to keep logic defined in dummy_tests

Unit tests for wsgi_controllers have been fixed

unit tests for wsgi controllers have been finished

Some fixes to wsgi contorollers (now test_set controller returns non
first result from query but all; test controller return all tests with
no test_run id present within it). Nose discovery function was fixed:
now it searches for test_sets for given cluster id without checking data
in db (in this case sqlalchemy merge should prevent from making
dublicates). Some methods in nose_storage_plugin were fixed for the sake
of supporting new behaviour of get_description function (with new
addition value returning - deployment_tags). Attemptings to rewrite
functional tests were made thus TestingAdapterClient was modified. Some
other non-major fixes were added.

New changes to nose_discovery func (checking out of cluster's
redeploying, implementing is not finished). Some changed to controllers
(mostly to returning value). Nose discovery tests were changed in order
to implement future changes. Proper processing of debug_tests path was
added to wsgi_utils.

Some fixes to discovery logic and different tests

BaseTestingAdapter was simplified. Several functional tests have been
fixed.

For Test class new element 'disabled' for statuses enumerate was added.
New initial_migration was added (since models were modified). Functional
tests were fixed to support new logic.

Smth strange with wsgi_utils.

Test for redeployed cluster were added to test_wsgi_controllers.py.
multinode_deployment_tests were fixed.

Change-Id: Ie9acfc6b57c4c3d2d1e5a7480929328fb193bf2c
2013-10-08 14:55:40 +03:00
Tatyanka afbe1ea46c Move plugin from ostf_plugin repo 2013-09-18 14:20:11 +03:00
Dmitry Shulyak 82a19ce559 fix setup and add tox with pep8 2013-09-11 14:25:18 +03:00