Skip to content

Commit 2196dc6

Browse files
committed
kokoro: Reduce log noise in Android CI
1 parent 08eec07 commit 2196dc6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

buildscripts/kokoro/android.sh

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

133133
# Update the statuses with the deltas
134134

135+
set +x
135136
gsutil cp gs://grpc-testing-secrets/github_credentials/oauth_token.txt ~/
136137

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

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

0 commit comments

Comments
 (0)