Bug 1290531 - Remove support for building with custom build.sh; r?dustin
Now that tester-device is gone, there are no more images using custom
build.sh scripts and that feature can be deleted. Yay simplicity.
MozReview-Commit-ID: 5JqFZ2HOsWs
--- a/testing/docker/build.sh
+++ b/testing/docker/build.sh
@@ -6,21 +6,16 @@
gecko_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd )"
build() {
local image_name=$1
local tag=$2
local folder="$gecko_root/testing/docker/$image_name"
- if [ -f $folder/build.sh ]; then
- shift
- $folder/build.sh -t $tag $* || exit 1
- else
- # use --no-cache so that we always get the latest updates from yum
- # and use the latest version of system-setup.sh
- ( cd $folder/.. && docker build --no-cache -t $tag $image_name ) || exit 1
- fi
+ # use --no-cache so that we always get the latest updates from yum
+ # and use the latest version of system-setup.sh
+ ( cd $folder/.. && docker build --no-cache -t $tag $image_name ) || exit 1
echo "Success built $image_name and tagged with $tag"
}
build $*