Merge "Fix translation scripts"
This commit is contained in:
commit
2f446c3a85
@ -428,7 +428,7 @@ function extract_messages_releasenotes {
|
||||
local keep_workdir=$1
|
||||
|
||||
# Extract messages
|
||||
sphinx-build -b gettext -d releasenotes/build/doctrees \
|
||||
.venv/bin/sphinx-build -b gettext -d releasenotes/build/doctrees \
|
||||
releasenotes/source releasenotes/work
|
||||
rm -rf releasenotes/build
|
||||
# Concatenate messages into one POT file
|
||||
|
3
playbooks/translation/pre.yaml
Normal file
3
playbooks/translation/pre.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- ensure-reno
|
@ -903,7 +903,7 @@
|
||||
- job:
|
||||
name: upstream-translation-update
|
||||
parent: propose-updates
|
||||
pre-run: playbooks/releasenotes/pre.yaml
|
||||
pre-run: playbooks/translation/pre.yaml
|
||||
run: playbooks/translation/upstream-translation-update.yaml
|
||||
post-run: playbooks/publish/openstack-artifacts.yaml
|
||||
semaphore: translations
|
||||
@ -919,7 +919,7 @@
|
||||
- job:
|
||||
name: propose-translation-update
|
||||
parent: propose-updates
|
||||
pre-run: playbooks/releasenotes/pre.yaml
|
||||
pre-run: playbooks/translation/pre.yaml
|
||||
run: playbooks/translation/propose-translation-update.yaml
|
||||
semaphore: translations
|
||||
required-projects:
|
||||
|
Loading…
x
Reference in New Issue
Block a user