Bug 1413687 - Move hazard build scripts out of mozharness; r=sfink
authorGregory Szorc <gps@mozilla.com>
Mon, 06 Nov 2017 11:02:24 -0800
changeset 693817 a0f054fe8d198ca0b507ed96a0b2d590d24a5e8f
parent 693816 858b513f90acbb754d5e760ed5bd4df81f28ec25
child 693818 d5cdf6326662736045a959e8a25a67e0f45382ea
push id87924
push userbmo:mozilla@hocat.ca
push dateMon, 06 Nov 2017 22:10:10 +0000
reviewerssfink
bugs1413687
milestone58.0a1
Bug 1413687 - Move hazard build scripts out of mozharness; r=sfink These scripts are included by hazard-analysis.sh. That's their only reference in repo. We could probably inline these scripts. But let's start by moving them out of mozharness since no active mozharness based task is using them. MozReview-Commit-ID: 13oen42Txmh
taskcluster/scripts/builder/hazard-analysis.sh
taskcluster/scripts/builder/hazard-browser.sh
taskcluster/scripts/builder/hazard-shell.sh
testing/mozharness/scripts/spidermonkey/build.browser
testing/mozharness/scripts/spidermonkey/build.shell
--- a/taskcluster/scripts/builder/hazard-analysis.sh
+++ b/taskcluster/scripts/builder/hazard-analysis.sh
@@ -92,17 +92,17 @@ function run_analysis () {
     build_type="$2"
 
     if [[ -z "$HAZ_DEP" ]]; then
         [ -d $MOZ_OBJDIR ] && rm -rf $MOZ_OBJDIR
     fi
 
     (
         cd "$analysis_dir"
-        $PYTHON "$ANALYSIS_SRCDIR/analyze.py" --buildcommand="$GECKO_DIR/testing/mozharness/scripts/spidermonkey/build.${build_type}"
+        $PYTHON "$ANALYSIS_SRCDIR/analyze.py" --buildcommand="$GECKO_DIR/taskcluster/scripts/builder/hazard-${build_type}.sh"
     )
 }
 
 function grab_artifacts () {
     local analysis_dir
     analysis_dir="$1"
     local artifacts
     artifacts="$2"
rename from testing/mozharness/scripts/spidermonkey/build.browser
rename to taskcluster/scripts/builder/hazard-browser.sh
rename from testing/mozharness/scripts/spidermonkey/build.shell
rename to taskcluster/scripts/builder/hazard-shell.sh