From 7ecc775cf4dc8681b130f86dd8c6c90d8b083ef0 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 16 Aug 2019 16:21:14 +0200 Subject: [PATCH] Rename docs job Follow job rename in openstack-manuals, remove now unused checkbuild environment. Depends-On: https://review.opendev.org/676956 Change-Id: Icf5ab7c00a17cda9c6f54dbdf6f53d165d87da3c --- .zuul.yaml | 6 +++--- README.rst | 3 ++- tox.ini | 12 +----------- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 166c74bc..6056bc4f 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,13 +1,13 @@ # 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: check: jobs: - - build-tox-manuals-checkbuild + - build-tox-manuals-publishdocs gate: jobs: - - build-tox-manuals-checkbuild + - build-tox-manuals-publishdocs promote: jobs: - promote-openstack-manuals diff --git a/README.rst b/README.rst index 7fd3f8a8..89fbdeb2 100644 --- a/README.rst +++ b/README.rst @@ -52,7 +52,8 @@ gating jobs. 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 training-slides`` - build the Training guides diff --git a/tox.ini b/tox.ini index 79384dbc..1485eaa8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.1.1 -envlist = checkbuild +envlist = publishdocs skipsdist = True ignore_basepython_conflict = True @@ -27,16 +27,6 @@ commands = {posargs} extension = .rst,.txt 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] # Generate POT files for translation commands =