Commit 567a3080 authored by Quinten Yearsley's avatar Quinten Yearsley Committed by Commit Bot

tricium: Switch to recipe wrapper for chromium/src

This changes the tricium config to trigger the new wrapper recipe
instead of individually triggering the legacy analyzers.

This should be done after landing the recipe and the builder:
https://crrev.com/c/2477246
https://crrev.com/c/2521848

Bug: 1105239
Change-Id: I0446a8fa9547d989aec29884455febe46aa042bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2522171Reviewed-by: default avatarBen Pastene <bpastene@chromium.org>
Reviewed-by: default avatarAndrii Shyshkalov <tandrii@google.com>
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#825843}
parent ff33e6c7
...@@ -6,9 +6,6 @@ acls { ...@@ -6,9 +6,6 @@ acls {
group: "tricium-chromium-requesters" group: "tricium-chromium-requesters"
} }
# Analyzer definitions
# These are analyzers that are only applicable to this repository.
functions { functions {
type: ANALYZER type: ANALYZER
name: "ClangTidy" name: "ClangTidy"
...@@ -41,6 +38,25 @@ functions { ...@@ -41,6 +38,25 @@ functions {
} }
} }
functions {
type: ANALYZER
name: "ChromiumWrapper"
needs: GIT_FILE_DETAILS
provides: RESULTS
owner: "qyearsley@chromium.org"
monorail_component: "Infra>Platform>Tricium>Analyzer"
impls {
runtime_platform: LINUX
provides_for_platform: LINUX
recipe {
project: "chromium"
bucket: "try"
builder: "tricium-simple"
}
deadline: 900
}
}
functions { functions {
type: ANALYZER type: ANALYZER
name: "Metrics" name: "Metrics"
...@@ -62,20 +78,13 @@ functions { ...@@ -62,20 +78,13 @@ functions {
} }
} }
# Selections (enabled functions)
selections { selections {
function: "ClangTidy" function: "ClangTidy"
platform: LINUX platform: LINUX
} }
selections { selections {
function: "GitFileIsolator" function: "ChromiumWrapper"
platform: UBUNTU
}
selections {
function: "HttpsCheck"
platform: UBUNTU platform: UBUNTU
} }
...@@ -84,29 +93,6 @@ selections { ...@@ -84,29 +93,6 @@ selections {
platform: UBUNTU platform: UBUNTU
} }
selections {
function: "MojomCommentator"
platform: UBUNTU
}
selections {
function: "Pylint"
platform: UBUNTU
configs {
name: "disable"
value: "all"
}
configs {
name: "enable"
value: "syntax-error,unused-variable,undefined-variable,unused-import"
}
}
selections {
function: "SpellChecker"
platform: UBUNTU
}
repos { repos {
gerrit_project { gerrit_project {
host: "chromium-review.googlesource.com" host: "chromium-review.googlesource.com"
......
...@@ -6,9 +6,6 @@ acls { ...@@ -6,9 +6,6 @@ acls {
group: "tricium-chromium-requesters" group: "tricium-chromium-requesters"
} }
# Analyzer definitions
# These are analyzers that are only applicable to this repository.
functions { functions {
type: ANALYZER type: ANALYZER
name: "ClangTidy" name: "ClangTidy"
...@@ -41,6 +38,25 @@ functions { ...@@ -41,6 +38,25 @@ functions {
} }
} }
functions {
type: ANALYZER
name: "ChromiumWrapper"
needs: GIT_FILE_DETAILS
provides: RESULTS
owner: "qyearsley@chromium.org"
monorail_component: "Infra>Platform>Tricium>Analyzer"
impls {
runtime_platform: LINUX
provides_for_platform: LINUX
recipe {
project: "chromium"
bucket: "try"
builder: "tricium-simple"
}
deadline: 900
}
}
functions { functions {
type: ANALYZER type: ANALYZER
name: "Metrics" name: "Metrics"
...@@ -62,20 +78,13 @@ functions { ...@@ -62,20 +78,13 @@ functions {
} }
} }
# Selections (enabled functions)
selections { selections {
function: "ClangTidy" function: "ClangTidy"
platform: LINUX platform: LINUX
} }
selections { selections {
function: "GitFileIsolator" function: "ChromiumWrapper"
platform: UBUNTU
}
selections {
function: "HttpsCheck"
platform: UBUNTU platform: UBUNTU
} }
...@@ -84,29 +93,6 @@ selections { ...@@ -84,29 +93,6 @@ selections {
platform: UBUNTU platform: UBUNTU
} }
selections {
function: "MojomCommentator"
platform: UBUNTU
}
selections {
function: "Pylint"
platform: UBUNTU
configs {
name: "disable"
value: "all"
}
configs {
name: "enable"
value: "syntax-error,unused-variable,undefined-variable,unused-import"
}
}
selections {
function: "SpellChecker"
platform: UBUNTU
}
repos { repos {
gerrit_project { gerrit_project {
host: "chromium-review.googlesource.com" host: "chromium-review.googlesource.com"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment