Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Bug 957455, Valgrind builds don't specify --mirror or --bundle with h…
Browse files Browse the repository at this point in the history
…gtool.py, r=rail
  • Loading branch information
nthomas-mozilla committed Jan 9, 2014
1 parent c4ec184 commit f1fc66b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/valgrind/valgrind.sh
Expand Up @@ -17,6 +17,8 @@ if [ -f "$PROPERTIES_FILE" ]; then
BRANCHES_JSON=$SCRIPTS_DIR/buildfarm/maintenance/production-branches.json

HG_REPO=$($JSONTOOL -k ${branch}.repo $BRANCHES_JSON)
HG_MIRROR=${HG_REPO/hg\.mozilla\.org/hg-internal.dmz.scl3.mozilla.com}
HG_BUNDLE="http://ftp.mozilla.org/pub/mozilla.org/firefox/bundles/${branch}.hg"

builddir=$(basename $(readlink -f .))

Expand All @@ -36,12 +38,16 @@ if [ -f "$PROPERTIES_FILE" ]; then
fi
if [ -z "$HG_REPO" ]; then
export HG_REPO="http://hg.mozilla.org/mozilla-central"
export HG_MIRROR="http://hg-internal.dmz.scl3.mozilla.com/mozilla-central"
export HG_BUNDLE="http://ftp.mozilla.org/pub/mozilla.org/firefox/bundles/mozilla-central.hg"
fi
if [ -z "$REVISION" ]; then
export REVISION="default"
fi

python $SCRIPTS_DIR/buildfarm/utils/hgtool.py --rev $REVISION $HG_REPO src || exit 2
python $SCRIPTS_DIR/buildfarm/utils/retry.py -s 1 -r 5 -t 3660 \
python $SCRIPTS_DIR/buildfarm/utils/hgtool.py --rev $REVISION \
--mirror $HG_MIRROR --bundle $HG_BUNDLE $HG_REPO src || exit 2

# Put our short revisions into the properties directory for consumption by buildbot.
if [ ! -d properties ]; then
Expand Down

0 comments on commit f1fc66b

Please sign in to comment.