Skip to content
Snippets Groups Projects
Commit 499d1eed authored by Julien Cristau's avatar Julien Cristau
Browse files

Bug 1824856 - migrate build-components jobs from firefox-android....

Bug 1824856 - migrate build-components jobs from firefox-android. r=bhearsum,amejiamarmol,geckoview-reviewers,releng-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D201425
parent 493d9231
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,8 @@ loader: android_taskgraph.loader.build_config:components_loader
transforms:
- android_taskgraph.transforms.build_components:transforms
- android_taskgraph.transforms.gradle_optimization:transforms
- taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms
- gecko_taskgraph.transforms.job:transforms
- gecko_taskgraph.transforms.task:transforms
not-for-components:
- samples-browser # Their configs are too different, so they're handled in a specific kind
......@@ -17,27 +17,27 @@ kind-dependencies:
- toolchain
- external-gradle-dependencies
task-defaults:
job-defaults:
artifact-template:
type: file
name: public/build/{artifact_file_name}
path: '/builds/worker/checkouts/vcs/android-components/{component_path}/build/maven/org/mozilla/components/{component}/{version}/{artifact_file_name}'
path: '/builds/worker/checkouts/gecko/mobile/android/android-components/{component_path}/build/maven/org/mozilla/components/{component}/{version}/{artifact_file_name}'
tests-artifact-template:
type: directory
name: public/reports/tests
path: '/builds/worker/checkouts/vcs/android-components/{component_path}/build/reports/tests'
path: '/builds/worker/checkouts/gecko/mobile/android/android-components/{component_path}/build/reports/tests'
lint-artifact-template:
type: file
name: public/reports/lint-results-release.html
path: '/builds/worker/checkouts/vcs/android-components/{component_path}/build/reports/lint-results-release.html'
text-artifact-template:
type: file
name: public/github/customCheckRunText.md
path: '/builds/worker/github/customCheckRunText.md'
path: '/builds/worker/checkouts/gecko/mobile/android/android-components/{component_path}/build/reports/lint-results-release.html'
# text-artifact-template:
# type: file
# name: public/github/customCheckRunText.md
# path: '/builds/worker/github/customCheckRunText.md'
jacoco-coverage-template:
type: directory
name: public/reports/jacoco
path: '/builds/worker/checkouts/vcs/android-components/{component_path}/build/reports/jacoco'
path: '/builds/worker/checkouts/gecko/mobile/android/android-components/{component_path}/build/reports/jacoco'
attributes:
code-review:
by-build-type:
......@@ -108,18 +108,15 @@ task-defaults:
- ':{component}:publish'
- 'githubBuildDetails'
pre-gradlew:
- ["cd", "android-components"]
- ["cd", "mobile/android/android-components"]
using: gradlew
use-caches: false
run-on-tasks-for:
run-on-projects:
by-build-type:
release: []
beta: []
nightly: []
default:
- github-pull-request
- github-pull-request-untrusted
- github-push
default: [all]
shipping-phase:
by-build-type:
(nightly|beta|release): promote
......@@ -134,8 +131,10 @@ task-defaults:
default: '{treeherder_group}(B)'
platform: AC-android-all/opt
tier: 1
worker-type: b-android-large
worker-type: b-linux-large-gcp
worker:
chain-of-trust: true
docker-image: {in-tree: base}
docker-image: {in-tree: android-components}
max-run-time: 1200
env:
ANDROID_SDK_ROOT: /builds/worker/fetches/android-sdk-linux
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment