Bug 1322041 - Support android x86, arm; and desktop linux, linux64 nightlies via Taskcluster. Unsigned. r=dustin

Involved work which landed on the date project branch with:
* Bug 1321040, by Callek (https://hg.mozilla.org/projects/date/rev/625e2238eddb)
* Bug 1319546, by kmoir@mozilla.com (https://hg.mozilla.org/projects/date/rev/70a23d243d2c, https://hg.mozilla.org/projects/date/rev/01e3de270a4f)
* Bug 1277579, by kmoir@mozilla.com (https://hg.mozilla.org/projects/date/rev/c3a160ac642b, https://hg.mozilla.org/projects/date/rev/40ee5ff8fad8, https://hg.mozilla.org/projects/date/rev/ec159b8dba7f, https://hg.mozilla.org/projects/date/rev/afd3823c852b)
* Bug 1306166, by kmoir@mozilla.com (https://hg.mozilla.org/projects/date/rev/ff2e467cc345)

MozReview-Commit-ID: 8aZr6TqjRMR

--HG--
extra : rebase_source : bbb894ce57ef1ded707176561bd3ca9dc10ca04e
This commit is contained in:
Justin Wood 2016-12-04 17:18:03 -05:00
parent e0f41ae6f1
commit 6ef4a1ecc2
4 changed files with 105 additions and 2 deletions

View File

@ -47,6 +47,35 @@ android-x86/opt:
custom-build-variant-cfg: x86
tooltool-downloads: internal
android-x86-nightly/opt:
description: "Android 4.2 x86 Nightly"
attributes:
nightly: true
index:
product: mobile
job-name: android-x86-nightly-opt
treeherder:
platform: android-4-2-x86/opt
symbol: tc(N)
tier: 2
worker-type: aws-provisioner-v1/gecko-{level}-b-android
worker:
implementation: docker-worker
max-run-time: 7200
run:
using: mozharness
actions: [get-secrets build multi-l10n update]
config:
- builds/releng_base_android_64_builds.py
- disable_signing.py
- platform_supports_post_upload_to_latest.py
- taskcluster_nightly.py
script: "mozharness/scripts/fx_desktop_build.py"
secrets: true
custom-build-variant-cfg: x86
tooltool-downloads: internal
run-on-projects: []
android-api-15/opt:
description: "Android 4.0 API15+ Opt"
index:
@ -99,7 +128,7 @@ android-api-15-nightly/opt:
secrets: true
custom-build-variant-cfg: api-15
tooltool-downloads: internal
run-on-projects: []
run-on-projects: [ ]
android-api-15-gradle/opt:
description: "Android 4.0 API15+ (Gradle) Opt"

View File

@ -149,6 +149,35 @@ linux/pgo:
tooltool-downloads: public
need-xvfb: true
linux-nightly/opt:
description: "Linux32 Nightly"
attributes:
nightly: true
index:
product: firefox
job-name: linux32-nightly-opt
treeherder:
platform: linux32/opt
symbol: tc(N)
tier: 2
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
implementation: docker-worker
max-run-time: 36000
run:
using: mozharness
actions: [get-secrets build check-test generate-build-stats update]
config:
- builds/releng_base_linux_32_builds.py
- disable_signing.py
- taskcluster_nightly.py
script: "mozharness/scripts/fx_desktop_build.py"
secrets: true
tooltool-downloads: public
need-xvfb: true
run-on-projects: []
linux64-asan/opt:
description: "Linux64 Opt ASAN"
index:
@ -197,6 +226,34 @@ linux64-asan/debug:
tooltool-downloads: public
need-xvfb: true
linux64-nightly/opt:
description: "Linux64 Nightly"
attributes:
nightly: true
index:
product: firefox
job-name: linux64-nightly-opt
treeherder:
platform: linux64/opt
symbol: tc(N)
tier: 2
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
implementation: docker-worker
max-run-time: 36000
run:
using: mozharness
actions: [get-secrets build check-test generate-build-stats update]
config:
- builds/releng_base_linux_64_builds.py
- disable_signing.py
- taskcluster_nightly.py
script: "mozharness/scripts/fx_desktop_build.py"
secrets: true
tooltool-downloads: public
need-xvfb: true
run-on-projects: [ ]
linux64-stylo/opt:
description: "Linux64 Opt Stylo"
index:

View File

@ -141,5 +141,19 @@ def target_tasks_nightly(full_task_graph, parameters):
nightly build process involves a pipeline of builds, signing,
and, eventually, uploading the tasks to balrog."""
def filter(task):
return task.attributes.get('nightly', False)
platform = task.attributes.get('build_platform')
if platform in ('android-api-15-nightly', 'android-x86-nightly'):
return task.attributes.get('nightly', False)
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
@_target_task('nightly_linux')
def target_tasks_nightly_linux(full_task_graph, parameters):
"""Select the set of tasks required for a nightly build of linux. The
nightly build process involves a pipeline of builds, signing,
and, eventually, uploading the tasks to balrog."""
def filter(task):
platform = task.attributes.get('build_platform')
if platform in ('linux64-nightly', 'linux-nightly'):
return task.attributes.get('nightly', False)
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]

View File

@ -24,6 +24,7 @@ JOB_NAME_WHITELIST = set([
'android-api-15-partner-sample1-opt',
'android-l10n-opt',
'android-x86-opt',
'android-x86-nightly-opt',
'aries-debug',
'aries-eng-opt',
'browser-haz-debug',
@ -36,6 +37,7 @@ JOB_NAME_WHITELIST = set([
'linux64-debug',
'linux64-jsdcov-opt',
'linux64-l10n-opt',
'linux64-nightly-opt',
'linux64-opt',
'linux64-pgo',
'linux64-st-an-opt',
@ -44,6 +46,7 @@ JOB_NAME_WHITELIST = set([
'linux64-valgrind-opt',
'linux-debug',
'linux-opt',
'linux32-nightly-opt',
'linux-pgo',
'macosx64-clang-tidy',
'macosx64-debug',