Ansible job definitions for Zuul
Go to file
Clark Boylan 4c40b92950 Prevent leaks of buildset registry credentials
Because buildset registries may be used by jobs that finish before other
jobs are finished using the buildset registry we must be careful not to
expose the registry credentials in the jobs that finish sooner.
Otherwise logs for the earlier job runs could potentially be used to
poison the registry for later jobs.

This is likely currently incomplete. Other Zuulians should look over it
carefully to ensure we're covering all the bases here.

The cases I've identified so far are:

* Setting facts that include passwords
* Reading and writing to files that include passwords (as content may be
  logged)
* Calling modules with passwords passed as arguments (the module
  invocation is logged)

I've also set no_log on zuul_return that passes up credentials because
while the logging for zuul_return is minimal today, I don't want to
count on it remaining that way.

We also use the yet to be merged secret_data attribute on zuul_return to
ensure that zuul_return itself does not expose anything unwanted.

Finally it would be great if others could check over the use of
buildset_registry variables to make sure there aren't any that got
missed. One thing I'm not sure of is whether or not when conditionals
get logged and if we need to be careful about their use too.

Temporarily remove some buildset-regitry jobs which are in a catch-22.

Change-Id: I2dea683e27f00b99a7766bf830981bf91b925265
2021-06-24 09:56:19 -07:00
doc Add role to enable FIPS on a node 2021-06-11 14:30:39 -04:00
playbooks Bits to keep ansible-lint happy 2021-03-10 18:04:08 +00:00
roles Prevent leaks of buildset registry credentials 2021-06-24 09:56:19 -07:00
test-playbooks Prevent leaks of buildset registry credentials 2021-06-24 09:56:19 -07:00
tests Upgrade ansible-lint to 5.0 2021-03-17 15:44:43 +00:00
tools Switch jobs to use fedora-34 nodes 2021-06-18 12:13:33 +10:00
util-tasks More E208 mode fixes 2020-10-31 07:34:03 +00:00
zuul-tests.d Prevent leaks of buildset registry credentials 2021-06-24 09:56:19 -07:00
zuul.d Add tox-py39 job 2021-01-27 10:14:32 +00:00
.ansible-lint Remove ansible-lint path exclusions 2021-04-27 08:22:32 +00: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 yamlint: EOF newlines and comments indent 2020-05-14 08:42:17 +00:00
bindep.txt bindep.txt: skip python-devel for el8 platform 2021-03-11 17:43:59 +00: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 Upgrade ansible-lint to 5.0 2021-03-17 15:44:43 +00: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 Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
test-constraints.txt Fix py27 tox 2020-05-27 17:12:32 +02:00
test-requirements.txt Merge "Use openstacksdk 0.45.0 for python2.7" 2021-06-01 01:01:06 +00:00
tox.ini Upgrade ansible-lint to 5.0 2021-03-17 15:44:43 +00:00

Zuul Jobs

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