In [0] a 10 minute pause was added to the propose-update-constraints
playbook in order to resolve issues with new releases not showing up
immediately on pypi. While this seems to have worked well, the pause is
not necessary in those cases where no actual review gets generated.
Move the pause deeper into the script so that is only actually executed
when needed.
[0] 45428f1f9f
Change-Id: I3dab786627e230d1418a7975be16eff0ea7d1fd9
8 lines
262 B
YAML
8 lines
262 B
YAML
- name: Propose Constraints Update
|
|
hosts: all
|
|
tasks:
|
|
- name: Propose constraints update
|
|
command: "{{ ansible_user_dir }}/scripts/release-tools/update_constraints.sh {{ zuul.tag }}"
|
|
args:
|
|
chdir: "src/{{ zuul.project.canonical_name }}"
|