Update jobs

Remove tox-linters job, the default job now runs on bionic, so there's
no need to use an extra job. Replace it with the default job.

Replace obsolete build-openstack-sphinx-docs with new template
build-openstack-docs-pti which calls "tox -e docs" directly.
Update tox.ini for this to use python3.

Fix URL in docs to use new location of repo after OpenDev rename.

Change-Id: I8c46d95ae1156af01eb07fe7559bbf9e751cf055
This commit is contained in:
Andreas Jaeger 2019-05-25 17:59:34 +02:00
parent e19b3aab43
commit 07e41547b8
3 changed files with 6 additions and 12 deletions

View File

@ -1,17 +1,10 @@
---
- job:
name: openstack-tox-linters-npm
parent: openstack-tox-linters
# bionic needed for less ancient nodejs/npm which would fail to install
# cspell regardless engines mentioned in package.json
nodeset: ubuntu-bionic
- project:
templates:
- build-openstack-docs-pti
check:
jobs:
- build-openstack-sphinx-docs
- openstack-tox-linters-npm
- openstack-tox-linters
gate:
jobs:
- build-openstack-sphinx-docs
- openstack-tox-linters-npm
- openstack-tox-linters

View File

@ -22,7 +22,7 @@ extensions = [
]
# openstackdocstheme options
repository_name = 'openstack/coats'
repository_name = 'x/coats'
use_storyboard = True
bug_tag = ''

View File

@ -35,6 +35,7 @@ whitelist_externals =
xargs
[testenv:docs]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -b html -W doc/source doc/build/html