Files
tubestation/taskcluster/docker/ubuntu1804-test/taskcluster-interactive-shell
Edwin Takahashi 11e872ff86 Bug 1563864 - add ubuntu18.04 dockerfile and enable codepath to specify image for use in linux testing r=jmaher
Changes:

Add Ubuntu 18.04 `dockerfile`, support files and `ubuntu1804-test-system-setup.sh` that slightly differs from `ubuntu1604-test-system-setup.sh` in package contents.

Add a temporary flag to `try fuzzy` selector, taskcluster decision and taskgraphs to enable selection of Ubuntu 18.04 docker image to run linux tests.

Differential Revision: https://phabricator.services.mozilla.com/D53750
2019-11-20 18:18:07 +00:00

23 lines
453 B
Bash

#!/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;