зеркало из https://github.com/mozilla/gecko-dev.git
Bug 485336, uploadsymbols failures when mozilla-central & tracemonkey nightlies complete at the same time, r=ted.mielczarek
This commit is contained in:
Родитель
5776974960
Коммит
b26d0196f1
|
@ -48,11 +48,12 @@
|
|||
set -e
|
||||
|
||||
: ${SYMBOL_SERVER_HOST?} ${SYMBOL_SERVER_USER?} ${SYMBOL_SERVER_PATH?} ${1?"You must specify a symbol archive to upload"}
|
||||
archive=`basename "$1"`
|
||||
hash=`openssl dgst -sha1 "$1" | cut -f2 -d' '`
|
||||
archive="${hash}-"`basename "$1"`
|
||||
echo "Transferring symbols... $1"
|
||||
scp ${SYMBOL_SERVER_PORT:+-P $SYMBOL_SERVER_PORT} \
|
||||
${SYMBOL_SERVER_SSH_KEY:+-i "$SYMBOL_SERVER_SSH_KEY"} "$1" \
|
||||
${SYMBOL_SERVER_USER}@${SYMBOL_SERVER_HOST}:${SYMBOL_SERVER_PATH}/
|
||||
${SYMBOL_SERVER_USER}@${SYMBOL_SERVER_HOST}:${SYMBOL_SERVER_PATH}/"${archive}"
|
||||
echo "Unpacking symbols on remote host..."
|
||||
ssh -2 ${SYMBOL_SERVER_PORT:+-p $SYMBOL_SERVER_PORT} \
|
||||
${SYMBOL_SERVER_SSH_KEY:+-i "$SYMBOL_SERVER_SSH_KEY"} \
|
||||
|
|
Загрузка…
Ссылка в новой задаче