From 2631e44ccf0b000a75b19b04b9943921e45d213c Mon Sep 17 00:00:00 2001 From: Shubha Rajan Date: Fri, 23 Aug 2019 12:28:50 -0700 Subject: [PATCH] Update contributing doc (#9095) --- CONTRIBUTING.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 7891efd12414..b05875c89e81 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -169,8 +169,7 @@ Running System Tests authentication to your project: - ``GOOGLE_APPLICATION_CREDENTIALS``: The path to a JSON key file; - see ``system_tests/app_credentials.json.sample`` as an example. Such a file - can be downloaded directly from the developer's console by clicking + Such a file can be downloaded directly from the developer's console by clicking "Generate new JSON key". See private key `docs `__ for more details. @@ -180,11 +179,10 @@ Running System Tests "IAM & Admin". Additionally, ``cloud-logs@google.com`` must be given ``Editor`` permissions on the project. -- Examples of these can be found in ``system_tests/local_test_setup.sample``. We - recommend copying this to ``system_tests/local_test_setup``, editing the - values and sourcing them into your environment:: +- Once you have downloaded your json keys, set the environment variable + ``GOOGLE_APPLICATION_CREDENTIALS`` to the absolute path of the json file:: - $ source system_tests/local_test_setup + $ export GOOGLE_APPLICATION_CREDENTIALS="/Users//path/to/app_credentials.json" - For datastore tests, you'll need to create composite `indexes `__