Merge "hound: clear git lockfiles before starting daemon"

This commit is contained in:
Zuul 2021-08-10 04:09:14 +00:00 committed by Gerrit Code Review
commit 2f230ef920
2 changed files with 4 additions and 1 deletions

View File

@ -5,5 +5,8 @@ else
if [ ! -f /var/run/config.json ]; then
update-hound-config;
fi
# Unclean shutdown can leave lockfiles that stop processing,
# cleanup.
find . -type f \( -wholename "*/.git/index.lock" -o -wholename "*/.git/shallow.lock" \) -delete -print
/usr/local/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
fi

View File

@ -493,7 +493,7 @@
- playbooks/roles/codesearch/
- playbooks/roles/install-docker/
- playbooks/roles/pip3/
- docker/codesearch/
- docker/hound/
- testinfra/test_codesearch.py
- job: