OpenStack DNS As A Service (Designate)
Go to file
Ghanshyam 4f3883775d Use Tempest 'all' tox env
Tempest recently moved tox default
to py3 including all-plugin env.
-https://review.opendev.org/#/c/703011/

This will fail the py2 jobs which are using
all-plugin tox env. Because tox all-plugin
env var enable the sitepackages=True. Py2 jobs
install the tempest plugins on py2 and all-plugin
tox try to find the installed plugins on py3 which
cause no test to run and fail the job.

tox all-plugin has been deprecated since long and not
supposed to use for plugins who already in migrated to
separate repo in queens cycle.

Using tox 'all' env to fix the issue.

Change-Id: Ib1a2be90c0b3dbacc6daf52f0fc6f326ab47fc98
Closes-Bug: 1862240
2020-02-09 22:19:38 +00:00
api-ref/source Merge "Remove the deprecated "giturl" option" 2018-02-03 14:16:52 +00:00
contrib Improve sink recordset creation 2019-12-29 02:48:05 +00:00
designate Fixing services getting stuck on shutdown 2020-01-16 18:54:44 +00:00
devstack Merge "Drop use of USE_SYSTEMD var in devstack plugin" 2020-01-29 23:30:01 +00:00
doc [ussuri][goal] Drop python 2.7 support and testing 2019-12-13 18:49:14 +00:00
etc/designate Refactored service layer 2019-09-20 15:10:46 -07:00
playbooks Use Tempest 'all' tox env 2020-02-09 22:19:38 +00:00
rally-jobs Add validation to improve pep8 check for designate project 2017-11-20 12:26:16 +00:00
releasenotes Imported Translations from Zanata 2019-12-25 09:11:28 +00:00
roles Update Zuul Jobs 2019-03-25 15:32:40 +00:00
tools Switch to using stestr 2018-06-03 11:32:57 -04:00
.coveragerc Update .coveragerc after the removal of respective directory 2016-10-18 17:56:48 +05:30
.gitignore Remove testrepository 2018-07-11 17:44:40 +07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:42:14 +00:00
.stestr.conf Switch to using stestr 2018-06-03 11:32:57 -04:00
.zuul.yaml Use Tempest 'all' tox env 2020-02-09 22:19:38 +00:00
CONTRIBUTING.rst Added CONTRIBUTING.rst file to the project 2018-07-06 10:50:46 +08:00
LICENSE Add LICENSE file. 2013-06-18 16:13:03 -04:00
README.rst Updated Readme 2019-10-03 00:36:42 -07:00
babel.cfg Setup for translation 2014-07-04 16:40:02 +02:00
designate.sublime-project Add __pycache__ to ST2 Ignore 2015-07-09 20:19:53 +01:00
ipa-requirements.txt add support for FreeIPA backend - phase 5 - requirements 2014-05-07 17:16:12 -06:00
lower-constraints.txt Switch to apache for designate-api 2019-10-19 07:16:14 +00:00
requirements.txt [ussuri][goal] Drop python 2.7 support and testing 2019-12-13 18:49:14 +00:00
setup.cfg Merge "Remove broken target sync extension" 2019-12-16 19:31:37 +00:00
setup.py Updated from global requirements 2017-03-08 23:22:13 +00:00
test-requirements.txt Switch to apache for designate-api 2019-10-19 07:16:14 +00:00
tox.ini [ussuri][goal] Drop python 2.7 support and testing 2019-12-13 18:49:14 +00:00

README.rst

Team and repository tags

image

OpenStack Designate

Designate is an OpenStack project, providing DNSaaS.

IRC: #openstack-dns @ freenode

Installation: https://docs.openstack.org/designate/latest/

API

To learn how to use Designate's API, consult the documentation available online at:

For more information on OpenStack APIs, SDKs and CLIs in general, refer to:

Development

Designate follows the OpenStack Gerrit Workflow

Setup

Setup a working environment:

git clone https://opendev.org/openstack/designate
cd designate
virtualenv .venv
. .venv/bin/activate
pip install -r requirements.txt -r test-requirements.txt
pip install -e .

Building Docs

To build the documentation from the restructured text source, do the following:

tox -e docs

Now point your browser at doc/build/html/index.html (the official documentation is published to docs.openstack.org by the maintainers.

Testing

Execute all unit tests

tox -e py36

Execute only backend tests

tox -e py36 -- unit.backend

Execute only a single test

tox -e py36 -- unit.backend.test_pdns4.PDNS4BackendTestCase.test_create_zone_success

Contributing

Install the git-review package to make life easier

pip install git-review

Branch, work, & submit:

# cut a new branch, tracking master
git checkout --track -b bug/id origin/master
# work work work
git add stuff
git commit
# rebase/squash to a single commit before submitting
git rebase -i
# submit
git-review

Other Information