zuul/playbooks
Tobias Henkel bf4e9893d0
Block localhost shell tasks in untrusted playbooks
Zuul was designed to block local code execution in untrusted
environments to not only rely on bwrap to contain a job. This got
broken since the creation of a command plugin that injects the
zuul_job_id which is required for log streaming. However this plugin
doesn't do a check if the task is a localhost task. Further it is
required in trusted and untrusted environments due to log
streaming. Thus we need to fork this plugin and restrict the variant
that is used in untrusted environments.

We do this by moving actiongeneral/command.py back to action/*. We
further introduce a new catecory actiontrusted which gets the
unrestricted version of this plugin.

Change-Id: If81cc46bcae466f4c071badf09a8a88469ae6779
Story: 2007935
Task: 40391
2020-07-21 19:18:10 +02:00
..
dashboard Update node to v14 and update to new jobs 2020-05-20 14:25:47 -05:00
quick-start Shift docker and pip setup to pre-playbook for quick-start 2020-06-16 09:12:48 -05:00
release Use ensure-* roles 2020-04-07 16:27:52 +02:00
zuul-migrate Update references for opendev 2019-04-24 12:59:17 +00:00
zuul-stream Block localhost shell tasks in untrusted playbooks 2020-07-21 19:18:10 +02:00