File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 132132
133133# Update the statuses with the deltas
134134
135+ set +x
135136gsutil cp gs://grpc-testing-secrets/github_credentials/oauth_token.txt ~ /
136137
137138desc=" New DEX reference count: $( printf " %'d" " $new_dex_count " ) (delta: $( printf " %'d" " $dex_count_delta " ) )"
139+ echo " Setting status: $desc "
138140curl -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
143145desc=" New APK size in bytes: $( printf " %'d" " $new_apk_size " ) (delta: $( printf " %'d" " $apk_size_delta " ) )"
146+ echo " Setting status: $desc "
144147curl -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} " ' "}' \
You can’t perform that action at this time.
0 commit comments