project-config/playbooks/proposal/propose-update-constraints.yaml
Monty Taylor cb1fe3a91d
Add propose-update-constraints job
After we release to PyPI, we want to send out update-constraints.

We don't need to rewrite all the scripts involved with this for now, so
update them to call each other using relative not absolute paths.

Then, copy the scripts dir from the trusted checkout on the executor
to the homedir on the remote host so that we can execute the appropriate
script. Local paths are relative to the location of the playbook.

Change-Id: I080f71fefe79f7faa581fae91eac74384cef4050
2017-08-25 17:33:56 -05:00

8 lines
228 B
YAML

- 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 }}"