testing/docker/desktop-test/taskcluster-interactive-shell
author Wes Kocher <wkocher@mozilla.com>
Thu, 20 Oct 2016 15:59:47 -0700
changeset 363909 861fa708652cac38390be4eac89758ba0286a4a0
parent 363906 taskcluster/docker/desktop-test/taskcluster-interactive-shell@d15798b73b9e3f8226e7d4ac8adfca3a77b069f0
child 364040 806054dd12bdcbdee81dbd75f1583156cef9b649
permissions -rw-r--r--
Backed out changeset d15798b73b9e (bug 1302763) for taskcluster build issues a=backout CLOSED TREE

#!/usr/bin/env bash

download() {
    name=`basename $1`
    url=${GECKO_HEAD_REPOSITORY}/raw-file/${GECKO_HEAD_REV}/$1
    if ! curl --fail --silent -o ./$name --retry 10 $url; then
        fail "failed downloading $1 from ${GECKO_HEAD_REPOSITORY}"
    fi
}

cd $HOME/bin;
download taskcluster/scripts/tester/run-wizard;
chmod +x run-wizard;
./run-wizard;

SPAWN="$SHELL";
if [ "$SHELL" = "bash" ]; then
  SPAWN="bash -li";
fi;

cd $HOME;
exec $SPAWN;