Skip to content

Instantly share code, notes, and snippets.

@bhearsum
Created June 9, 2021 18:54
Show Gist options
  • Save bhearsum/994040e739345144bcdfa2778d43a253 to your computer and use it in GitHub Desktop.
Save bhearsum/994040e739345144bcdfa2778d43a253 to your computer and use it in GitHub Desktop.
~/repos/fenix mozillaonline-build:master ⇡2 ❯ diff -Naur ~/tmp/2021-06-09/{before,after}-nightly.json х INT Py taskgraph2 Node system task 7
--- /home/bhearsum/tmp/2021-06-09/before-nightly.json 2021-06-09 14:16:56.053628509 -0400
+++ /home/bhearsum/tmp/2021-06-09/after-nightly.json 2021-06-09 14:49:35.844927189 -0400
@@ -293,6 +293,152 @@
"workerType": "b-linux"
}
},
+ "build-android-test-mozillaonline": {
+ "attributes": {
+ "always_target": false,
+ "apks": {
+ "noarch": {
+ "github-name": "fenix--noarch.apk",
+ "name": "public/build/noarch/target.apk"
+ }
+ },
+ "build-type": "android-test-mozillaonline",
+ "kind": "build",
+ "run_on_projects": [
+ "all"
+ ],
+ "run_on_tasks_for": [
+ "github-push"
+ ]
+ },
+ "dependencies": {},
+ "kind": "build",
+ "label": "build-android-test-mozillaonline",
+ "optimization": null,
+ "soft_dependencies": [],
+ "task": {
+ "created": {
+ "relative-datestamp": "0 seconds"
+ },
+ "deadline": {
+ "relative-datestamp": "1 day"
+ },
+ "expires": {
+ "relative-datestamp": "1 year"
+ },
+ "extra": {
+ "chainOfTrust": {
+ "inputs": {
+ "docker-image": {
+ "task-reference": "<docker-image>"
+ }
+ }
+ },
+ "index": {
+ "rank": 1623170959
+ },
+ "parent": "",
+ "treeherder": {
+ "collection": {
+ "opt": true
+ },
+ "groupName": "Beta-related tasks with same APK configuration as Fennec",
+ "groupSymbol": "beta",
+ "jobKind": "build",
+ "machine": {
+ "platform": "android-all"
+ },
+ "symbol": "Bat-mo",
+ "tier": 1
+ },
+ "treeherder-platform": "android-all/opt"
+ },
+ "metadata": {
+ "description": "Build Fenix from source code. ([Treeherder push](https://treeherder.mozilla.org/#/jobs?repo=fenix&revision=f06e3a649315d214becc4fcd87a00a57f4b18b2a))",
+ "name": "build-android-test-mozillaonline",
+ "owner": "git@jonalmeida.com",
+ "source": "https://github.com/mozilla-mobile/fenix/blob/f06e3a649315d214becc4fcd87a00a57f4b18b2a/taskcluster/ci/build"
+ },
+ "payload": {
+ "artifacts": {
+ "public/build/noarch/target.apk": {
+ "expires": {
+ "relative-datestamp": "1 year"
+ },
+ "path": "/builds/worker/checkouts/src/app/build/outputs/apk/androidTest/beta/app-beta-androidTest.apk",
+ "type": "file"
+ }
+ },
+ "command": [
+ "/usr/local/bin/run-task",
+ "--mobile-checkout=/builds/worker/checkouts/src/",
+ "--task-cwd",
+ "/builds/worker/checkouts/src",
+ "--fetch-hgfingerprint",
+ "--",
+ "bash",
+ "-cx",
+ "taskcluster/scripts/write-dummy-secret.py -f .adjust_token -c faketoken && taskcluster/scripts/write-dummy-secret.py -f .mls_token -c faketoken && taskcluster/scripts/write-dummy-secret.py -f .sentry_token -c https://fake@sentry.prod.mozaws.net/368 && ./gradlew -PgoogleRepo=file:///builds/worker/fetches/android-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/android-gradle-dependencies/central listRepositories clean assembleAndroidtest -Pmozillaonline -PtestBuildType=beta -PdisableOptimization"
+ ],
+ "env": {
+ "ANDROID_SDK_ROOT": "/builds/worker/fetches/android-sdk-linux",
+ "HG_STORE_PATH": "/builds/worker/checkouts/hg-store",
+ "MOBILE_BASE_REPOSITORY": "https://github.com/mozilla-mobile/fenix",
+ "MOBILE_HEAD_REF": "refs/heads/master",
+ "MOBILE_HEAD_REPOSITORY": "https://github.com/mozilla-mobile/fenix",
+ "MOBILE_HEAD_REV": "f06e3a649315d214becc4fcd87a00a57f4b18b2a",
+ "MOBILE_REPOSITORY_TYPE": "git",
+ "MOZ_AUTOMATION": "1",
+ "MOZ_FETCHES": {
+ "task-reference": "[{\"artifact\": \"mobile/android-sdk/android-sdk-linux.tar.xz\", \"extract\": true, \"task\": \"<toolchain-linux64-android-sdk-linux-repack>\"}, {\"artifact\": \"public/build/android-gradle-dependencies.tar.xz\", \"extract\": true, \"task\": \"<toolchain-linux64-android-gradle-dependencies>\"}]"
+ },
+ "MOZ_FETCHES_DIR": "fetches",
+ "MOZ_SCM_LEVEL": "3",
+ "REPOSITORIES": "{\"mobile\": \"Fenix\"}",
+ "SCCACHE_DISABLE": "1",
+ "TASKCLUSTER_VOLUMES": "/builds/worker/.cache;/builds/worker/checkouts",
+ "VCS_PATH": "/builds/worker/checkouts/src"
+ },
+ "features": {
+ "chainOfTrust": true,
+ "taskclusterProxy": true
+ },
+ "image": {
+ "path": "public/image.tar.zst",
+ "taskId": {
+ "task-reference": "<docker-image>"
+ },
+ "type": "task-image"
+ },
+ "maxRunTime": 7200,
+ "onExitStatus": {
+ "purgeCaches": [
+ 72
+ ],
+ "retry": [
+ 72
+ ]
+ }
+ },
+ "priority": "highest",
+ "provisionerId": "mobile-3",
+ "routes": [
+ "tc-treeherder.v2.fenix.f06e3a649315d214becc4fcd87a00a57f4b18b2a.0",
+ "checks"
+ ],
+ "scopes": [
+ "queue:get-artifact:mobile/android-sdk/*"
+ ],
+ "tags": {
+ "createdForUser": "git@jonalmeida.com",
+ "kind": "build",
+ "label": "build-android-test-mozillaonline",
+ "os": "linux",
+ "worker-implementation": "docker-worker"
+ },
+ "workerType": "b-linux"
+ }
+ },
"build-android-test-nightly": {
"attributes": {
"always_target": false,
@@ -1835,6 +1981,103 @@
"os": "scriptworker",
"worker-implementation": "scriptworker"
},
+ "workerType": "mobile-t-signing"
+ }
+ },
+ "signing-android-test-mozillaonline": {
+ "attributes": {
+ "always_target": false,
+ "apks": {
+ "noarch": {
+ "github-name": "fenix--noarch.apk",
+ "name": "public/build/noarch/target.apk"
+ }
+ },
+ "build-type": "android-test-mozillaonline",
+ "kind": "signing",
+ "run_on_projects": [
+ "all"
+ ],
+ "run_on_tasks_for": [
+ "github-push"
+ ],
+ "signed": true
+ },
+ "dependencies": {},
+ "kind": "signing",
+ "label": "signing-android-test-mozillaonline",
+ "optimization": null,
+ "soft_dependencies": [],
+ "task": {
+ "created": {
+ "relative-datestamp": "0 seconds"
+ },
+ "deadline": {
+ "relative-datestamp": "1 day"
+ },
+ "expires": {
+ "relative-datestamp": "1 year"
+ },
+ "extra": {
+ "index": {
+ "rank": 1623170959
+ },
+ "parent": "",
+ "treeherder": {
+ "collection": {
+ "opt": true
+ },
+ "groupName": "Beta-related tasks with same APK configuration as Fennec",
+ "groupSymbol": "beta",
+ "jobKind": "build",
+ "machine": {
+ "platform": "android-all"
+ },
+ "symbol": "Bats-mo",
+ "tier": 1
+ },
+ "treeherder-platform": "android-all/opt"
+ },
+ "metadata": {
+ "description": "Sign Fenix ([Treeherder push](https://treeherder.mozilla.org/#/jobs?repo=fenix&revision=f06e3a649315d214becc4fcd87a00a57f4b18b2a))",
+ "name": "signing-android-test-mozillaonline",
+ "owner": "git@jonalmeida.com",
+ "source": "https://github.com/mozilla-mobile/fenix/blob/f06e3a649315d214becc4fcd87a00a57f4b18b2a/taskcluster/ci/signing"
+ },
+ "payload": {
+ "maxRunTime": 600,
+ "upstreamArtifacts": [
+ {
+ "formats": [
+ "autograph_apk"
+ ],
+ "paths": [
+ "public/build/noarch/target.apk"
+ ],
+ "taskId": {
+ "task-reference": "<build>"
+ },
+ "taskType": "build"
+ }
+ ]
+ },
+ "priority": "highest",
+ "provisionerId": "scriptworker-k8s",
+ "routes": [
+ "tc-treeherder.v2.fenix.f06e3a649315d214becc4fcd87a00a57f4b18b2a.0",
+ "checks"
+ ],
+ "scopes": [
+ "project:mobile:fenix:releng:signing:cert:dep-signing",
+ "project:mobile:fenix:releng:signing:format:autograph_apk"
+ ],
+ "tags": {
+ "createdForUser": "git@jonalmeida.com",
+ "kind": "signing",
+ "label": "signing-android-test-mozillaonline",
+ "os": "scriptworker",
+ "worker-implementation": "scriptworker"
+ },
"workerType": "mobile-t-signing"
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment