Bug 1290531 - Remove unused find_registry(); r=dustin
authorGregory Szorc <gps@mozilla.com>
Fri, 29 Jul 2016 12:55:48 -0700
changeset 307529 4509921b0cfd298f27e5164d8ee6361fb2ae2eb2
parent 307528 b6eff3784cf2bc9583c5c8476816e4ade138fb46
child 307530 95aeafbfec097edaa2ce746811cb1d1de63a7d40
push id30969
push usergszorc@mozilla.com
push dateMon, 01 Aug 2016 18:28:55 +0000
treeherderautoland@ed95bb78b383 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1290531
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1290531 - Remove unused find_registry(); r=dustin We're about to make significant changes to this file. Nuke an unused function to make diffs easier to reason about. MozReview-Commit-ID: KXXSrCVHww1
testing/docker/build.sh
--- a/testing/docker/build.sh
+++ b/testing/docker/build.sh
@@ -18,26 +18,16 @@ usage() {
 
 usage_err() {
   echo $1
   echo
   usage
   exit 1
 }
 
-find_registry() {
-  local reg="$1/REGISTRY"
-
-  if [ -f $reg ];
-  then
-    echo $folder
-    return
-  fi
-}
-
 build() {
   local image_name=$1
   local folder="$gecko_root/testing/docker/$image_name"
   local folder_reg="$folder/REGISTRY"
   local folder_ver="$folder/VERSION"
   local could_deploy=false
 
   if [ "$image_name" == "" ];