ci: temporarily disable payload size tracking (#31057)

The `CIRCLE_COMPARE_URL` is not available in builds any more since we
enabled `Pipelines` on CircleCI. We have contected CircleCI, but until
this is solved we cannot get the commit range and thus disabling
uploading of payload size data to avoid broken builds.

PR Close #31057
This commit is contained in:
George Kalpakas 2019-06-14 18:48:16 +03:00 committed by Andrew Kushnir
parent 1a5c7112e0
commit 48d11d5fa0
1 changed files with 10 additions and 8 deletions

View File

@ -136,15 +136,17 @@ trackPayloadSize() {
# Save the file sizes to be retrieved from `payload-size.js`. # Save the file sizes to be retrieved from `payload-size.js`.
echo "$(payloadToJson)" > /tmp/current.log echo "$(payloadToJson)" > /tmp/current.log
# TODO: Temporarily disabled until we get back `CIRCLE_COMPARE_URL` or another way to get the
# commit range. Re-enable once the issue is resolved.
# If this is a non-PR build, upload the data to firebase. # If this is a non-PR build, upload the data to firebase.
if [[ "$CI_PULL_REQUEST" == "false" ]]; then # if [[ "$CI_PULL_REQUEST" == "false" ]]; then
if [[ $trackChangeType = true ]]; then # if [[ $trackChangeType = true ]]; then
addChangeType $CI_COMMIT_RANGE # addChangeType $CI_COMMIT_RANGE
fi # fi
addTimestamp # addTimestamp
addMessage $CI_COMMIT_RANGE # addMessage $CI_COMMIT_RANGE
uploadData $name # uploadData $name
fi # fi
# Check the file sizes against the specified limits. # Check the file sizes against the specified limits.
if [[ $checkSize = true ]]; then if [[ $checkSize = true ]]; then