Configuration files for project CI systems
Go to file
Ian Wienand 826a79f50f linter: update ansible-lint; add auto-download of roles
This updates ansible-lint to the 6.x releases.  It also updates the
ansible installed to our current zuul version.

It cleans up the config file and marks it as yaml.  A few new
exceptions are added with explainations.

We don't need to fake the zuul_return by telling ansible-lint to mock
it.  This is added to the config, and we can remove the stub file.

A constant source of problems running this locally is that you have to
have the other role repos checked out so ansible-lint can do its
checks.  Add a smaller helper script for doing this locally.  In the
gate, ANSIBLE_ROLES_PATH is set to the Zuul checkouts of these
projects.  Locally, add a smaller helper "ansible-lint-roles-cache.sh"
that pulls the projects into a .cache directory.  If they are already
there, they get updated.  By default locally we will use these
checkouts.  This way, "tox -e linters" just works without having to do
anything else.

This also modifies the xargs to run the check all at once, instead of
fork for each file.  I did try autodetection but it seems like other
yaml files in the roles/playbook directories still confuse
ansible-lint.

Also I don't think we need a ansible-playbook --syntax-check step;
ansible-lint covers that.

Change-Id: I972f73037b9f904a555b81f3835ca5261639ed01
2022-08-12 09:29:11 +10:00
accessbot add prometheanfire as op for #openstack-requirements channel 2022-06-09 12:33:59 -05:00
dev/gerrit Move retired.config to external namespace 2020-06-23 18:34:35 -04:00
docs-site Rework the Infra docs index as TaCT SIG docs 2021-11-25 17:35:10 +00:00
gerrit Merge "update Review-Priority label for nova related projects" 2022-07-18 16:21:31 +00:00
gerritbot Retire openstack/security-analysis (Step 3) 2022-06-02 16:20:03 +00:00
grafana VPNAAS: remove old jobs from grafana 2022-07-22 15:37:15 +02:00
nodepool nodepool elements: fix pip upgrade venv 2022-07-06 13:27:58 +10:00
playbooks linter: use spaces between filters in jinja 2022-07-28 12:03:59 +10:00
roles linter: add name to blocks 2022-07-28 12:03:23 +10:00
specs Remove puppet-openstack-specs from infra 2021-06-25 10:51:33 -05:00
tests linter: update ansible-lint; add auto-download of roles 2022-08-12 09:29:11 +10:00
tools linter: update ansible-lint; add auto-download of roles 2022-08-12 09:29:11 +10:00
zuul Add openinfra/way to Zuul 2022-07-12 18:50:03 +00:00
zuul.d Complete charm-cinder-dell-emc-powerstore config 2022-07-27 17:39:58 +01:00
.ansible-lint linter: update ansible-lint; add auto-download of roles 2022-08-12 09:29:11 +10:00
.gitignore Switch project-config to promote jobs [3]: Update building 2019-09-14 17:03:01 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:41:29 +00:00
CONTRIBUTING.rst Update infra-manual links 2020-03-21 09:29:14 +01:00
LICENSE Add license, readme, and contributing files 2014-09-25 15:34:41 -07:00
README.rst Update infra-manual links 2020-03-21 09:29:14 +01:00
REVIEWING.rst Update links for opendev 2019-04-21 14:01:51 +00:00
bindep.txt Install ssl devel libs 2018-08-14 19:52:43 +02:00
setup.cfg setup.cfg: Replace dashes with underscores 2021-05-14 09:51:34 +08:00
setup.py Update ansible library location to envsitepackagesdir 2018-10-19 13:34:23 -05:00
tox.ini linter: update ansible-lint; add auto-download of roles 2022-08-12 09:29:11 +10:00

README.rst

OpenStack Infra Config Files

This repo contains a set of config files that are consumed by the openstack-infra/system-config puppet modules in order to deploy and configure the OpenStack Infrastructure. You should edit these files to make configuration changes to the OpenStack Infrastructure.

accessbot

This dir contains the IRC access bot channel config. This config file is used to specify which channels are managed by the infra team and the permissions assigned to nicks in those channels.

IRC Documentation

gerrit

This dir contains the main project registry in projects.yaml along with all of the gerrit project ACLs in the acls subdir. You will need to edit these files to add new projects to Gerrit.

See the Creator's Guide in the OpenDev Manual for info on adding projects.

Gerrit Documentation

gerritbot

This dir contains the gerritbot channel config file. Edit this file to add the gerritbot to your IRC channels for gerrit event messages.

IRC Documentation

grafana

This dir contains dashboards to display at http://grafana.openstack.org/. Add new files to create additional dashboards or edit the existing ones to enhance the dashboards.

Grafana Documentation

nodepool

This dir contains the nodepool scripts and nodepool disk image builder elements that are used to build the images we boot build nodes off of. Edit these files if you need to modify the base images that Nodepool creates for Zuul to run content on.

Nodepool Documentation

specs

This dir contains the index.html file for the https://specs.openstack.org site. Edit this file if you are adding and removing projects from that site.

Static Web Hosting Documentation

zuul

This dir contains the zuul main.yaml file which defines the Zuul tenants and the system-variables.yaml file which contains some global variables. Edit these files to add, remove or rename a project from Zuul.

Zuul Documentation

dev

This dir contains config files for the development deployments of the above services.