27f3d26313
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
15 lines
493 B
YAML
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
|