project-config/playbooks/translation/upstream-translation-update.yaml
Andreas Jaeger 27f3d26313 Add horizon to translation jobs
The translation jobs check out horizon directly, let's add it to
required-projects instead so that we can use the on-disk copy.

Pass the location of the horizon directory to the scripts.

Needed-By: https://review.opendev.org/682809
Change-Id: If56a3f4c6a20414fdacb5c6395e9f0efd7eb8395
2019-09-18 09:08:18 +02:00

15 lines
493 B
YAML

- hosts: all
roles:
- prepare-zanata-client
- legacy-zuul-git-prep-upper-constraints
tasks:
- name: Run upstream_translation_update.sh script
command: "{{ ansible_user_dir }}/scripts/upstream_translation_update.sh {{ zuul.project.short_name }} {{ zuul.job }} {{zuul.branch}} {{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/horizon'].src_dir }}"
args:
chdir: "{{ zuul.project.src_dir }}"
- hosts: all
roles:
- fetch-translation-output