File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 126126
127127# Update the statuses with the deltas
128128
129+ set +x
129130gsutil cp gs://grpc-testing-secrets/github_credentials/oauth_token.txt ~ /
130131
131132desc=" New DEX reference count: $( printf " %'d" " $new_dex_count " ) (delta: $( printf " %'d" " $dex_count_delta " ) )"
133+ echo " Setting status: $desc "
132134curl -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
137139desc=" New APK size in bytes: $( printf " %'d" " $new_apk_size " ) (delta: $( printf " %'d" " $apk_size_delta " ) )"
140+ echo " Setting status: $desc "
138141curl -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} " ' "}' \
You can’t perform that action at this time.
0 commit comments