- Use zuul_return fake module to make ansible lint happy, this allows
to remove Zuul import.
- While ansible-lint 4.2.0 is now able to detect playbooks/roles, this
is broken, so don't use it
- move its config out of tox.ini so it can be used by any tools, or
without tox
Change-Id: Ie8935f47db855647e19ae091044e5ac1871f1551
Co-Authored-By: Sorin Sbarnea <ssbarnea@redhat.com>
Co-Authored-By: Andreas Jaeger <aj@suse.com>
The current implementation of the task is not idempotent.
That's fine in CI but when running locally it forces a cleanup
of the environment every time.
Change-Id: Ifdb573bc09ddb2d39674218e9f631e8c15f936cb
Zuul has transitioned zuul.projects to a dict that mirrors
zuul._projects. Convert users back to zuul.projects so we can remove
the underscore version in zuul.
Change-Id: Ib71241a862cf29f6e542dc1d4a2c5cd554d5d7d8
Depends-On: I3c011f72933e98ccbf8badf0e9197c8659766c51
This re-implements I430277369f9ecb2ecc0a31f795c72bba83bcecff (that had
to be reverted with commit c8628dd8f846567a3686e428324f4b29b8aa5ed4).
The original change had a small syntax error using
"zuul.projects.values()" instead of "zuul._projects.values()". This
is corrected here.
It also had a problem with_items: zuul._projects.values() -- in
python3 this returns a view, which doesn't work with "with_items:"
... so you need to "| list".
Integration test results (for use-cached-repos at least) in
I7828f78efd1d20031cf1c34629200f265576e7a7.
Change-Id: I9d88f405f34d1c5f75ebf4f52cedfaaab20c3bda
This is not working, let's figure it out after a revert.
This reverts commit a2767b225aedcf1ea340e1120e41fb6a71bb520a.
Change-Id: Ib26e22f6285abfd06f85029a6b283b743c6cbd4a
Zuul exports the projects list as a dictionary in _projects in the
depends-on. The idea is that we switch these jobs to that, and do
some testing. When ready, we switch "projects" to be the dictionary
view, and revert "_project" calls here to "project".
Change-Id: I430277369f9ecb2ecc0a31f795c72bba83bcecff
This adds a role to clone the cached repos into the workspace,
and alters base-test to use it as well as follow-up roles to
synchronize their states and start zuul_console, instead of the
default prepare-workspace role which uses rsync and is less
efficient.
Change-Id: Ifb0fedf1df1d50444ecb1f3fb03f21b112c9dad9
Depends-On: Ib50ddff0198411e7cd5857d5bfbb915f02baadf1