Bug 1459222 - Firefox RC: push snaps onto the beta channel at ship_rc phase r=mtabara a=release
authorJohan Lorenzo <jlorenzo@mozilla.com>
Wed, 27 Feb 2019 16:16:34 +0000
changeset 516311 858a6e5a240a47d2f8a9dc8d29bc512417f773ab
parent 516310 5f4ba71d48892ddfc9e800aec521a46eaae175fd
child 516312 1c0f11f4fd4bf7f36ed0d3a0d37c347f40ffe8b8
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmtabara, release
bugs1459222
milestone66.0
Bug 1459222 - Firefox RC: push snaps onto the beta channel at ship_rc phase r=mtabara a=release Firefox RC: push snaps onto the beta channel at ship_rc phase Differential Revision: https://phabricator.services.mozilla.com/D21380
taskcluster/ci/release-secondary-snap-push/kind.yml
taskcluster/docs/kinds.rst
new file mode 100644
--- /dev/null
+++ b/taskcluster/ci/release-secondary-snap-push/kind.yml
@@ -0,0 +1,38 @@
+# 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
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+loader: taskgraph.loader.transform:loader
+
+transforms:
+   - taskgraph.transforms.release_deps:transforms
+   - taskgraph.transforms.release_snap_push:transforms
+   - taskgraph.transforms.task:transforms
+
+kind-dependencies:
+   - release-snap-repackage
+
+job-defaults:
+   description: Pushes (Ubuntu) Snaps onto Snap Store
+   run-on-projects: []  # to make sure this never runs as part of CI
+   shipping-phase: ship   # ship-rc phase
+   scopes:
+      by-project:
+         mozilla-release: ["project:releng:snapcraft:firefox:beta"]   # ship-rc pushes to beta
+         default: ["project:releng:snapcraft:firefox:mock"]
+   treeherder:
+      platform: linux64/opt
+      kind: build
+      tier: 2
+   worker-type:
+      by-release-level:
+         production: scriptworker-prov-v1/pushsnap-v1
+         staging: scriptworker-prov-v1/dep-pushsnap
+   worker:
+      implementation: push-snap
+
+jobs:
+   firefox-rc:
+      shipping-product: firefox
+      treeherder:
+         symbol: Snap(push-beta)
--- a/taskcluster/docs/kinds.rst
+++ b/taskcluster/docs/kinds.rst
@@ -266,16 +266,21 @@ release auditing. https://wiki.mozilla.o
 release-snap-repackage
 ----------------------
 Generate an installer using Ubuntu's Snap format.
 
 release-snap-push
 -----------------
 Pushes Snap repackage on Snap store.
 
+release-secondary-snap-push
+---------------------------
+Performs the same function as `release-snap-push`, except for the beta channel as part of RC
+Releases.
+
 release-notify-push
 -------------------
 Notify when a release has been pushed to CDNs.
 
 release-notify-ship
 -------------------
 Notify when a release has been shipped.