Skip to content

Instantly share code, notes, and snippets.

@bendk
Created April 6, 2023 15:34
Show Gist options
  • Save bendk/22b0961dc95e792220de7475a53d6c9a to your computer and use it in GitHub Desktop.
Save bendk/22b0961dc95e792220de7475a53d6c9a to your computer and use it in GitHub Desktop.
"Nightly build publish task": {
"attributes": {
"always_target": false,
"kind": "nightly-publish",
"nightly": "nightly-only",
"run_on_projects": [
"all"
],
"run_on_tasks_for": [
"all"
],
"shipping_phase": null
},
"dependencies": {},
"description": "Publish nightly artifacts",
"if_dependencies": [],
"kind": "nightly-publish",
"label": "Nightly build publish task",
"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": 0
},
"parent": ""
},
"metadata": {
"description": "Publish nightly artifacts",
"name": "Nightly build publish task",
"owner": "cron@noreply.mozilla.org",
"source": "https://github.com/mozilla/application-services/blob/5ad5931c2d91c9f00e9984131925c76136822ab5/taskcluster/ci/nightly-publish"
},
"payload": {
"artifacts": {
"public/build/nightly.json": {
"expires": {
"relative-datestamp": "1 year"
},
"path": "/builds/worker/checkouts/vcs/build/nightly.json",
"type": "file"
}
},
"cache": {
"app-services-level-1-checkouts-hg58-v3-aabb472180bc3751b11e": "/builds/worker/checkouts"
},
"command": [
"/usr/local/bin/run-task",
"--appservices-checkout=/builds/worker/checkouts/vcs/",
"--task-cwd",
"/builds/worker/checkouts/vcs",
"--",
"bash",
"-cx",
"/builds/worker/checkouts/vcs/taskcluster/scripts/generate-nightly-json.py /builds/worker/checkouts/vcs/build/nightly.json --version 113.20220503050340 --maven-channel maven-nightly-staging"
],
"env": {
"APPSERVICES_BASE_REPOSITORY": "https://github.com/mozilla/application-services",
"APPSERVICES_HEAD_REF": "main",
"APPSERVICES_HEAD_REPOSITORY": "https://github.com/mozilla/application-services",
"APPSERVICES_HEAD_REV": "5ad5931c2d91c9f00e9984131925c76136822ab5",
"APPSERVICES_REPOSITORY_TYPE": "git",
"HG_STORE_PATH": "/builds/worker/checkouts/hg-store",
"MOZ_AUTOMATION": "1",
"MOZ_SCM_LEVEL": "1",
"REPOSITORIES": "{\"appservices\": \"Application Services\"}",
"SCCACHE_DISABLE": "1",
"TASKCLUSTER_CACHES": "/builds/worker/checkouts",
"TASKCLUSTER_UNTRUSTED_CACHES": "1",
"TASKCLUSTER_VOLUMES": "/builds/worker/.cache;/builds/worker/checkouts",
"VCS_PATH": "/builds/worker/checkouts/vcs"
},
"features": {
"chainOfTrust": true,
"taskclusterProxy": true
},
"image": {
"path": "public/image.tar.zst",
"taskId": {
"task-reference": "<docker-image>"
},
"type": "task-image"
},
"maxRunTime": 1800,
"onExitStatus": {
"purgeCaches": [
72
],
"retry": [
72
]
}
},
"priority": "highest",
"provisionerId": "app-services-1",
"routes": [
"index.project.application-services.v2.nightly.latest",
"index.project.application-services.v2.nightly.113.20220503050340",
"checks"
],
"scopes": [
"docker-worker:cache:app-services-level-1-checkouts-hg58-v3-aabb472180bc3751b11e"
],
"tags": {
"createdForUser": "cron@noreply.mozilla.org",
"kind": "nightly-publish",
"label": "Nightly build publish task",
"os": "linux",
"worker-implementation": "docker-worker"
},
"workerType": "b-linux-gcp"
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment