project-config/playbooks/translation/propose-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

11 lines
439 B
YAML

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