No bug: [try-staging] Rename beta-sim to release-sim to reflect flexibility; r=aryx
authorTom Prince <mozilla@hocat.ca>
Sat, 10 Nov 2018 00:50:27 +0000
changeset 503282 68b45fa09780ceadedc9dab551a975f7f2113724
parent 503281 00f109437e82f6e9a350911573cbe11a5bafcfed
child 503283 8fb8a2697446df001916e99c8631e65269cf89a6
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaryx
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
No bug: [try-staging] Rename beta-sim to release-sim to reflect flexibility; r=aryx Now that `mach try release` also supports simulating release and esr, rename the option to `release-sim`. Differential Revision: https://phabricator.services.mozilla.com/D11516
taskcluster/taskgraph/target_tasks.py
tools/tryselect/selectors/release.py
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -609,20 +609,20 @@ def target_tasks_staging_release(full_ta
             return False
         if task.attributes.get('shipping_phase') == 'build':
             return True
         return False
 
     return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
 
 
-@_target_task('beta_simulation')
-def target_tasks_beta_simulation(full_task_graph, parameters, graph_config):
+@_target_task('release_simulation')
+def target_tasks_release_simulation(full_task_graph, parameters, graph_config):
     """
-    Select builds that would run on mozilla-beta.
+    Select builds that would run on push on a release branch.
     """
     project_by_release = {
         'nightly': 'mozilla-central',
         'beta': 'mozilla-beta',
         'release': 'mozilla-release',
         'esr60': 'mozilla-esr60',
     }
     target_project = project_by_release.get(parameters['release_type'])
--- a/tools/tryselect/selectors/release.py
+++ b/tools/tryselect/selectors/release.py
@@ -9,17 +9,17 @@ import os
 import attr
 from mozilla_version.gecko import FirefoxVersion
 
 from ..cli import BaseTryParser
 from ..push import push_to_try, vcs
 
 TARGET_TASKS = {
     'staging': 'staging_release_builds',
-    'beta-sim': 'beta_simulation',
+    'release-sim': 'release_simulation',
 }
 
 
 def read_file(path):
     with open(path) as fh:
         return fh.read()