mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-17 12:47:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
68
taskcluster/ci/docker-image/image.yml
Normal file
68
taskcluster/ci/docker-image/image.yml
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
---
|
||||
task:
|
||||
created:
|
||||
relative-datestamp: "0 seconds"
|
||||
deadline:
|
||||
relative-datestamp: "24 hours"
|
||||
metadata:
|
||||
name: 'Docker Image Build: {{image_name}}'
|
||||
description: 'Build the docker image {{image_name}} for use by dependent tasks'
|
||||
source: '{{source}}'
|
||||
owner: mozilla-taskcluster-maintenance@mozilla.com
|
||||
tags:
|
||||
createdForUser: '{{owner}}'
|
||||
|
||||
workerType: taskcluster-images
|
||||
provisionerId: aws-provisioner-v1
|
||||
schedulerId: task-graph-scheduler
|
||||
|
||||
routes:
|
||||
# Indexing routes to avoid building the same image twice
|
||||
- index.{{index_image_prefix}}.level-{{level}}.{{image_name}}.latest
|
||||
- index.{{index_image_prefix}}.level-{{level}}.{{image_name}}.pushdate.{{year}}.{{month}}-{{day}}-{{pushtime}}
|
||||
- index.{{index_image_prefix}}.level-{{level}}.{{image_name}}.hash.{{context_hash}}
|
||||
# Treeherder routes
|
||||
- tc-treeherder.v2.{{project}}.{{head_rev}}.{{pushlog_id}}
|
||||
- tc-treeherder-stage.v2.{{project}}.{{head_rev}}.{{pushlog_id}}
|
||||
|
||||
scopes:
|
||||
- secrets:get:project/taskcluster/gecko/hgfingerprint
|
||||
- docker-worker:cache:level-{{level}}-imagebuilder-v1
|
||||
|
||||
payload:
|
||||
env:
|
||||
HASH: '{{context_hash}}'
|
||||
PROJECT: '{{project}}'
|
||||
CONTEXT_URL: '{{context_url}}'
|
||||
IMAGE_NAME: '{{image_name}}'
|
||||
GECKO_BASE_REPOSITORY: '{{base_repository}}'
|
||||
GECKO_HEAD_REPOSITORY: '{{head_repository}}'
|
||||
GECKO_HEAD_REV: '{{head_rev}}'
|
||||
HG_STORE_PATH: '/home/worker/checkouts/hg-store'
|
||||
cache:
|
||||
'level-{{level}}-imagebuilder-v1': '/home/worker/checkouts'
|
||||
features:
|
||||
dind: true
|
||||
chainOfTrust: true
|
||||
taskclusterProxy: true
|
||||
image: '{{#docker_image}}image_builder{{/docker_image}}'
|
||||
maxRunTime: 3600
|
||||
artifacts:
|
||||
'{{artifact_path}}':
|
||||
type: 'file'
|
||||
path: '/home/worker/workspace/artifacts/image.tar.zst'
|
||||
expires:
|
||||
relative-datestamp: "1 year"
|
||||
extra:
|
||||
imageMeta: # Useful when converting back from JSON in action tasks
|
||||
level: '{{level}}'
|
||||
contextHash: '{{context_hash}}'
|
||||
imageName: '{{image_name}}'
|
||||
treeherderEnv:
|
||||
- staging
|
||||
- production
|
||||
treeherder:
|
||||
jobKind: other
|
||||
build:
|
||||
platform: 'taskcluster-images'
|
||||
groupSymbol: 'I'
|
||||
Loading…
Add table
Add a link
Reference in a new issue