mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 21:50:42 -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.
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
# This is the "base" task which contains the common values all linting tests must
|
|
# provide.
|
|
---
|
|
taskId: {{build_slugid}}
|
|
|
|
task:
|
|
created: '{{now}}'
|
|
deadline: '{{#from_now}}24 hours{{/from_now}}'
|
|
metadata:
|
|
source: http://todo.com/soon
|
|
owner: [email protected]
|
|
|
|
tags:
|
|
createdForUser: {{owner}}
|
|
|
|
workerType: b2gtest
|
|
provisionerId: aws-provisioner-v1
|
|
schedulerId: task-graph-scheduler
|
|
|
|
routes:
|
|
- 'index.gecko.v1.{{project}}.revision.linux.{{head_rev}}.{{build_name}}.{{build_type}}'
|
|
- 'index.gecko.v1.{{project}}.latest.linux.{{build_name}}.{{build_type}}'
|
|
scopes:
|
|
# Nearly all of our build tasks use tc-vcs so just include the scope across
|
|
# the board.
|
|
- 'docker-worker:cache:level-{{level}}-{{project}}-tc-vcs'
|
|
|
|
payload:
|
|
# Thirty minutes should be enough for lint checks
|
|
maxRunTime: 1800
|
|
|
|
cache:
|
|
level-{{level}}-{{project}}-tc-vcs: '/home/worker/.tc-vcs'
|
|
|
|
extra:
|
|
build_product: '{{build_product}}'
|
|
build_name: '{{build_name}}'
|
|
build_type: '{{build_type}}'
|
|
index:
|
|
rank: {{pushlog_id}}
|