2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00
iceraven-browser/automation/taskcluster/upload_coverage_report.sh
Mihai Tabara 92bc173506 [fenix] Bug 1573512 - rename codecov secret to something more generic for master and PR to reuse (https://github.com/mozilla-mobile/fenix/pull/4705)
Force merging since we're blocked on this change and TaskCluster is stuck after 4 hours.
2019-08-13 14:14:08 -05:00

20 lines
756 B
Bash
Executable File

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# If a command fails then do not proceed and fail this script too.
set -ex
# Get token for uploading to codecov and append it to codecov.yml
python automation/taskcluster/helper/get-secret.py \
-s project/mobile/fenix/public-tokens \
-k codecov \
-f .cc_token \
# Set some environment variables that will help codecov detect the CI
export CI_BUILD_URL="https://tools.taskcluster.net/tasks/$TASK_ID"
# Execute codecov script for uploading report
# bash <(curl -s https://codecov.io/bash)
bash <(curl -s https://codecov.io/bash) -t @.cc_token