47eddb946b
To make get-ansible-role-requirements usable for 3rd party Zuul based CI, which may have test nodes that do not conform to the previously hard-coded /home/zuul home path for Zuul workers, we need to make this Zuul sources path dynamic based on the home directory of the Zuul worker user. However, we cannot rely on {{ ansible_user_dir }} inside get-ansible-role-requirements.yml, since it uses become: yes. This means ansible_user_dir will be /root, rather than the Zuul user's home directory. The solution is to pass the ZUUL_SRC_PATH that Zuul is operating with into the OSA test job environment, and use this environment var inside our role cloning playbook to locate the Zuul sources. Change-Id: Id71c6502741285e7b83d40be8006e82c9960b7ff |
||
---|---|---|
.. | ||
post.yml | ||
run.yml |