Merge "Extend Zanata Pull with module option and more dashboard plugins"

This commit is contained in:
Zuul 2018-11-10 10:23:04 +00:00 committed by Gerrit Code Review
commit 3940a1602d
2 changed files with 25 additions and 6 deletions

View File

@ -14,7 +14,7 @@
# limitations under the License.
- name: Perform a Zanata Pull Catalog
command: "{{ horizon_bin }}/horizon-manage.py pull_catalog -p {{ translation.project }} -b {{ (translation.branch | default(horizon_translations_project_version)) | replace('/', '-') }}"
command: "{{ horizon_bin }}/horizon-manage.py pull_catalog -p {{ translation.project }} -m {{ translation.module }} -b {{ (translation.branch | default(horizon_translations_project_version)) | replace('/', '-') }}"
args:
chdir: "{{ horizon_lib_dir }}/"
changed_when: false
@ -27,11 +27,7 @@
- name: Perform Zanata Compile Messages
command: "{{ horizon_bin }}/horizon-manage.py compilemessages"
args:
chdir: "{{ horizon_lib_dir }}/{{ item }}"
with_items:
- horizon
- openstack_dashboard
- openstack_auth
chdir: "{{ horizon_lib_dir }}/"
tags:
- skip_ansible_lint
notify: Restart apache2

View File

@ -15,6 +15,29 @@
_horizon_translations_pull:
- project: "horizon"
branch: master
enabled: True
module:
- horizon
- openstack_auth
- openstack_dashboard
- project: "designate-dashboard"
branch: master
enabled: True
module: designatedashboard
- project: "sahara-dashboard"
branch: master
enabled: True
module: sahara_dashboard
- project: "heat-dashboard"
branch: master
enabled: "{{ horizon_enable_heat_ui }}"
module: heat_dashboard
- project: "magnum-ui"
branch: master
enabled: True
module: magnum_ui
- project: "trove-dashboard"
branch: master
enabled: True
module: trove_dashboard