diff options
author | Lidi Zheng <lidiz@google.com> | 2018-12-17 16:25:25 -0800 |
---|---|---|
committer | Lidi Zheng <lidiz@google.com> | 2018-12-17 16:25:25 -0800 |
commit | 6692429f31dc715e55fe37d95837b773494fcd99 (patch) | |
tree | f40ebbef61db66d61cea77346805b9d0efc0f6c1 /tools/run_tests | |
parent | a744221a2c5b93d8bd90c266ffea68de34c44acd (diff) |
Download private key from KeyStore
Diffstat (limited to 'tools/run_tests')
-rw-r--r-- | tools/run_tests/python_utils/check_on_pr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/python_utils/check_on_pr.py b/tools/run_tests/python_utils/check_on_pr.py index f756e4bdaa..78f1dca817 100644 --- a/tools/run_tests/python_utils/check_on_pr.py +++ b/tools/run_tests/python_utils/check_on_pr.py @@ -26,8 +26,8 @@ _GITHUB_REPO = 'grpc/grpc' _GITHUB_APP_ID = 22338 _INSTALLATION_ID = 519109 _GITHUB_APP_KEY = open( - os.environ['HOME'] + '/.ssh/google-grpc-checker.2018-12-13.private-key.pem', - 'r').read() + os.path.join(os.environ['KOKORO_KEYSTORE_DIR'], '73836_grpc_checks_private_key'), + 'rb').read() _ACCESS_TOKEN_CACHE = None |