Revert "buildscripts: disable android size status check (#5278)" (#5284)

This reverts commit aaa3a86dd2.
This commit is contained in:
Eric Gribkoff 2019-01-25 16:16:41 -08:00 committed by GitHub
parent 6c8020e584
commit f973bbc06f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 17 deletions

View File

@ -54,9 +54,8 @@ fi
# Save a copy of set_github_status.py (it may differ from the base commit)
# TODO(https://github.com/grpc/grpc-java/issues/5276) Re-enable posting of the deltas
#SET_GITHUB_STATUS="$TMPDIR/set_github_status.py"
#cp "$BASE_DIR/github/grpc-java/buildscripts/set_github_status.py" "$SET_GITHUB_STATUS"
SET_GITHUB_STATUS="$TMPDIR/set_github_status.py"
cp "$BASE_DIR/github/grpc-java/buildscripts/set_github_status.py" "$SET_GITHUB_STATUS"
# Collect APK size and dex count stats for the helloworld example
@ -108,17 +107,16 @@ fi
# Update the statuses with the deltas
# TODO(https://github.com/grpc/grpc-java/issues/5276) Re-enable posting of the deltas
#gsutil cp gs://grpc-testing-secrets/github_credentials/oauth_token.txt ~/
#
#"$SET_GITHUB_STATUS" \
# --sha1 "$KOKORO_GITHUB_PULL_REQUEST_COMMIT" \
# --state success \
# --description "New DEX reference count: $(printf "%'d" "$new_dex_count") (delta: $(printf "%'d" "$dex_count_delta"))" \
# --context android/dex_diff --oauth_file ~/oauth_token.txt
#
#"$SET_GITHUB_STATUS" \
# --sha1 "$KOKORO_GITHUB_PULL_REQUEST_COMMIT" \
# --state success \
# --description "New APK size in bytes: $(printf "%'d" "$new_apk_size") (delta: $(printf "%'d" "$apk_size_delta"))" \
# --context android/apk_diff --oauth_file ~/oauth_token.txt
gsutil cp gs://grpc-testing-secrets/github_credentials/oauth_token.txt ~/
"$SET_GITHUB_STATUS" \
--sha1 "$KOKORO_GITHUB_PULL_REQUEST_COMMIT" \
--state success \
--description "New DEX reference count: $(printf "%'d" "$new_dex_count") (delta: $(printf "%'d" "$dex_count_delta"))" \
--context android/dex_diff --oauth_file ~/oauth_token.txt
"$SET_GITHUB_STATUS" \
--sha1 "$KOKORO_GITHUB_PULL_REQUEST_COMMIT" \
--state success \
--description "New APK size in bytes: $(printf "%'d" "$new_apk_size") (delta: $(printf "%'d" "$apk_size_delta"))" \
--context android/apk_diff --oauth_file ~/oauth_token.txt