Commit 2e1a0d6b authored by Quinten Yearsley's avatar Quinten Yearsley Committed by Commit Bot

tricium: Fix analyzer spec in chromium project cfg

Tricium service will reject the config if the "platform" for the
definition and selection don't match -- but in fact the platform
field is not important anymore, since platform is actually determined
by the builder config. It doesn't make any difference whether we
specify UBUNTU or LINUX, so just unify it to one.

Bug: 1105239
Change-Id: I8822957fa34e9e5afaa06a687cdeed50614aa087
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2530749
Auto-Submit: Quinten Yearsley <qyearsley@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Reviewed-by: default avatarBen Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#825986}
parent 01fbce65
...@@ -40,39 +40,40 @@ functions { ...@@ -40,39 +40,40 @@ functions {
functions { functions {
type: ANALYZER type: ANALYZER
name: "ChromiumWrapper" name: "Metrics"
needs: GIT_FILE_DETAILS needs: GIT_FILE_DETAILS
provides: RESULTS provides: RESULTS
owner: "qyearsley@chromium.org" path_filters: "*.xml"
monorail_component: "Infra>Platform>Tricium>Analyzer" path_filters: "*.json"
owner: "isherman@chromium.org"
monorail_component: "Internals>Metrics>Tricium"
impls { impls {
runtime_platform: LINUX runtime_platform: LINUX
provides_for_platform: LINUX provides_for_platform: LINUX
recipe { recipe {
project: "chromium" project: "chromium"
bucket: "try" bucket: "try"
builder: "tricium-simple" builder: "tricium-metrics-analysis"
} }
deadline: 900 deadline: 900
} }
} }
# Wrapper for simple legacy analyzers.
functions { functions {
type: ANALYZER type: ANALYZER
name: "Metrics" name: "Simple"
needs: GIT_FILE_DETAILS needs: GIT_FILE_DETAILS
provides: RESULTS provides: RESULTS
path_filters: "*.xml" owner: "qyearsley@chromium.org"
path_filters: "*.json" monorail_component: "Infra>Platform>Tricium>Analyzer"
owner: "isherman@chromium.org"
monorail_component: "Internals>Metrics>Tricium"
impls { impls {
runtime_platform: UBUNTU runtime_platform: LINUX
provides_for_platform: UBUNTU provides_for_platform: LINUX
recipe { recipe {
project: "chromium" project: "chromium"
bucket: "try" bucket: "try"
builder: "tricium-metrics-analysis" builder: "tricium-simple"
} }
deadline: 900 deadline: 900
} }
...@@ -84,13 +85,13 @@ selections { ...@@ -84,13 +85,13 @@ selections {
} }
selections { selections {
function: "ChromiumWrapper" function: "Metrics"
platform: UBUNTU platform: LINUX
} }
selections { selections {
function: "Metrics" function: "Simple"
platform: UBUNTU platform: LINUX
} }
repos { repos {
......
...@@ -40,39 +40,40 @@ functions { ...@@ -40,39 +40,40 @@ functions {
functions { functions {
type: ANALYZER type: ANALYZER
name: "ChromiumWrapper" name: "Metrics"
needs: GIT_FILE_DETAILS needs: GIT_FILE_DETAILS
provides: RESULTS provides: RESULTS
owner: "qyearsley@chromium.org" path_filters: "*.xml"
monorail_component: "Infra>Platform>Tricium>Analyzer" path_filters: "*.json"
owner: "isherman@chromium.org"
monorail_component: "Internals>Metrics>Tricium"
impls { impls {
runtime_platform: LINUX runtime_platform: LINUX
provides_for_platform: LINUX provides_for_platform: LINUX
recipe { recipe {
project: "chromium" project: "chromium"
bucket: "try" bucket: "try"
builder: "tricium-simple" builder: "tricium-metrics-analysis"
} }
deadline: 900 deadline: 900
} }
} }
# Wrapper for simple legacy analyzers.
functions { functions {
type: ANALYZER type: ANALYZER
name: "Metrics" name: "Simple"
needs: GIT_FILE_DETAILS needs: GIT_FILE_DETAILS
provides: RESULTS provides: RESULTS
path_filters: "*.xml" owner: "qyearsley@chromium.org"
path_filters: "*.json" monorail_component: "Infra>Platform>Tricium>Analyzer"
owner: "isherman@chromium.org"
monorail_component: "Internals>Metrics>Tricium"
impls { impls {
runtime_platform: UBUNTU runtime_platform: LINUX
provides_for_platform: UBUNTU provides_for_platform: LINUX
recipe { recipe {
project: "chromium" project: "chromium"
bucket: "try" bucket: "try"
builder: "tricium-metrics-analysis" builder: "tricium-simple"
} }
deadline: 900 deadline: 900
} }
...@@ -84,13 +85,13 @@ selections { ...@@ -84,13 +85,13 @@ selections {
} }
selections { selections {
function: "ChromiumWrapper" function: "Metrics"
platform: UBUNTU platform: LINUX
} }
selections { selections {
function: "Metrics" function: "Simple"
platform: UBUNTU platform: LINUX
} }
repos { repos {
......
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