All of these invocations of the bindep role are passing what amount to
the defaults. In zuul-jobs, doing bindep_dir: "{{ zuul_work_dir }}" is
important because it allows in-repo uses of those jobs to override how
they work for things like triggering from one repo but running on
another.
The publication jobs in project-config do not need that level of
flexibility, so just remove params and let defaults take over.
As a follow up, we could also add defaults for zuul_work_dir - and
honestly for bindep_dir - to the base job. That way we can always count
on them being set to a sane default value, and they're still
overrideable in a job.
Change-Id: I5bcda84aefa4726d0a904e8bc9698c21ca07f9a5
16 lines
393 B
YAML
16 lines
393 B
YAML
- hosts: all
|
|
pre_tasks:
|
|
- name: Install git-review
|
|
command: pip install git-review
|
|
become: yes
|
|
roles:
|
|
- role: configure-git
|
|
git_config:
|
|
user.name: OpenStack Proposal Bot
|
|
user.email: openstack-infra@lists.openstack.org
|
|
gitreview.username: proposal-bot
|
|
- legacy-copy-project-config-scripts
|
|
- add-sshkey
|
|
- bindep
|
|
- ensure-tox
|