commit | 2e8395c44a3052c157ecb5f247ce9083eaa98326 | [log] [tgz] |
---|---|---|
author | Vadim Shtayura <vadimsh@chromium.org> | Mon May 06 18:48:19 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 06 18:48:19 2019 |
tree | eed867c650122cb7fb49d32cd8eea64ee66c81bf | |
parent | 7c1b5d273d3531aa08c863014d32f7da117ac807 [diff] |
[common] Add helper for catching SIGTERM. Will be needed to handle graceful shutdown of k8s pods. They receive SIGTERM if k8s decided they should stop. R=jchinlee@chromium.org, nodir@chromium.org BUG=959427 Change-Id: I091b1f59b04e73db77bc0c63de290f600466e850 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/1592729 Commit-Queue: Vadim Shtayura <vadimsh@chromium.org> Reviewed-by: Nodir Turakulov <nodir@chromium.org>
LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:
fetch infra cd infra/go eval `./env.py` cd src/go.chromium.org/luci
Contributing uses the same flow as Chromium contributions.