Skip to content

Commit c213837

Browse files
committed
kokoro: Reduce log noise in Android CI
1 parent 43eedd0 commit c213837

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

buildscripts/kokoro/android.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,18 @@ fi
126126

127127
# Update the statuses with the deltas
128128

129+
set +x
129130
gsutil cp gs://grpc-testing-secrets/github_credentials/oauth_token.txt ~/
130131

131132
desc="New DEX reference count: $(printf "%'d" "$new_dex_count") (delta: $(printf "%'d" "$dex_count_delta"))"
133+
echo "Setting status: $desc"
132134
curl -f -s -X POST -H "Content-Type: application/json" \
133135
-H "Authorization: token $(cat ~/oauth_token.txt | tr -d '\n')" \
134136
-d '{"state": "success", "context": "android/dex_diff", "description": "'"${desc}"'"}' \
135137
"https://api.github.com/repos/grpc/grpc-java/statuses/${KOKORO_GITHUB_PULL_REQUEST_COMMIT}"
136138

137139
desc="New APK size in bytes: $(printf "%'d" "$new_apk_size") (delta: $(printf "%'d" "$apk_size_delta"))"
140+
echo "Setting status: $desc"
138141
curl -f -s -X POST -H "Content-Type: application/json" \
139142
-H "Authorization: token $(cat ~/oauth_token.txt | tr -d '\n')" \
140143
-d '{"state": "success", "context": "android/apk_diff", "description": "'"${desc}"'"}' \

0 commit comments

Comments
 (0)