diff --git a/playbooks/translation/post.yaml b/playbooks/translation/post.yaml new file mode 100644 index 0000000000..edb81edc8e --- /dev/null +++ b/playbooks/translation/post.yaml @@ -0,0 +1,3 @@ +- hosts: all + roles: + - fetch-translations-subunit-output diff --git a/playbooks/translation/propose-translation-update.yaml b/playbooks/translation/propose-translation-update.yaml index ea23446103..24429e3458 100644 --- a/playbooks/translation/propose-translation-update.yaml +++ b/playbooks/translation/propose-translation-update.yaml @@ -1,4 +1,3 @@ ---- - hosts: all roles: - prep-zanata @@ -9,7 +8,3 @@ command: "{{ ansible_user_dir }}/scripts/propose_translation_update.sh {{ zuul.project.short_name }} {{ zuul.branch }} {{ zuul.job }}" args: chdir: "{{ zuul.project.src_dir }}" - -- hosts: all - roles: - - fetch-translations-subunit-output diff --git a/playbooks/translation/upstream-translation-update.yaml b/playbooks/translation/upstream-translation-update.yaml index 4dd438f1db..7b9bcb5bee 100644 --- a/playbooks/translation/upstream-translation-update.yaml +++ b/playbooks/translation/upstream-translation-update.yaml @@ -1,4 +1,3 @@ ---- - hosts: all roles: - prep-zanata @@ -13,4 +12,3 @@ - hosts: all roles: - fetch-translation-output - - fetch-translations-subunit-output diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index ef79c4d181..a49569f2de 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -1226,7 +1226,9 @@ Push strings for translation to translation server. pre-run: playbooks/translation/pre.yaml run: playbooks/translation/upstream-translation-update.yaml - post-run: playbooks/publish/openstack-artifacts.yaml + post-run: + - playbooks/translation/post.yaml + - playbooks/publish/openstack-artifacts.yaml semaphore: translations vars: fileserver_leading_path: translation-source @@ -1246,6 +1248,7 @@ proposed change. pre-run: playbooks/translation/pre.yaml run: playbooks/translation/propose-translation-update.yaml + post-run: playbooks/translation/post.yaml vars: constraints_file: '{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt' semaphore: translations