mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
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:
parent
f690ae9639
commit
76cf6b7b0f
@ -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.
|
||||
|
@ -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):
|
||||
|
@ -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 [
|
||||
|
@ -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,
|
||||
}),
|
||||
|
@ -157,7 +157,6 @@ def get_decision_parameters(options):
|
||||
'pushdate',
|
||||
'owner',
|
||||
'level',
|
||||
'triggered_by',
|
||||
'target_tasks_method',
|
||||
] if n in options}
|
||||
|
||||
|
@ -28,7 +28,6 @@ PARAMETER_NAMES = set([
|
||||
'pushdate',
|
||||
'pushlog_id',
|
||||
'target_tasks_method',
|
||||
'triggered_by',
|
||||
])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user