mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-27 13:40:37 -10:00
This adds a `--level` option to taskcluster-graph, and passes the level supplied from mozilla-taskcluster. It then substitutes that into cache names for just about every cache (tooltool being the exception, as it verifies hashes and is thus immune to poisoning). The scopes for these new cache names are already included in the relevant `moz-tree:level:*` roles. This also strips `-c6` from cache names; I added this when we were transitioning from the Ubuntu-based build images, to ensure I got clean caches. It's no longer necessary.
62 lines
1.9 KiB
YAML
62 lines
1.9 KiB
YAML
$inherits:
|
|
from: 'tasks/builds/mobile_base.yml'
|
|
variables:
|
|
build_name: 'android'
|
|
build_type: 'opt'
|
|
task:
|
|
metadata:
|
|
name: '[TC] Android armv7 API 11+'
|
|
description: 'Android armv7 API 11+'
|
|
|
|
workerType: android-api-11
|
|
|
|
routes:
|
|
- 'index.buildbot.branches.{{project}}.android-api-11'
|
|
- 'index.buildbot.revisions.{{head_rev}}.{{project}}.android-api-11'
|
|
|
|
scopes:
|
|
- 'docker-worker:cache:level-{{level}}-{{project}}-build-android-api-11-workspace'
|
|
- 'docker-worker:cache:tooltool-cache'
|
|
- 'docker-worker:relengapi-proxy:tooltool.download.internal'
|
|
- 'docker-worker:relengapi-proxy:tooltool.download.public'
|
|
|
|
payload:
|
|
image: '{{#docker_image}}desktop-build{{/docker_image}}'
|
|
cache:
|
|
level-{{level}}-{{project}}-build-android-api-11-workspace: '/home/worker/workspace'
|
|
tooltool-cache: '/home/worker/tooltool-cache'
|
|
|
|
features:
|
|
relengAPIProxy: true
|
|
|
|
env:
|
|
# inputs to mozharness
|
|
MOZHARNESS_SCRIPT: 'mozharness/scripts/fx_desktop_build.py'
|
|
# TODO: make these additional configuration files go away
|
|
MOZHARNESS_CONFIG: >
|
|
builds/releng_base_android_64_builds.py
|
|
disable_signing.py
|
|
platform_supports_post_upload_to_latest.py
|
|
MH_CUSTOM_BUILD_VARIANT_CFG: api-11
|
|
MH_BRANCH: {{project}}
|
|
MH_BUILD_POOL: taskcluster
|
|
|
|
maxRunTime: 36000
|
|
|
|
command: ["/bin/bash", "bin/build.sh"]
|
|
|
|
extra:
|
|
treeherderEnv:
|
|
- production
|
|
- staging
|
|
treeherder:
|
|
machine:
|
|
# see https://github.com/mozilla/treeherder/blob/master/ui/js/values.js
|
|
platform: android-4-0-armv7-api11
|
|
# Rather then enforcing particular conventions we require that all build
|
|
# tasks provide the "build" extra field to specify where the build and tests
|
|
# files are located.
|
|
locations:
|
|
build: 'public/build/target.linux-x86_64.tar.bz2'
|
|
tests: 'public/build/target.tests.zip'
|