[ci] Add upstream trigger of binary size check. (#217)
This commit is contained in:
@@ -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:
|
||||
# ------------------------------------------------------------------------------
|
||||
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user