Jeremy Stanley 3f01dc11f7 Use password lookup for run-buildset-registry role
Complete a lingering TODO in run-buildset-registry to use a less
guessable password for the intermediate registry service. Timestamps
(even with microsecond precision and even running through a hash
algorithm) are inherently guessable. Someone watching a console
stream of the job could probably narrow down the time that task ran
to at least second precision, which then requires at most a million
guesses to be able to pollute or otherwise compromise the content
jobs are relying on. With reasonable network access and a typical
personal computer this is a rather small work factor to overcome.

Luckily, the Ansible community maintains an in-tree lookup plugin[*]
for strong password generation. Its default is 20 mixed-case
letters, numbers and punctuation, so the same length as the
truncated hash we're replacing.

[*] https://docs.ansible.com/ansible/latest/plugins/lookup/password.html

Depends-On: https://review.opendev.org/662870
Change-Id: I66e60f767328cc3af540ec4b755121da989b5e56
2019-06-04 18:43:09 +00:00
2019-06-03 09:03:35 -07:00
2018-07-25 09:11:25 -07:00
2018-07-25 09:11:25 -07:00
2019-04-19 19:25:30 +00:00
2018-07-25 09:11:25 -07:00
2019-06-03 09:03:35 -07:00

Zuul Jobs

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

Description
Ansible job definitions for Zuul
Readme 36 MiB
Languages
Python 89.6%
Jinja 8%
Shell 2%
Dockerfile 0.2%
Nim 0.1%