Bug 2046941: fix new switch statements introduced by 2044114 r=releng-reviewers,ahal
The autoland one has been verified to have multiple truthy-branches (not allowed by JSON-e); the other one looks like it plausibly could too. Differential Revision: https://phabricator.services.mozilla.com/D306277
This commit is contained in:
committed by
bhearsum@mozilla.com
parent
5b5f145d02
commit
b8535b7f4d
+9
-5
@@ -260,9 +260,11 @@ tasks:
|
||||
extraArgs:
|
||||
$switch:
|
||||
'tasks_for == "cron"': '${cron.quoted_args}'
|
||||
'repository.project == "autoland"': '--no-verify'
|
||||
'repository.project == "try"': '--no-verify --allow-parameter-override'
|
||||
$default: ''
|
||||
$default:
|
||||
$switch:
|
||||
'repository.project == "autoland"': '--no-verify'
|
||||
'repository.project == "try"': '--no-verify --allow-parameter-override'
|
||||
$default: ''
|
||||
in:
|
||||
$if: 'tasks_for == "action"'
|
||||
then: >
|
||||
@@ -573,8 +575,10 @@ tasks:
|
||||
extraArgs:
|
||||
$switch:
|
||||
'tasks_for == "cron"': '${cron.quoted_args}'
|
||||
'repoType == "dev"': '--allow-parameter-override'
|
||||
$default: ''
|
||||
$default:
|
||||
$switch:
|
||||
'repoType == "dev"': '--allow-parameter-override'
|
||||
$default: ''
|
||||
in:
|
||||
$if: 'eventType == "action"'
|
||||
then: >
|
||||
|
||||
Reference in New Issue
Block a user