зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1797207 - Skip sentry tasks on projects other than central or try. DONTBUILD
The required secrets: scopes are only granted for these projects, per https://hg.mozilla.org/ci/ci-configuration/rev/5c23f21897d9 Differential Revision: https://phabricator.services.mozilla.com/D160157
This commit is contained in:
Родитель
59f0bf3c13
Коммит
fccb54a2a7
|
@ -10,6 +10,8 @@ transforms = TransformSequence()
|
|||
@transforms.add
|
||||
def sentry(config, tasks):
|
||||
"""Do transforms specific to github-sync tasks."""
|
||||
if config.params["project"] not in ["mozilla-central", "try"]:
|
||||
return
|
||||
for task in tasks:
|
||||
scopes = [
|
||||
scope.format(level=config.params["level"]) for scope in task["scopes"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче