Commit Graph

11 Commits

Author SHA1 Message Date
Hervé Beraud 2ce2f4c4ed Align contributing doc with oslo's policy
Related to:
- https://review.opendev.org/#/c/723044/
- https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Change-Id: I0e4bca478301e9aba4a6a22b8d8a5bdc6aa2224f
2020-05-04 18:22:54 +02:00
Dirk Mueller 48d5380f2e Drop MySQL-python dependency from oslo.db
In order to fade out MySQL-python from OpenStack we need to stop
testing it. Add release notes entry and adjust documentation
references accordingly.

Depends-On: Ie1f07062ed18350bcbb9e7b5e33c7ab2390be9ab
Change-Id: Ie17f4543fa3d72b507d88d2c4023a9a5a430419e
2017-10-17 07:17:06 +02:00
loooosy a41d9df8a1 Update the documentation link
This patch is proposed according to the Direction 10 of doc
migration(https://etherpad.openstack.org/p/doc-migration-tracking).

Change-Id: I6904da7a5f2bd12cf44d047e4b865389e44fb56b
2017-08-23 14:46:27 +08:00
Andreas Jaeger 353ab39047 Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.

This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.

See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html

Update CONTRIBUTING.rst for this.

Needed-By: Ia298e25f9b15a2dcfc4553ea058fc2c0f3705a8b
Change-Id: I825b72e3f645d02f7efdb3315a12825a8c937759
2017-02-06 21:56:20 +01:00
Julien Danjou 044cf85ef5 Allow testing of MySQL and PostgreSQL scenario locally
This leverage pifpaf to start MySQL or PostgreSQL temporarily and allow to test
provisioning directly without being on OpenStack CI by adding new tox
targets:

- py27-mysql
- py27-postgresql
- py34-mysql
- py34-postgresql
- py27-all
- py34-all

These targets will start MySQL or PostgreSQL before running the tests,
while exporting the connection string to $PIFPAF_URL. The `all' target
will start both MySQL and PostgreSQL and will run the tests against
these backends, plus SQLite.

Also, this patches add OS_TEST_DBAPI_ADMIN_CONNECTION to be allowed to
be passed through tox. This allows to run the opportunistic tests on a
more persistent pifpaf database, for example by running tox with:

$ eval `pifpaf -g OS_TEST_DBAPI_ADMIN_CONNECTION run postgresql`
$ echo $OS_TEST_DBAPI_ADMIN_CONNECTION
postgresql://localhost/postgres?host=/var/folders/7k/pwdhb_mj2cv4zyr0kyrlzjx40000gq/T/tmpMGqN8C&port=9824
$ tox -e py27
[…]
$ tox -e py34
[…]
$ kill $PIFPAF_PID

Change-Id: I1ee582e6f96e98378f02be79f4aaff0f447a062a
Depends-On: Id3e6b694bb186724517599cd9875ad80ceeee053
2016-05-19 16:19:53 +02:00
Davanum Srinivas 5645b7b93d Fix hacking rules and docs job
Change-Id: I2d86f266165ad98ded9f0bb9f11abfd8aa2c09ef
2015-08-08 07:30:58 -04:00
Jeremy Stanley 9b552046f5 Switch from MySQL-python to PyMySQL
As discussed in the Liberty Design Summit "Moving apps to Python 3"
cross-project workshop, the way forward in the near future is to
switch to the pure-python PyMySQL library as a default.

Added a special test environment to keep MySQL-python support.
Documentation modified.

https://etherpad.openstack.org/p/liberty-cross-project-python3

Change-Id: I12b32dc097a121bd43991bc38dd4d289b65e86c1
2015-06-18 15:42:23 +03:00
Jeremy Stanley 161bbb2831 Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: I318dea15e0d2f7ef22427fe22d8d57173e60e784
2014-12-05 03:30:38 +00:00
Victor Sergeyev b6d363def0 Add info on how to run unit tests
Change-Id: I7178fb2ca6e17d7428a44ec2cefe0634bb134634
2014-11-19 15:21:20 +02:00
Victor Sergeyev df1c1dc23c Added ``docs`` environment to tox.ini
Added the new tox environment to build docs.
Fixes in oslo.db documentation building

Change-Id: Icab4f299df3d8a4c40dc4fd7292609109f206afd
2014-06-06 12:47:17 +03:00
Victor Sergeyev e4cfa6d39d Fix the graduate.sh script result 2014-04-18 11:33:16 +03:00