Skip to content

Instantly share code, notes, and snippets.

@bhearsum
Created June 9, 2021 18:55
Show Gist options
  • Save bhearsum/554313462f2653401c562c8c8a22fa84 to your computer and use it in GitHub Desktop.
Save bhearsum/554313462f2653401c562c8c8a22fa84 to your computer and use it in GitHub Desktop.
~/repos/fenix mozillaonline-build:master ⇡2 ❯ diff -Naur ~/tmp/2021-06-09/{before,after}-beta.json Py taskgraph2 Node system task 7
--- /home/bhearsum/tmp/2021-06-09/before-beta.json 2021-06-09 14:47:25.097529285 -0400
+++ /home/bhearsum/tmp/2021-06-09/after-beta.json 2021-06-09 14:51:06.234555432 -0400
@@ -178,6 +178,185 @@
"workerType": "b-linux"
}
},
+ "build-beta-mozillaonline": {
+ "attributes": {
+ "always_target": false,
+ "apks": {
+ "arm64-v8a": {
+ "github-name": "fenix-mozillaonline-90.0.0-beta.2-arm64-v8a.apk",
+ "name": "public/build/arm64-v8a/target.apk"
+ },
+ "armeabi-v7a": {
+ "github-name": "fenix-mozillaonline-90.0.0-beta.2-armeabi-v7a.apk",
+ "name": "public/build/armeabi-v7a/target.apk"
+ },
+ "x86": {
+ "github-name": "fenix-mozillaonline-90.0.0-beta.2-x86.apk",
+ "name": "public/build/x86/target.apk"
+ },
+ "x86_64": {
+ "github-name": "fenix-mozillaonline-90.0.0-beta.2-x86_64.apk",
+ "name": "public/build/x86_64/target.apk"
+ }
+ },
+ "build-type": "beta-mozillaonline",
+ "kind": "build",
+ "release-type": "beta",
+ "run_on_projects": [
+ "all"
+ ],
+ "run_on_tasks_for": []
+ },
+ "dependencies": {},
+ "kind": "build",
+ "label": "build-beta-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": 1623072396
+ },
+ "parent": "",
+ "treeherder": {
+ "collection": {
+ "opt": true
+ },
+ "groupName": "Beta-related tasks with same APK configuration as Fennec",
+ "groupSymbol": "beta",
+ "jobKind": "build",
+ "machine": {
+ "platform": "android-all"
+ },
+ "symbol": "Bmo",
+ "tier": 1
+ },
+ "treeherder-platform": "android-all/opt"
+ },
+ "metadata": {
+ "description": "Build Fenix from source code. ([Treeherder push](https://treeherder.mozilla.org/#/jobs?repo=fenix&revision=e89f7008a6efc805f3a399422d229137ec5458ea))",
+ "name": "build-beta-mozillaonline",
+ "owner": "christian.sadilek@gmail.com",
+ "source": "https://github.com/mozilla-mobile/fenix/blob/e89f7008a6efc805f3a399422d229137ec5458ea/taskcluster/ci/build"
+ },
+ "payload": {
+ "artifacts": {
+ "public/build/arm64-v8a/target.apk": {
+ "expires": {
+ "relative-datestamp": "1 year"
+ },
+ "path": "/builds/worker/checkouts/src/app/build/outputs/apk/beta/app-arm64-v8a-beta-unsigned.apk",
+ "type": "file"
+ },
+ "public/build/armeabi-v7a/target.apk": {
+ "expires": {
+ "relative-datestamp": "1 year"
+ },
+ "path": "/builds/worker/checkouts/src/app/build/outputs/apk/beta/app-armeabi-v7a-beta-unsigned.apk",
+ "type": "file"
+ },
+ "public/build/x86/target.apk": {
+ "expires": {
+ "relative-datestamp": "1 year"
+ },
+ "path": "/builds/worker/checkouts/src/app/build/outputs/apk/beta/app-x86-beta-unsigned.apk",
+ "type": "file"
+ },
+ "public/build/x86_64/target.apk": {
+ "expires": {
+ "relative-datestamp": "1 year"
+ },
+ "path": "/builds/worker/checkouts/src/app/build/outputs/apk/beta/app-x86_64-beta-unsigned.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",
+ "python automation/taskcluster/l10n/filter-release-translations.py && taskcluster/scripts/get-secret.py -s project/mobile/fenix/beta-mozillaonline -k adjust -f .adjust_token && taskcluster/scripts/get-secret.py -s project/mobile/fenix/beta-mozillaonline -k firebase -f app/src/beta/res/values/firebase.xml && taskcluster/scripts/get-secret.py -s project/mobile/fenix/beta-mozillaonline -k sentry_dsn -f .sentry_token && taskcluster/scripts/get-secret.py -s project/mobile/fenix/beta-mozillaonline -k mls -f .mls_token && taskcluster/scripts/get-secret.py -s project/mobile/fenix/beta-mozillaonline -k nimbus_url -f .nimbus && ./gradlew -PgoogleRepo=file:///builds/worker/fetches/android-gradle-dependencies/google -PcentralRepo=file:///builds/worker/fetches/android-gradle-dependencies/central listRepositories clean assembleBeta -Pmozillaonline -PversionName=90.0.0-beta.2 -Pofficial"
+ ],
+ "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/releases_v90.0.0",
+ "MOBILE_HEAD_REPOSITORY": "https://github.com/mozilla-mobile/fenix",
+ "MOBILE_HEAD_REV": "e89f7008a6efc805f3a399422d229137ec5458ea",
+ "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.e89f7008a6efc805f3a399422d229137ec5458ea.0",
+ "checks"
+ ],
+ "scopes": [
+ "queue:get-artifact:mobile/android-sdk/*",
+ "secrets:get:project/mobile/fenix/beta-mozillaonline"
+ ],
+ "tags": {
+ "createdForUser": "christian.sadilek@gmail.com",
+ "kind": "build",
+ "label": "build-beta-mozillaonline",
+ "os": "linux",
+ "worker-implementation": "docker-worker"
+ },
+ "workerType": "b-linux"
+ }
+ },
"github-release-beta": {
"attributes": {
"always_target": false,
@@ -648,6 +827,117 @@
"workerType": "mobile-3-signing"
}
},
+ "signing-beta-mozillaonline": {
+ "attributes": {
+ "always_target": false,
+ "apks": {
+ "arm64-v8a": {
+ "github-name": "fenix-mozillaonline-90.0.0-beta.2-arm64-v8a.apk",
+ "name": "public/build/arm64-v8a/target.apk"
+ },
+ "armeabi-v7a": {
+ "github-name": "fenix-mozillaonline-90.0.0-beta.2-armeabi-v7a.apk",
+ "name": "public/build/armeabi-v7a/target.apk"
+ },
+ "x86": {
+ "github-name": "fenix-mozillaonline-90.0.0-beta.2-x86.apk",
+ "name": "public/build/x86/target.apk"
+ },
+ "x86_64": {
+ "github-name": "fenix-mozillaonline-90.0.0-beta.2-x86_64.apk",
+ "name": "public/build/x86_64/target.apk"
+ }
+ },
+ "build-type": "beta-mozillaonline",
+ "kind": "signing",
+ "release-type": "beta",
+ "run_on_projects": [
+ "all"
+ ],
+ "run_on_tasks_for": [],
+ "signed": true
+ },
+ "dependencies": {},
+ "kind": "signing",
+ "label": "signing-beta-mozillaonline",
+ "optimization": null,
+ "soft_dependencies": [],
+ "task": {
+ "created": {
+ "relative-datestamp": "0 seconds"
+ },
+ "deadline": {
+ "relative-datestamp": "1 day"
+ },
+ "expires": {
+ "relative-datestamp": "1 year"
+ },
+ "extra": {
+ "index": {
+ "rank": 1623072396
+ },
+ "parent": "",
+ "treeherder": {
+ "collection": {
+ "opt": true
+ },
+ "groupName": "Beta-related tasks with same APK configuration as Fennec",
+ "groupSymbol": "beta",
+ "jobKind": "build",
+ "machine": {
+ "platform": "android-all"
+ },
+ "symbol": "Bmos",
+ "tier": 1
+ },
+ "treeherder-platform": "android-all/opt"
+ },
+ "metadata": {
+ "description": "Sign Fenix ([Treeherder push](https://treeherder.mozilla.org/#/jobs?repo=fenix&revision=e89f7008a6efc805f3a399422d229137ec5458ea))",
+ "name": "signing-beta-mozillaonline",
+ "owner": "christian.sadilek@gmail.com",
+ "source": "https://github.com/mozilla-mobile/fenix/blob/e89f7008a6efc805f3a399422d229137ec5458ea/taskcluster/ci/signing"
+ },
+ "payload": {
+ "maxRunTime": 600,
+ "upstreamArtifacts": [
+ {
+ "formats": [
+ "autograph_apk_mozillaonline"
+ ],
+ "paths": [
+ "public/build/arm64-v8a/target.apk",
+ "public/build/armeabi-v7a/target.apk",
+ "public/build/x86/target.apk",
+ "public/build/x86_64/target.apk"
+ ],
+ "taskId": {
+ "task-reference": "<build>"
+ },
+ "taskType": "build"
+ }
+ ]
+ },
+ "priority": "highest",
+ "provisionerId": "scriptworker-k8s",
+ "routes": [
+ "tc-treeherder.v2.fenix.e89f7008a6efc805f3a399422d229137ec5458ea.0",
+ "checks"
+ ],
+ "scopes": [
+ "project:mobile:fenix:releng:signing:cert:production-signing",
+ "project:mobile:fenix:releng:signing:format:autograph_apk_mozillaonline"
+ ],
+ "tags": {
+ "createdForUser": "christian.sadilek@gmail.com",
+ "kind": "signing",
+ "label": "signing-beta-mozillaonline",
+ "os": "scriptworker",
+ "worker-implementation": "scriptworker"
+ },
+ "workerType": "mobile-t-signing"
+ }
+ },
"version-bump-beta": {
"attributes": {
"always_target": false,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment