Bug 1405413 - Don't use `hg debugsparse --reset`. r=dustin draft
authorNick Alexander <nalexander@mozilla.com>
Fri, 13 Oct 2017 12:59:04 -0700
changeset 680312 d7b11a695524c45137d29d770faa4ef1545c4b9d
parent 680311 03f3badda2e1eda183d006d7c1c04b8e07215d29
child 735815 bb56ae67489320c74a691bebdb0891d6563bf0a3
push id84454
push usernalexander@mozilla.com
push dateFri, 13 Oct 2017 20:05:02 +0000
reviewersdustin
bugs1405413
milestone58.0a1
Bug 1405413 - Don't use `hg debugsparse --reset`. r=dustin This will be folded into the earlier sequence. This seems to work fine and avoids an ugly work-around. MozReview-Commit-ID: 65F1ZktOnu3
taskcluster/ci/toolchain/linux.yml
taskcluster/scripts/misc/android-gradle-dependencies.sh
--- a/taskcluster/ci/toolchain/linux.yml
+++ b/taskcluster/ci/toolchain/linux.yml
@@ -237,16 +237,17 @@ linux64-android-gradle-dependencies:
     worker:
         docker-image: {in-tree: android-build}
         env:
             GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-online"
         max-run-time: 36000
     run:
         using: toolchain-script
         script: android-gradle-dependencies.sh
+        sparse-profile: null
 
         tc-vcs: false
         resources:
             - 'taskcluster/scripts/misc/tooltool-download.sh'
             - 'taskcluster/scripts/misc/android-gradle-dependencies/**'
             - '**/*.gradle'
             - 'mobile/android/config/mozconfigs/android-api-16-gradle-dependencies/**'
             - 'mobile/android/config/mozconfigs/common*'
--- a/taskcluster/scripts/misc/android-gradle-dependencies.sh
+++ b/taskcluster/scripts/misc/android-gradle-dependencies.sh
@@ -8,19 +8,15 @@ echo "running as" $(id)
 
 set -v
 
 cd $WORKSPACE/build/src
 
 # Download toolchain artifacts.
 . taskcluster/scripts/misc/tooltool-download.sh
 
-# We need a full checkout, and arranging a new sparse profile appears
-# fraught with cache errors.
-hg debugsparse --reset
-
 . taskcluster/scripts/misc/android-gradle-dependencies/before.sh
 
 export MOZCONFIG=mobile/android/config/mozconfigs/android-api-16-gradle-dependencies/nightly
 ./mach build
 ./mach android gradle-dependencies
 
 . taskcluster/scripts/misc/android-gradle-dependencies/after.sh