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
11 lines
439 B
YAML
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 }}"
|