zuul-jobs/zuul-tests.d
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
..
build-roles-jobs.yaml Add managed jobs to periodic-weekly 2020-09-17 08:33:50 +00:00
cloud-roles-jobs.yaml Add managed jobs to periodic-weekly 2020-09-17 08:33:50 +00:00
container-roles-jobs.yaml Prevent leaks of buildset registry credentials 2021-06-24 09:56:19 -07:00
dhall.yaml Add managed jobs to periodic-weekly 2020-09-17 08:33:50 +00:00
general-roles-jobs.yaml Merge "Add role to enable FIPS on a node" 2021-06-18 18:50:35 +00:00
go-jobs.yaml Switch jobs to use fedora-34 nodes 2021-06-18 12:13:33 +10:00
haskell.yaml Switch jobs to use fedora-34 nodes 2021-06-18 12:13:33 +10:00
java-jobs.yaml Add managed jobs to periodic-weekly 2020-09-17 08:33:50 +00:00
jobs.yaml Add managed jobs to periodic-weekly 2020-09-17 08:33:50 +00:00
js-roles-jobs.yaml Add managed jobs to periodic-weekly 2020-09-17 08:33:50 +00:00
launchpad-roles-jobs.yaml Add managed jobs to periodic-weekly 2020-09-17 08:33:50 +00:00
logs-jobs.yaml upload-logs-s3: fix test-jobs files: attribute 2020-11-27 17:57:38 +01:00
nim-jobs.yaml Switch jobs to use fedora-34 nodes 2021-06-18 12:13:33 +10:00
packer-jobs.yaml Switch jobs to use fedora-34 nodes 2021-06-18 12:13:33 +10:00
project.yaml Add tox-py39 job 2021-01-27 10:14:32 +00:00
puppet-roles-jobs.yaml Add managed jobs to periodic-weekly 2020-09-17 08:33:50 +00:00
python-jobs.yaml Switch jobs to use fedora-34 nodes 2021-06-18 12:13:33 +10:00
python-roles-jobs.yaml Switch jobs to use fedora-34 nodes 2021-06-18 12:13:33 +10:00
rust-jobs.yaml Switch jobs to use fedora-34 nodes 2021-06-18 12:13:33 +10:00
terraform-jobs-roles.yaml Switch jobs to use fedora-34 nodes 2021-06-18 12:13:33 +10:00
test-constraints.txt Fix python3 compat in tox siblings handling 2019-12-10 15:27:41 -08:00