zuul-jobs/test-playbooks
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
..
artifactory Add properties to upload-artifactory 2021-06-03 07:09:04 +00:00
base-roles Disable base role testing that runs code on localhost 2020-07-22 15:32:18 -07:00
build-roles Add Bazel build and ensure roles 2020-04-30 18:05:41 +01:00
container Create upload-container-image role 2020-11-13 15:04:27 -05:00
dhall Remove ansible-lint path exclusions 2021-04-27 08:22:32 +00:00
ensure-kubernetes ensure-kubernetes: workaround slow account creation 2020-09-17 13:04:54 +10:00
ensure-podman Add support for RedHat platforms on ensure-podman 2020-04-06 18:52:07 +01:00
ensure-skopeo Add ensure-skopeo role 2021-05-25 16:38:00 +02:00
general fetch-translation-output: introduce zuul_use_fetch_output 2021-06-08 20:38:25 +00:00
haskell test-playbooks: avoid warnings with shell/command 2020-06-04 18:54:37 +01:00
javascripts test-playbooks: avoid warnings with shell/command 2020-06-04 18:54:37 +01:00
multinode Remove ansible-lint path exclusions 2021-04-27 08:22:32 +00:00
nimble Enable installing nimble siblings 2020-12-07 15:23:27 +01:00
packer Adds roles to install and run hashicorp packer 2020-04-13 16:44:32 +02:00
python Upgrade ansible-lint to 5.0 2021-03-17 15:44:43 +00:00
registry Prevent leaks of buildset registry credentials 2021-06-24 09:56:19 -07:00
rust Add ensure-rust role 2020-08-25 09:04:43 +10:00
shake shake-build: add shake build system job 2020-05-28 12:48:16 +00:00
terraform Allow deleting workspace after running terraform destroy 2020-07-01 13:25:39 +02:00
tox test-playbooks: avoid warnings with shell/command 2020-06-04 18:54:37 +01:00
dstat-graph.yaml test-playbooks: avoid warnings with shell/command 2020-06-04 18:54:37 +01:00
ensure-docker.yaml ensure-docker: < 1500 MTU workaround 2020-10-06 11:26:15 +00:00
ensure-java.yaml Add ensure-java role 2020-02-21 06:55:47 -06:00
ensure-pip.yaml Partial revert "Ensure wheel exists for build-release-python"; move to ensure-pip 2020-06-18 12:51:56 +00:00
ensure-python-pyenv.yaml yamlint: EOF newlines and comments indent 2020-05-14 08:42:17 +00:00
ensure-tox.yaml Add option to install tox into a path location 2020-06-17 16:31:07 -05:00
ensure-zookeeper.yaml ensure-zookeeper: add use_tls role var 2021-02-17 16:06:36 -08:00
generate-zuul-manifest.yaml Add generate-zuul-manifest role 2019-07-23 09:43:55 -07:00
intercept-job.yaml intercept-job -- self-service SSH access 2021-04-23 15:14:06 +00:00
local-log-download.yaml local-log-download : role with script to download all log files 2020-04-01 07:41:26 +11:00
simple-role-test.yaml Add a simple test of the install-nodejs role 2019-06-27 14:04:57 -07:00
stage-output.yaml Handle no-sudo in stage-output 2021-05-31 15:47:57 -07:00
update-json-file.yaml update-json-file: avoid failure when destination does not exists 2021-02-12 13:26:49 +00:00
upload-git-mirror.yaml test-playbooks: avoid warnings with shell/command 2020-06-04 18:54:37 +01:00
upload-logs-s3.yaml Add upload-logs-s3 2020-07-19 21:22:36 +02:00