Rename docs job

Follow job rename in openstack-manuals, remove now unused
checkbuild environment.

Depends-On: https://review.opendev.org/676956
Change-Id: Icf5ab7c00a17cda9c6f54dbdf6f53d165d87da3c
This commit is contained in:
Andreas Jaeger 2019-08-16 16:21:14 +02:00
parent 36fd517e8e
commit 7ecc775cf4
3 changed files with 6 additions and 15 deletions

View File

@ -1,13 +1,13 @@
# Zuulv3 CI setup for OpenStack. # Zuulv3 CI setup for OpenStack.
# The build-tox-manuals-checkbuild job is defined in openstack-manuals. # The build-tox-manuals-publishdocs job is defined in openstack-manuals.
- project: - project:
check: check:
jobs: jobs:
- build-tox-manuals-checkbuild - build-tox-manuals-publishdocs
gate: gate:
jobs: jobs:
- build-tox-manuals-checkbuild - build-tox-manuals-publishdocs
promote: promote:
jobs: jobs:
- promote-openstack-manuals - promote-openstack-manuals

View File

@ -52,7 +52,8 @@ gating jobs.
If you like to run individual tests, run: If you like to run individual tests, run:
* ``tox -e checkbuild`` - to actually build all guides * ``tox -e publishdocs`` - to actually build all guides (used in CI
for building and publishing)
* ``tox -e upstream-slides`` - build the Upstream training * ``tox -e upstream-slides`` - build the Upstream training
* ``tox -e training-slides`` - build the Training guides * ``tox -e training-slides`` - build the Training guides

12
tox.ini
View File

@ -1,6 +1,6 @@
[tox] [tox]
minversion = 3.1.1 minversion = 3.1.1
envlist = checkbuild envlist = publishdocs
skipsdist = True skipsdist = True
ignore_basepython_conflict = True ignore_basepython_conflict = True
@ -27,16 +27,6 @@ commands = {posargs}
extension = .rst,.txt extension = .rst,.txt
ignore-path = doc/upstream-training/build/*,doc/training-guides/build/* ignore-path = doc/upstream-training/build/*,doc/training-guides/build/*
[testenv:checkbuild]
commands =
{[testenv:upstream-slides]commands}
{[testenv:training-slides]commands}
# Publish for check site
mkdir -p publish-docs/html/upstream-training
mkdir -p publish-docs/html/training-guides
rsync -av doc/upstream-training/build/slides/ publish-docs/html/upstream-training/
rsync -av doc/training-guides/build/slides/ publish-docs/html/training-guides/
[testenv:generatepot-training] [testenv:generatepot-training]
# Generate POT files for translation # Generate POT files for translation
commands = commands =