Bug 1351011: remove unused triggered_by property; r=Callek

The purpose of this parameter has been superseded by the `include_nightly`
property.

MozReview-Commit-ID: 4iXQsv9Drqg

--HG--
extra : rebase_source : c94142282909a88c29fe6809d87721bef1f198c2
This commit is contained in:
Dustin J. Mitchell 2017-03-27 20:10:08 +00:00
parent f690ae9639
commit 76cf6b7b0f
6 changed files with 0 additions and 15 deletions

View File

@ -22,10 +22,6 @@ topic.
Push Information
----------------
``triggered_by``
The event that precipitated this decision task; one of ``"nightly"`` or
``"push"``.
``base_repository``
The repository from which to do an initial clone, utilizing any available
caching.

View File

@ -149,10 +149,6 @@ class MachCommands(MachCommandBase):
@CommandArgument('--level',
required=True,
help='SCM level of this repository')
@CommandArgument('--triggered-by',
choices=['nightly', 'push'],
default='push',
help='Source of execution of the decision graph')
@CommandArgument('--target-tasks-method',
help='method for selecting the target tasks to generate')
def taskgraph_decision(self, **options):

View File

@ -16,8 +16,6 @@ import slugid
def run_decision_task(job, params):
arguments = []
if 'triggered-by' in job:
arguments.append('--triggered-by={}'.format(job['triggered-by']))
if 'target-tasks-method' in job:
arguments.append('--target-tasks-method={}'.format(job['target-tasks-method']))
return [

View File

@ -33,9 +33,6 @@ cron_yml_schema = Schema({
# Treeherder symbol for the cron task
Required('treeherder-symbol'): basestring,
# --triggered-by './mach taskgraph decision' argument
'triggered-by': basestring,
# --target-tasks-method './mach taskgraph decision' argument
'target-tasks-method': basestring,
}),

View File

@ -157,7 +157,6 @@ def get_decision_parameters(options):
'pushdate',
'owner',
'level',
'triggered_by',
'target_tasks_method',
] if n in options}

View File

@ -28,7 +28,6 @@ PARAMETER_NAMES = set([
'pushdate',
'pushlog_id',
'target_tasks_method',
'triggered_by',
])