Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
[ci] Add upstream trigger of binary size check. (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengdev authored Mar 5, 2020
1 parent b976545 commit 95f0a0b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ commands:
export VERSION_TAG=${CIRCLE_TAG}
export GITHUB_TOKEN=${DANGER_GITHUB_API_TOKEN}
export DOCS_REPO="android-docs"
bash scripts/trigger-maps-documentation-deploy-steps.sh
bash scripts/trigger-maps-documentation-deploy-steps.sh
jobs:
# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -293,6 +293,14 @@ jobs:
curl -u $MOBILE_METRICS_TOKEN -d build_parameters[CIRCLE_JOB]=android-benchmark https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master
fi
fi
- run:
name: Trigger android binary size check
command: |
if [ -n "${MOBILE_METRICS_TOKEN}" ]; then
if [[ $CIRCLE_BRANCH == master ]]; then
curl -u ${MOBILE_METRICS_TOKEN}: -d build_parameters[CIRCLE_JOB]=android-binary-size-hydrogen https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master
fi
fi
- run:
name: Generate Maven credentials
command: |
Expand Down

0 comments on commit 95f0a0b

Please sign in to comment.