Ansible job definitions for Zuul
Go to file
Clark Boylan 4f02e92e70 Reduce the number of loops in prepare-workspace-git
Our prepare-workspace-git role was trying to express a few related steps
as ansible tasks. The problem is that each one of these steps had to
iterate through the entire project list incurring the ansible startup
time for each task of each loop iteration. We can speed things up a bit
if we use a single loop and a slightly more complicated shell task that
checks if things like directories exist before cloning/initing git
repos.

Note this is still slower than if we removed the Ansible task loop
entirely and move this logic into an ansible module that can run a loop
internally. However, making a change like that is significantly more
involved as we'd likely end up exec'ing git with python and need to
manage logging, errors, and so on. The shell module already handles that
for us in a nice way.

Change-Id: Ic87eb182cc4ca4bd0acdd1aa46c2d72dc1165e90
2022-09-22 11:09:05 -07:00
doc Merge "Add the post-reboot-tasks role" 2022-06-17 15:46:53 +00:00
playbooks linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
roles Reduce the number of loops in prepare-workspace-git 2022-09-22 11:09:05 -07:00
test-playbooks Remove redundant ssh known hosts prep 2022-09-12 12:55:24 -07:00
tests Upgrade ansible-lint to 5.0 2021-03-17 15:44:43 +00:00
tools Fedora : update to Fedora 36 release nodes 2022-08-22 15:27:11 +10:00
util-tasks More E208 mode fixes 2020-10-31 07:34:03 +00:00
zuul-tests.d Fedora : update to Fedora 36 release nodes 2022-08-22 15:27:11 +10:00
zuul.d upload-pypi: support API token upload 2022-07-13 15:18:08 +10:00
.ansible-lint linters: update to ansible-lint 6 2022-07-27 17:13:39 +10:00
.gitignore Enable progressive mode with ansible-lint 2020-11-07 03:20:19 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:25:30 +00:00
.stestr.conf Add a python unit test framework 2018-07-25 09:11:25 -07:00
.yamllint linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
bindep.txt Switch py3.10 testing to Ubuntu Jammy 2022-05-04 16:52:37 -07:00
CONTRIBUTING.rst Link the policy to the CONTRIBUTING.rst file 2020-01-28 07:21:08 -05:00
LICENSE Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
linters-requirements.txt ansible-lint: pin to < 6.5 2022-08-29 11:07:31 +10:00
README.rst Add installation/deprecation documentation 2018-04-11 08:03:57 -07:00
setup.cfg Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
setup.py setup.py: override modules to stop auto-detection 2022-07-27 11:14:06 +10:00
test-constraints.txt pin oauthlib version for python2.7 2022-01-27 14:35:06 +01:00
test-requirements.txt Fix two testing problems 2022-06-16 10:30:00 -07:00
tox.ini linters: lint that library files don't start with #! 2022-09-16 07:11:58 +10:00

Zuul Jobs

This repo contains a set of Zuul jobs and Ansible roles suitable for use by any Zuul system.