mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Jeremy Elbourn
parent
0aaeb697a3
commit
746495a222
@@ -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 +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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user