zuul/tests/remote
Clark Boylan 1fb7bd33e7 Prohibit invalid uri usages on localhost
The uri module could potentially be used to expose files within the
bubblewrap context either through its src or dest parameters or its url
parameter. In the case of src and dest we use zuuls utilility functions
to filter out invalid srcs and dests. In the case of url we have been
relying on an ansible bug that prevents request responses without a
status code from completing successfully due to an unchecked type
coercion.

This change adds our own check to url schemes and restricts it to http,
https, and ftp so that if ansible fixes their bugs zuul will continue to
do the right thing.

Then we add testing for all of the cases talked about above.

Change-Id: I527a4082c1ec5556e4c8347ff08b2e89ce0edaaa
Task: #40940
2020-09-23 18:59:52 +00:00
..
__init__.py Add new tox-remote job 2018-03-12 15:44:51 +01:00
test_remote_action_modules.py Prohibit invalid uri usages on localhost 2020-09-23 18:59:52 +00:00
test_remote_hostvars.py Fix deletion of stale build dirs on startup 2019-11-22 17:06:18 +01:00
test_remote_zuul_json.py Drop support for ansible 2.7 2020-09-04 16:15:33 +02:00
test_remote_zuul_stream.py Drop support for ansible 2.7 2020-09-04 16:15:33 +02:00