Skip to content

build: update sauce connect version #5179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/ci/publish-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 6 additions & 6 deletions scripts/deploy/deploy-dashboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 changes: 1 addition & 1 deletion scripts/saucelabs/start-tunnel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down