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:
parent
e19b3aab43
commit
07e41547b8
15
.zuul.yaml
15
.zuul.yaml
@ -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:
|
- project:
|
||||||
|
templates:
|
||||||
|
- build-openstack-docs-pti
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- build-openstack-sphinx-docs
|
- openstack-tox-linters
|
||||||
- openstack-tox-linters-npm
|
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- build-openstack-sphinx-docs
|
- openstack-tox-linters
|
||||||
- openstack-tox-linters-npm
|
|
||||||
|
@ -22,7 +22,7 @@ extensions = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
# openstackdocstheme options
|
# openstackdocstheme options
|
||||||
repository_name = 'openstack/coats'
|
repository_name = 'x/coats'
|
||||||
use_storyboard = True
|
use_storyboard = True
|
||||||
bug_tag = ''
|
bug_tag = ''
|
||||||
|
|
||||||
|
1
tox.ini
1
tox.ini
@ -35,6 +35,7 @@ whitelist_externals =
|
|||||||
xargs
|
xargs
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
basepython = python3
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps = -r{toxinidir}/doc/requirements.txt
|
||||||
commands = sphinx-build -b html -W doc/source doc/build/html
|
commands = sphinx-build -b html -W doc/source doc/build/html
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user