Archive internal test failures to new bucket
Bug: 177799191
Change-Id: I63bece392bcea20971e6e5bfa866b585708b134b
diff --git a/tools/internal_test.py b/tools/internal_test.py
index 2ef9a48..09d6e1d 100755
--- a/tools/internal_test.py
+++ b/tools/internal_test.py
@@ -188,7 +188,7 @@
return utils.get_HEAD_sha1()
def get_test_result_dir():
- return os.path.join(utils.R8_TEST_RESULTS_BUCKET, TEST_RESULT_DIR)
+ return os.path.join(utils.R8_INTERNAL_TEST_RESULTS_BUCKET, TEST_RESULT_DIR)
def get_sha_destination(sha):
return os.path.join(get_test_result_dir(), sha)
diff --git a/tools/utils.py b/tools/utils.py
index c40a4c0..163aa0c7 100644
--- a/tools/utils.py
+++ b/tools/utils.py
@@ -87,6 +87,7 @@
USER_HOME = os.path.expanduser('~')
R8_TEST_RESULTS_BUCKET = 'r8-test-results'
+R8_INTERNAL_TEST_RESULTS_BUCKET = 'r8-internal-test-results'
def archive_file(name, gs_dir, src_file):
gs_file = '%s/%s' % (gs_dir, name)