build: update sauce connect version (#5179)

* Updates the version of Sauce Connect to avoid potential flakes within the Saucelabs tunnels
* Fixes the invalid path for the `deploy-dashboard` script that runs in the deploy build stage
This commit is contained in:
Paul Gschwendtner
2017-06-19 18:30:01 +02:00
committed by Jeremy Elbourn
parent 0aaeb697a3
commit 746495a222
3 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -6,6 +6,12 @@
# Go to the project root directory
cd $(dirname ${0})/../..
if [ -z ${MATERIAL2_BOARD_FIREBASE_DEPLOY_KEY} ]; then
echo "Error: No access token for firebase specified." \
"Please set the environment variable 'MATERIAL2_DASHBOARD_ACCESS_TOKEN'."
exit 1
fi
# Paths to the dashboard and functions directories.
dashboardFolder=tools/dashboard
@@ -23,12 +29,6 @@ cd ${dashboardFolder}
# build in production afterwards. Wait for all async tasks to finish before proceeding.
wait
if [ -z ${MATERIAL2_BOARD_FIREBASE_DEPLOY_KEY} ]; then
echo "Error: No access token for firebase specified." \
"Please set the environment variable 'MATERIAL2_DASHBOARD_ACCESS_TOKEN'."
exit 1
fi
# Deploy the dashboard to Firebase. Based on the current configuration hosting and functions
# will be deployed.
$(npm bin)/firebase deploy --token ${MATERIAL2_BOARD_FIREBASE_DEPLOY_KEY} --project material2-board