Ian Wienand 96052cfebf virtualenv-config : add download for virtualenv seeder
As described in the inline comments, this is working around a broken
version of setuptools vendored by virtualenv currently.  Specify in a
config file that it should download the latest helper tools, rather
then rely on the inbuilt versions.

Add to the base-test pre-playbook; after testing we can move to the
base playbook.

Change-Id: Ib17017637eae81a3ff57302e7c77945f2045b5ac
2020-03-27 11:54:31 +11:00

41 lines
1.2 KiB
YAML

- hosts: localhost
roles:
- role: emit-job-header
zuul_log_path_shard_build: true
- log-inventory
- hosts: all
pre_tasks:
# NOTE(pabelanger): Until we hit the validate-host role, we have a minimal
# set of ansible variables collected by zuul-executor. This doesn't include
# network variables (ansible_default_ipv4 / ansible_default_ipv6) so gather
# these variables as they are important to the configure-unbound role.
- name: Gather network facts
setup:
gather_subset: 'network'
roles:
- add-build-sshkey
- start-zuul-console
- ensure-output-dirs
- hosts: all
roles:
# NOTE(pabelanger): We run this role in its own play to ensure unbound is
# restarted before proceeding with any other role. This is because we use
# notify / handler to restart the unbound service. With ansible notify
# actions are triggered at the end of each block of tasks in a play.
- configure-unbound
- hosts: all
roles:
- validate-host
- prepare-workspace-git
- mirror-info
- role: configure-mirrors
set_apt_mirrors_trusted: True
# NOTE(ianw): 2020-03-27 : broken setuptools, until
# https://github.com/pypa/virtualenv/issues/1752
# releases
- virtualenv-config