Use releasenotes pre playbook for translations

We need reno installed and we don't need to use a full tox env to do it.
Use the pre playbook we use for releasenotes.

Change-Id: Icc2c403563e3914db2821ae78ef954a6b47c7b43
This commit is contained in:
Monty Taylor 2017-11-17 08:40:50 -06:00
parent 2c7290cefd
commit c5036ea798
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
2 changed files with 3 additions and 1 deletions

View File

@ -428,7 +428,7 @@ function extract_messages_releasenotes {
local keep_workdir=$1
# Extract messages
tox -e venv -- sphinx-build -b gettext -d releasenotes/build/doctrees \
sphinx-build -b gettext -d releasenotes/build/doctrees \
releasenotes/source releasenotes/work
rm -rf releasenotes/build
# Concatenate messages into one POT file

View File

@ -891,6 +891,7 @@
- job:
name: upstream-translation-update
parent: propose-updates
pre-run: playbooks/releasenotes/pre.yaml
run: playbooks/translation/upstream-translation-update.yaml
post-run: playbooks/publish/openstack-artifacts.yaml
semaphore: translations
@ -906,6 +907,7 @@
- job:
name: propose-translation-update
parent: propose-updates
pre-run: playbooks/releasenotes/pre.yaml
run: playbooks/translation/propose-translation-update.yaml
semaphore: translations
required-projects: