bf61f85cf8
ZUUL_REFNAME is not set in periodic pipelines. Provide optionally branch and use that one instead if REFNAME is not set to mimic how the script was used in v2. Change-Id: I3a514b5ffd9d0797c1bd43a0762bd5709630b1cd
9 lines
284 B
YAML
9 lines
284 B
YAML
- hosts: all
|
|
tasks:
|
|
|
|
- name: Run propose_update.sh script
|
|
command: "{{ ansible_user_dir }}/scripts/propose_update.sh {{ update_target }} {{zuul.branch}}"
|
|
args:
|
|
chdir: "src/{{ zuul.project.canonical_name }}"
|
|
environment: '{{ zuul | zuul_legacy_vars }}'
|