zuul/tools
James E. Blair 10966948d7 Add ExistingDataWatch class
This adds a modified kazoo.DataWatch class which does not set
watches on paths that don't exist.  This is mostly so that when
a DataWatched path is deleted, we don't leave a watch in place.
Without that, the executor api will leak watches on the ZK cluster.

We vendor the entire watches.py file from kazoo (ASL2 licensed) to
avoid any issues with API changes.  Separately we will see if they
are interested in this class upstream.

This updates the tests to use the wchp 4lw to test that we don't
leak watches.

Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/799334
Change-Id: Ie4491eef03b58d858d95c78ba9454839d169cff1
2021-07-02 15:22:29 -07:00
..
4D64390375060AA4.asc Update kubic signature 2020-10-12 12:46:14 +02:00
018D05F5.gpg Avoid using apt-add-repository 2017-07-11 16:41:52 -04:00
decrypt_secret.py Add a tool to decrypt a secret 2021-04-12 22:19:11 +00:00
docker-compose.yaml Use ZooKeeper TLS in tests 2021-03-08 06:49:57 -08:00
encrypt_secret.py tools: Deprecate encrypt_secret.py, document zuul-client encrypt 2020-12-09 11:30:59 +00:00
fake_bwrap.py Make most test cases work on MacOS 2020-02-20 12:59:38 +01:00
find-untrusted-exec.py Add a script to find untrusted execution tasks 2020-07-22 18:29:58 +00:00
github-debugging.py Enhance github debugging script for apps 2018-02-05 12:22:26 +01:00
install-js-repos-rpm.sh Use node v10 instead of node v8 2019-02-04 21:26:37 +00:00
install-js-tools.sh install-js-tools: add support for manjaro 2020-11-07 03:26:07 +01:00
node_usage.py Small script to scrape Zuul job node usage 2018-10-30 09:17:57 -07:00
openssl.cnf Add TLS support for ZooKeeper 2020-03-18 14:47:37 -07:00
pip.sh Really retry yarn installs 2021-05-05 11:59:28 -07:00
test-logs.sh Block localhost shell tasks in untrusted playbooks 2020-07-21 19:18:10 +02:00
test-setup-docker.sh Use ZooKeeper TLS in tests 2021-03-08 06:49:57 -08:00
test-setup.sh Use ZooKeeper TLS in tests 2021-03-08 06:49:57 -08:00
update-storyboard.py Re-enable E305 pep8 errors 2017-05-19 09:38:36 -04:00
zk-ca.sh Use Absolute path in zk-ca.sh for openssl config 2020-05-28 11:48:01 +02:00
zoo.cfg Add ExistingDataWatch class 2021-07-02 15:22:29 -07:00
zuul-changes.py enqueue: make trigger deprecated 2019-12-10 07:33:30 +01:00
zuul-clear-refs.py Zuul references cleaner 2015-07-20 18:57:04 +02:00