Skip to content

Commit 746495a

Browse files
devversionjelbourn
authored andcommitted
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
1 parent 0aaeb69 commit 746495a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

scripts/ci/publish-artifacts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ $(npm bin)/gulp docs
2727

2828
# Deploy the screenshot and dashboard functions for each push build.
2929
./scripts/deploy/deploy-screenshot-functions.sh &
30-
./scripts/deploy/deploy-dashboard-functions.sh &
30+
./scripts/deploy/deploy-dashboard.sh &
3131

3232
wait

scripts/deploy/deploy-dashboard.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
# Go to the project root directory
77
cd $(dirname ${0})/../..
88

9+
if [ -z ${MATERIAL2_BOARD_FIREBASE_DEPLOY_KEY} ]; then
10+
echo "Error: No access token for firebase specified." \
11+
"Please set the environment variable 'MATERIAL2_DASHBOARD_ACCESS_TOKEN'."
12+
exit 1
13+
fi
14+
915
# Paths to the dashboard and functions directories.
1016
dashboardFolder=tools/dashboard
1117

@@ -23,12 +29,6 @@ cd ${dashboardFolder}
2329
# build in production afterwards. Wait for all async tasks to finish before proceeding.
2430
wait
2531

26-
if [ -z ${MATERIAL2_BOARD_FIREBASE_DEPLOY_KEY} ]; then
27-
echo "Error: No access token for firebase specified." \
28-
"Please set the environment variable 'MATERIAL2_DASHBOARD_ACCESS_TOKEN'."
29-
exit 1
30-
fi
31-
3232
# Deploy the dashboard to Firebase. Based on the current configuration hosting and functions
3333
# will be deployed.
3434
$(npm bin)/firebase deploy --token ${MATERIAL2_BOARD_FIREBASE_DEPLOY_KEY} --project material2-board

scripts/saucelabs/start-tunnel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e -o pipefail
44

5-
TUNNEL_FILE="sc-4.4.6-linux.tar.gz"
5+
TUNNEL_FILE="sc-4.4.7-linux.tar.gz"
66
TUNNEL_URL="https://saucelabs.com/downloads/${TUNNEL_FILE}"
77
TUNNEL_DIR="/tmp/saucelabs-connect"
88

0 commit comments

Comments
 (0)