This will probably go away eventually but before that can happen the
child change adding nox docs support needs to land.
Change-Id: Ibf25e07ceb80e54263223c7dc900a444143ecbac
We load the zuul_return plugin out of zuul's code base. Zuul v6 moved
the location of this plugin. Update our linter setup to use the new
location.
Change-Id: Ie61117338d01f91b01201f109a7b377c22167931
Ansible changed, then unchanged their behavior around file modes, but
being explicit is likely a good idea to handle any new future changes
from ansible.
We set modes generously (to 755 for dirs and 644 for files) to avoid
unexpected access problems. Note that depending on the perms in AFS this
may cause a perms ot update on existing dirs but that should be fine as
long as we aren't making them more restrictive.
Finally we skip two cases where modes are required by the linting rule
because they are tarball extraction steps and applying a single mode to
all dirs and files in a tarball doens't make a ton of sense.
Includes bumping linter configuration.
Change-Id: Iacf41549928ba7f05f0f71a79ddef1b6e1154e2a
Co-authored-by: Sorin Sbarnea <ssbarnea@redhat.com>
Copy over the linter from zuul-jobs to check that all jobs are
documented.
Depends-On: https://review.opendev.org/719042
Change-Id: I8cb7d8e81472bf65f5802358d4c1000fa168547e
Allows calling ansible-lint directly instead of hardcoding its
configuration inside tox.
This plays much better with other tools, like editors which may
perform the linting themselves.
Change-Id: I09e48322f11de33a2ce97a27cf7cf93225ccc12c
We need the roles from zuul-jobs for linting our playbooks. This
is copied from project-config. In order to satisfy that, add
zuul-jobs to the required projects so that it'll get cloned and
pushed to the test node.
Change-Id: Ib2e2a6a4b05071199e14570c445dc1a2eda9e9b7
Our tests need to compile some packages, add binary dependencies.
The list is the same as used for openstack-zuul-jobs.
Add tests files to pass the syntax checks.
Adjust test invocation to pass fake values to variables.
Change-Id: I7368990628086a03501c432b86ace48fb7a50ba5
Add usual linting job for this repo to have some basic testing.
Also, add the normal .gitignore to blacklist .tox and some other files.
Note this change is not self-testing since the repo is a config-project.
Change-Id: Ie54095f39f9bb4d10d6f809c573ea712f3885af6