mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: ensure tunnel identifiers are unique (#14108)
* Currently it can happen that our tunnel identifier conflicts with other tunnel identifiers from other Angular projects. A few PRs reported that their tunnel couldn't be re-opened because it was already used and closed successfully.
This commit is contained in:
committed by
Andrew Seguin
parent
cb57c6c6bf
commit
039ca606c8
@@ -31,7 +31,7 @@ rm ${tunnelFileName}
|
||||
ARGS=""
|
||||
|
||||
if [ ! -z "${CIRCLE_BUILD_NUM}" ]; then
|
||||
ARGS="${ARGS} --local-identifier ${CIRCLE_BUILD_NUM}-${CIRCLE_NODE_INDEX}"
|
||||
ARGS="${ARGS} --local-identifier angular-material-${CIRCLE_BUILD_NUM}-${CIRCLE_NODE_INDEX}"
|
||||
fi
|
||||
|
||||
echo "Starting Browserstack Local in the background, logging into: ${tunnelLogFile}"
|
||||
|
||||
@@ -31,7 +31,7 @@ rm ${tunnelFileName}
|
||||
sauceArgs="--readyfile ${tunnelReadyFile} --pidfile ${tunnelPidFile}"
|
||||
|
||||
if [ ! -z "${CIRCLE_BUILD_NUM}" ]; then
|
||||
sauceArgs="${sauceArgs} --tunnel-identifier ${CIRCLE_BUILD_NUM}-${CIRCLE_NODE_INDEX}"
|
||||
sauceArgs="${sauceArgs} --tunnel-identifier angular-material-${CIRCLE_BUILD_NUM}-${CIRCLE_NODE_INDEX}"
|
||||
fi
|
||||
|
||||
echo "Starting Sauce Connect in the background, logging into: ${tunnelLogFile}"
|
||||
|
||||
Reference in New Issue
Block a user