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
+1 -1
View File
@@ -27,6 +27,6 @@ $(npm bin)/gulp docs
# Deploy the screenshot and dashboard functions for each push build.
./scripts/deploy/deploy-screenshot-functions.sh &
./scripts/deploy/deploy-dashboard-functions.sh &
./scripts/deploy/deploy-dashboard.sh &
wait
+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
+1 -1
View File
@@ -2,7 +2,7 @@
set -e -o pipefail
TUNNEL_FILE="sc-4.4.6-linux.tar.gz"
TUNNEL_FILE="sc-4.4.7-linux.tar.gz"
TUNNEL_URL="https://saucelabs.com/downloads/${TUNNEL_FILE}"
TUNNEL_DIR="/tmp/saucelabs-connect"