Revision control
Copy as Markdown
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
---
# release-publish: publish artifacts for successful nightly/release builds
#
# This task publishes a JSON file for the nightly/release builds. The JSON file is used by consumer
# apps for app-services version bumps.
#
# This task only runs if build-summary succeeds, which implies that all other
# tasks succeeded. This task should not fail, since that could leave the
# build artifacts in an inconsistent state.
loader: taskgraph.loader.transform:loader
kind-dependencies:
- build-summary
transforms:
- app_services_taskgraph.transforms.worker:transforms
- app_services_taskgraph.transforms.release_publish:transforms
- taskgraph.transforms.run:transforms
- taskgraph.transforms.task:transforms
tasks:
release_publish:
attributes:
release-type: release-only
label: "Build publish task"
description: "Publish build artifacts"
run-on-tasks-for: [cron]
worker-type: b-linux
worker:
chain-of-trust: true
max-run-time: 1800
env: {}
run:
using: run-commands