diff --git a/.taskcluster.yml b/.taskcluster.yml index c9550fbcfde8..58239ba2bc06 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -234,6 +234,8 @@ tasks: retries: 5 payload: + cache: + "${trustDomain}-level-${level}-gradle-decision-cache": /builds/worker/.gradle env: # run-task uses these to check out the source; the inputs # to `mach taskgraph decision` are all on the command line. @@ -248,6 +250,7 @@ tasks: MOBILE_REPOSITORY_TYPE: git MOZ_AUTOMATION: "1" REPOSITORIES: {$json: {mobile: "firefox-android"}} + TASKCLUSTER_CACHES: /builds/worker/.gradle - $if: 'isPullRequest' then: MOBILE_PULL_REQUEST_NUMBER: '${event.pull_request.number}' @@ -263,7 +266,7 @@ tasks: # Note: This task is built server side without the context or tooling that # exist in tree so we must hard code the hash image: - mozillareleases/taskgraph:decision-mobile-0f66ff9a7aef437051e84d1202c1ac341b23a5cdd797a0989ccd4ea3fd93c1d5@sha256:71a50e8c6de8ac394093cda3815ea2d19c0e67b025053b5c47c2364bd895903f + mozillareleases/taskgraph:decision-mobile-c0fca789e58f5458999ac9780a45897340f96f2a273c3c5ea1d2be438ab5223b@sha256:e9f387c9049db80281eaed73c7173b653be195423cdd58300f71d9796d8f1ac7 maxRunTime: 1800 diff --git a/taskcluster/ac_taskgraph/loader/build_config.py b/taskcluster/ac_taskgraph/loader/build_config.py index 9a159a1b5b9d..cf0fe56e9b3d 100644 --- a/taskcluster/ac_taskgraph/loader/build_config.py +++ b/taskcluster/ac_taskgraph/loader/build_config.py @@ -49,7 +49,7 @@ def get_upstream_deps_for_components(components): for configuration in CONFIGURATIONS_WITH_DEPENDENCIES: logger.info("Looking for dependencies in '%s' configuration" % configuration) - cmd = ["./gradlew"] + cmd = ["./gradlew", "--console=plain", "--parallel"] # This is eventually going to fail if there's ever enough components to make the command line # too long. If that happens, we'll need to split this list up and run gradle more than once. for c in sorted(components):