зеркало из https://github.com/mozilla/bugbug.git
866 строки
31 KiB
YAML
866 строки
31 KiB
YAML
version: 1
|
|
tasks:
|
|
$let:
|
|
year: {$eval: 'now[0:4]'}
|
|
month: {$eval: 'now[5:7]'}
|
|
day: {$eval: 'now[8:10]'}
|
|
hour: {$eval: 'now[11:13]'}
|
|
minute: {$eval: 'now[14:16]'}
|
|
second: {$eval: 'now[17:19]'}
|
|
in:
|
|
- ID: commit-retrieval
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '72 hours'}
|
|
expires: {$fromNow: '1 month'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-large
|
|
payload:
|
|
maxRunTime: 86400
|
|
image: mozilla/bugbug-commit-retrieval:${version}
|
|
|
|
artifacts:
|
|
public/commits.json.zst:
|
|
path: /data/commits.json.zst
|
|
type: file
|
|
public/commits.json.version:
|
|
path: /data/commits.json.version
|
|
type: file
|
|
public/commit_experiences.pickle.zst:
|
|
path: /data/commit_experiences.pickle.zst
|
|
type: file
|
|
cache:
|
|
bugbug-mercurial-repository: /cache
|
|
scopes:
|
|
- "docker-worker:cache:bugbug-mercurial-repository"
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.data_commits.${version}
|
|
- index.project.relman.bugbug.data_commits.latest
|
|
metadata:
|
|
name: bugbug commit retrieval
|
|
description: bugbug commit retrieval
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: bugs-retrieval
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '72 hours'}
|
|
expires: {$fromNow: '1 month'}
|
|
provisionerId: proj-relman
|
|
workerType: ci
|
|
dependencies:
|
|
- commit-retrieval
|
|
payload:
|
|
env:
|
|
TC_SECRET_ID: project/relman/bugbug/production
|
|
maxRunTime: 86400
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- "bugbug-data-bugzilla"
|
|
|
|
artifacts:
|
|
public/bugs.json.zst:
|
|
path: /data/bugs.json.zst
|
|
type: file
|
|
public/bugs.json.version:
|
|
path: /data/bugs.json.version
|
|
type: file
|
|
|
|
features:
|
|
taskclusterProxy:
|
|
true
|
|
scopes:
|
|
- "secrets:get:project/relman/bugbug/production"
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.data_bugs.${version}
|
|
- index.project.relman.bugbug.data_bugs.latest
|
|
metadata:
|
|
name: bugbug bugs retrieval
|
|
description: bugbug bugs retrieval
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: test-scheduling-history-push_data-retrieval
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '72 hours'}
|
|
expires: {$fromNow: '1 month'}
|
|
provisionerId: proj-relman
|
|
workerType: ci
|
|
dependencies:
|
|
- commit-retrieval
|
|
payload:
|
|
env:
|
|
TC_SECRET_ID: project/relman/bugbug/production
|
|
maxRunTime: 86400
|
|
image: ahal/adr
|
|
command:
|
|
- "/bin/bash"
|
|
- "-cx"
|
|
- "wget https://github.com/mozilla/bugbug/raw/${version}/scripts/test_scheduling_history_retriever.py &&
|
|
pip install --disable-pip-version-check --quiet --no-cache-dir bugbug==${version} &&
|
|
python test_scheduling_history_retriever.py retrieve"
|
|
|
|
artifacts:
|
|
public/adr_cache.tar.zst:
|
|
path: /builds/worker/data/adr_cache.tar.zst
|
|
type: file
|
|
public/adr_cache.tar.version:
|
|
path: /builds/worker/data/adr_cache.tar.version
|
|
type: file
|
|
public/push_data.json.zst:
|
|
path: /builds/worker/push_data.json.zst
|
|
type: file
|
|
|
|
features:
|
|
taskclusterProxy:
|
|
true
|
|
scopes:
|
|
- "secrets:get:project/relman/bugbug/production"
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.data_test_scheduling_history_push_data.${version}
|
|
- index.project.relman.bugbug.data_test_scheduling_history_push_data.latest
|
|
metadata:
|
|
name: bugbug test scheduling history push data retrieval
|
|
description: bugbug test scheduling history push data retrieval
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: test-scheduling-history-generator
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '118 hours'}
|
|
expires: {$fromNow: '1 month'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-large
|
|
dependencies:
|
|
- test-scheduling-history-push_data-retrieval
|
|
payload:
|
|
env:
|
|
TC_SECRET_ID: project/relman/bugbug/production
|
|
maxRunTime: 86400
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- bugbug-data-test-scheduling-history
|
|
- generate
|
|
|
|
artifacts:
|
|
public/test_scheduling_history.pickle.zst:
|
|
path: /data/test_scheduling_history.pickle.zst
|
|
type: file
|
|
public/test_scheduling_history.pickle.version:
|
|
path: /data/test_scheduling_history.pickle.version
|
|
type: file
|
|
public/past_failures.lmdb.tar.zst:
|
|
path: /data/past_failures.lmdb.tar.zst
|
|
type: file
|
|
|
|
features:
|
|
taskclusterProxy:
|
|
true
|
|
scopes:
|
|
- "secrets:get:project/relman/bugbug/production"
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.data_test_scheduling_history.${version}
|
|
- index.project.relman.bugbug.data_test_scheduling_history.latest
|
|
metadata:
|
|
name: bugbug test scheduling history retrieval
|
|
description: bugbug test scheduling history retrieval
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: rollback-test-task
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '73 hours'}
|
|
expires: {$fromNow: '1 month'}
|
|
provisionerId: proj-relman
|
|
workerType: ci
|
|
dependencies:
|
|
- bugs-retrieval
|
|
payload:
|
|
maxRunTime: 3600
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- "/bin/bash"
|
|
- "-lcx"
|
|
- "python -c 'from bugbug import bugzilla, db; db.download(bugzilla.BUGS_DB)' &&
|
|
python -m bugbug.bug_snapshot --verbose"
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
metadata:
|
|
name: bugbug rollback test
|
|
description: bugbug rollback test
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: train-backout
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '118 hours'}
|
|
expires: {$fromNow: '1 year'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-small
|
|
dependencies:
|
|
- commit-retrieval
|
|
payload:
|
|
maxRunTime: 25200
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- bugbug-train
|
|
- backout
|
|
|
|
artifacts:
|
|
public/backoutmodel.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /backoutmodel.zst
|
|
type: file
|
|
public/metrics.json:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /metrics.json
|
|
type: file
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.train_backout.${version}
|
|
- index.project.relman.bugbug.train_backout.per_version.${version}.${year}.${month}.${day}.${hour}.${minute}.${second}
|
|
- index.project.relman.bugbug.train_backout.per_date.${year}.${month}.${day}.${hour}.${minute}.${second}.${version}
|
|
- index.project.relman.bugbug.train_backout.latest
|
|
metadata:
|
|
name: bugbug train backout model
|
|
description: bugbug train backout model
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: train-component
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '118 hours'}
|
|
expires: {$fromNow: '1 year'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-small
|
|
dependencies:
|
|
- bugs-retrieval
|
|
payload:
|
|
maxRunTime: 25200
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- bugbug-train
|
|
- component
|
|
|
|
artifacts:
|
|
public/componentmodel.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /componentmodel.zst
|
|
type: file
|
|
public/metrics.json:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /metrics.json
|
|
type: file
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.train_component.${version}
|
|
- index.project.relman.bugbug.train_component.per_version.${version}.${year}.${month}.${day}.${hour}.${minute}.${second}
|
|
- index.project.relman.bugbug.train_component.per_date.${year}.${month}.${day}.${hour}.${minute}.${second}.${version}
|
|
- index.project.relman.bugbug.train_component.latest
|
|
metadata:
|
|
name: bugbug train component model
|
|
description: bugbug train component model
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: train-defectenhancementtask
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '118 hours'}
|
|
expires: {$fromNow: '1 year'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-small
|
|
dependencies:
|
|
- bugs-retrieval
|
|
payload:
|
|
maxRunTime: 25200
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- bugbug-train
|
|
- defectenhancementtask
|
|
|
|
artifacts:
|
|
public/defectenhancementtaskmodel.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /defectenhancementtaskmodel.zst
|
|
type: file
|
|
public/metrics.json:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /metrics.json
|
|
type: file
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.train_defectenhancementtask.${version}
|
|
- index.project.relman.bugbug.train_defectenhancementtask.per_version.${version}.${year}.${month}.${day}.${hour}.${minute}.${second}
|
|
- index.project.relman.bugbug.train_defectenhancementtask.per_date.${year}.${month}.${day}.${hour}.${minute}.${second}.${version}
|
|
- index.project.relman.bugbug.train_defectenhancementtask.latest
|
|
metadata:
|
|
name: bugbug train defect/enhancement/task model
|
|
description: bugbug train defect/enhancement/task model
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: train-regression
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '118 hours'}
|
|
expires: {$fromNow: '1 year'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-large
|
|
dependencies:
|
|
- bugs-retrieval
|
|
payload:
|
|
maxRunTime: 25200
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- bugbug-train
|
|
- regression
|
|
|
|
artifacts:
|
|
public/regressionmodel.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /regressionmodel.zst
|
|
type: file
|
|
public/metrics.json:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /metrics.json
|
|
type: file
|
|
public/feature_importance.png:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /feature_importance.png
|
|
type: file
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.train_regression.${version}
|
|
- index.project.relman.bugbug.train_regression.per_version.${version}.${year}.${month}.${day}.${hour}.${minute}.${second}
|
|
- index.project.relman.bugbug.train_regression.per_date.${year}.${month}.${day}.${hour}.${minute}.${second}.${version}
|
|
- index.project.relman.bugbug.train_regression.latest
|
|
metadata:
|
|
name: bugbug train regression model
|
|
description: bugbug train regression model
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: train-regressor
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '118 hours'}
|
|
expires: {$fromNow: '1 year'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-small
|
|
dependencies:
|
|
- commit-retrieval
|
|
payload:
|
|
maxRunTime: 25200
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- bugbug-train
|
|
- regressor
|
|
- --interpretable
|
|
|
|
artifacts:
|
|
public/regressormodel.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /regressormodel.zst
|
|
type: file
|
|
public/regressormodel_data_X.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /regressormodel_data_X.zst
|
|
type: file
|
|
public/regressormodel_data_y.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /regressormodel_data_y.zst
|
|
type: file
|
|
public/metrics.json:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /metrics.json
|
|
type: file
|
|
public/feature_importance.png:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /feature_importance.png
|
|
type: file
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.train_regressor.${version}
|
|
- index.project.relman.bugbug.train_regressor.per_version.${version}.${year}.${month}.${day}.${hour}.${minute}.${second}
|
|
- index.project.relman.bugbug.train_regressor.per_date.${year}.${month}.${day}.${hour}.${minute}.${second}.${version}
|
|
- index.project.relman.bugbug.train_regressor.latest
|
|
metadata:
|
|
name: bugbug train regressor model
|
|
description: bugbug train regressor model
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: train-tracking
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '118 hours'}
|
|
expires: {$fromNow: '1 year'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-small
|
|
dependencies:
|
|
- bugs-retrieval
|
|
payload:
|
|
maxRunTime: 25200
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- bugbug-train
|
|
- tracking
|
|
|
|
artifacts:
|
|
public/trackingmodel.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /trackingmodel.zst
|
|
type: file
|
|
public/metrics.json:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /metrics.json
|
|
type: file
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.train_tracking.${version}
|
|
- index.project.relman.bugbug.train_tracking.per_version.${version}.${year}.${month}.${day}.${hour}.${minute}.${second}
|
|
- index.project.relman.bugbug.train_tracking.per_date.${year}.${month}.${day}.${hour}.${minute}.${second}.${version}
|
|
- index.project.relman.bugbug.train_tracking.latest
|
|
metadata:
|
|
name: bugbug train tracking model
|
|
description: bugbug train tracking model
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: train-regressionrange
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '118 hours'}
|
|
expires: {$fromNow: '1 year'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-small
|
|
dependencies:
|
|
- bugs-retrieval
|
|
payload:
|
|
maxRunTime: 25200
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- bugbug-train
|
|
- regressionrange
|
|
|
|
artifacts:
|
|
public/regressionrangemodel.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /regressionrangemodel.zst
|
|
type: file
|
|
public/metrics.json:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /metrics.json
|
|
type: file
|
|
public/feature_importance.png:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /feature_importance.png
|
|
type: file
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.train_regressionrange.${version}
|
|
- index.project.relman.bugbug.train_regressionrange.per_version.${version}.${year}.${month}.${day}.${hour}.${minute}.${second}
|
|
- index.project.relman.bugbug.train_regressionrange.per_date.${year}.${month}.${day}.${hour}.${minute}.${second}.${version}
|
|
- index.project.relman.bugbug.train_regressionrange.latest
|
|
metadata:
|
|
name: bugbug train regressionrange model
|
|
description: bugbug train regressionrange model
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: train-stepstoreproduce
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '118 hours'}
|
|
expires: {$fromNow: '1 year'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-small
|
|
dependencies:
|
|
- bugs-retrieval
|
|
payload:
|
|
maxRunTime: 25200
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- bugbug-train
|
|
- stepstoreproduce
|
|
|
|
artifacts:
|
|
public/stepstoreproducemodel.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /stepstoreproducemodel.zst
|
|
type: file
|
|
public/metrics.json:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /metrics.json
|
|
type: file
|
|
public/feature_importance.png:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /feature_importance.png
|
|
type: file
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.train_stepstoreproduce.${version}
|
|
- index.project.relman.bugbug.train_stepstoreproduce.per_version.${version}.${year}.${month}.${day}.${hour}.${minute}.${second}
|
|
- index.project.relman.bugbug.train_stepstoreproduce.per_date.${year}.${month}.${day}.${hour}.${minute}.${second}.${version}
|
|
- index.project.relman.bugbug.train_stepstoreproduce.latest
|
|
metadata:
|
|
name: bugbug train stepstoreproduce model
|
|
description: bugbug train stepstoreproduce model
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: train-duplicate
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '118 hours'}
|
|
expires: {$fromNow: '1 year'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-small
|
|
dependencies:
|
|
- bugs-retrieval
|
|
payload:
|
|
maxRunTime: 25200
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- bugbug-train
|
|
- duplicate
|
|
|
|
artifacts:
|
|
public/duplicatemodel.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /duplicatemodel.zst
|
|
type: file
|
|
public/metrics.json:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /metrics.json
|
|
type: file
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.train_duplicate.${version}
|
|
- index.project.relman.bugbug.train_duplicate.per_version.${version}.${year}.${month}.${day}.${hour}.${minute}.${second}
|
|
- index.project.relman.bugbug.train_duplicate.per_date.${year}.${month}.${day}.${hour}.${minute}.${second}.${version}
|
|
- index.project.relman.bugbug.train_duplicate.latest
|
|
metadata:
|
|
name: bugbug train duplicate model
|
|
description: bugbug train duplicate model
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: train-test-select
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '118 hours'}
|
|
expires: {$fromNow: '1 year'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-super-large
|
|
dependencies:
|
|
- commit-retrieval
|
|
- test-scheduling-history-generator
|
|
payload:
|
|
maxRunTime: 25200
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- bugbug-train
|
|
- testselect
|
|
|
|
artifacts:
|
|
public/testselectmodel.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /testselectmodel.zst
|
|
type: file
|
|
public/metrics.json:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /metrics.json
|
|
type: file
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.train_testselect.${version}
|
|
- index.project.relman.bugbug.train_testselect.per_version.${version}.${year}.${month}.${day}.${hour}.${minute}.${second}
|
|
- index.project.relman.bugbug.train_testselect.per_date.${year}.${month}.${day}.${hour}.${minute}.${second}.${version}
|
|
- index.project.relman.bugbug.train_testselect.latest
|
|
metadata:
|
|
name: bugbug train test selection model
|
|
description: bugbug train test selection model
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: train-test-failure
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '118 hours'}
|
|
expires: {$fromNow: '1 year'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-large
|
|
dependencies:
|
|
- commit-retrieval
|
|
- test-scheduling-history-generator
|
|
payload:
|
|
maxRunTime: 25200
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- bugbug-train
|
|
- testfailure
|
|
|
|
artifacts:
|
|
public/testfailuremodel.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /testfailuremodel.zst
|
|
type: file
|
|
public/metrics.json:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /metrics.json
|
|
type: file
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.train_testfailure.${version}
|
|
- index.project.relman.bugbug.train_testfailure.per_version.${version}.${year}.${month}.${day}.${hour}.${minute}.${second}
|
|
- index.project.relman.bugbug.train_testfailure.per_date.${year}.${month}.${day}.${hour}.${minute}.${second}.${version}
|
|
- index.project.relman.bugbug.train_testfailure.latest
|
|
metadata:
|
|
name: bugbug train test failure model
|
|
description: bugbug train test failure model
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: train-similarity
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '118 hours'}
|
|
expires: {$fromNow: '1 year'}
|
|
provisionerId: proj-relman
|
|
workerType: compute-small
|
|
dependencies:
|
|
- bugs-retrieval
|
|
payload:
|
|
maxRunTime: 25200
|
|
image: mozilla/bugbug-base-nlp:${version}
|
|
command:
|
|
- bugbug-train-similarity
|
|
- --algorithm
|
|
- bm25
|
|
|
|
artifacts:
|
|
public/bm25similarity.similaritymodel.zst:
|
|
expires: {$fromNow: '1 month'}
|
|
path: /bm25similarity.similaritymodel.zst
|
|
type: file
|
|
public/metrics.json:
|
|
expires: {$fromNow: '1 year'}
|
|
path: /metrics.json
|
|
type: file
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
- index.project.relman.bugbug.train_similarity.${version}
|
|
- index.project.relman.bugbug.train_similarity.per_version.${version}.${year}.${month}.${day}.${hour}.${minute}.${second}
|
|
- index.project.relman.bugbug.train_similarity.per_date.${year}.${month}.${day}.${hour}.${minute}.${second}.${version}
|
|
- index.project.relman.bugbug.train_similarity.latest
|
|
metadata:
|
|
name: bugbug train similarity model
|
|
description: bugbug train similarity model
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: check_metrics
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '119 hours'}
|
|
provisionerId: proj-relman
|
|
workerType: ci
|
|
dependencies:
|
|
- train-backout
|
|
- train-component
|
|
- train-defectenhancementtask
|
|
- train-duplicate
|
|
- train-regression
|
|
- train-regressionrange
|
|
- train-regressor
|
|
- train-stepstoreproduce
|
|
- train-tracking
|
|
- train-test-select
|
|
- train-test-failure
|
|
payload:
|
|
maxRunTime: 3600
|
|
image: mozilla/bugbug-base:${version}
|
|
command:
|
|
- "/bin/bash"
|
|
- "-lcx"
|
|
- "mkdir /metrics &&
|
|
mkdir /metrics-output &&
|
|
bugbug-check-all-metrics /metrics /metrics-output"
|
|
artifacts:
|
|
public/bugbug:
|
|
expires: {$fromNow: '2 weeks'}
|
|
path: /metrics-output
|
|
type: directory
|
|
metadata:
|
|
name: bugbug check_metrics
|
|
description: bugbug check_metrics
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: docker-build
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '119 hours'}
|
|
expires: {$fromNow: '1 month'}
|
|
provisionerId: proj-relman
|
|
workerType: ci
|
|
dependencies:
|
|
- train-tracking
|
|
- train-regression
|
|
- train-defectenhancementtask
|
|
- train-component
|
|
payload:
|
|
capabilities:
|
|
privileged: true
|
|
maxRunTime: 3600
|
|
image: mozilla/taskboot:0.1.9
|
|
command:
|
|
- "/bin/sh"
|
|
- "-lcxe"
|
|
- "git clone --quiet https://github.com/mozilla/bugbug /code &&
|
|
cd /code &&
|
|
git checkout ${version} &&
|
|
taskboot --cache /cache --target /code build-compose --registry=registry.hub.docker.com --write /images --service bugbug-http-service --tag ${version} --tag latest --build-arg BUGBUG_VERSION=${version} &&
|
|
taskboot --cache /cache --target /code build-compose --registry=registry.hub.docker.com --write /images --service bugbug-http-service-bg-worker --tag ${version} --tag latest --build-arg BUGBUG_VERSION=${version}"
|
|
artifacts:
|
|
public/bugbug:
|
|
expires: {$fromNow: '2 weeks'}
|
|
path: /images
|
|
type: directory
|
|
scopes:
|
|
- docker-worker:capability:privileged
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
metadata:
|
|
name: bugbug docker http build
|
|
description: bugbug docker http build
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
# It's the same task integration_test as in .taskcluster.yml
|
|
- ID: integration-test
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '119 hours'}
|
|
expires: {$fromNow: '1 month'}
|
|
provisionerId: proj-relman
|
|
workerType: ci
|
|
dependencies:
|
|
- docker-build
|
|
scopes:
|
|
- secrets:get:project/relman/bugbug/integration
|
|
- "docker-worker:cache:bugbug-mercurial-repository"
|
|
payload:
|
|
features:
|
|
taskclusterProxy:
|
|
true
|
|
maxRunTime: 10800
|
|
image: mozilla/bugbug-commit-retrieval:${version}
|
|
env:
|
|
TC_SECRET_ID: project/relman/bugbug/integration
|
|
CACHE_DIR: "/cache"
|
|
command:
|
|
- "/bin/bash"
|
|
- "-lcx"
|
|
- "apt-get -qq update &&
|
|
apt-get -qq install -y redis-server &&
|
|
git clone --quiet https://github.com/mozilla/bugbug &&
|
|
cd bugbug &&
|
|
git checkout ${version} &&
|
|
python -c 'import os; print(os.environ.keys())' &&
|
|
bash ./scripts/integration_test.sh"
|
|
cache:
|
|
bugbug-mercurial-repository: /cache
|
|
metadata:
|
|
name: bugbug integration test
|
|
description: bugbug integration test
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: docker-push
|
|
dependencies:
|
|
- docker-build
|
|
- integration-test
|
|
scopes:
|
|
- secrets:get:project/relman/bugbug/deploy
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '120 hours'}
|
|
expires: {$fromNow: '1 month'}
|
|
provisionerId: proj-relman
|
|
workerType: ci
|
|
payload:
|
|
features:
|
|
taskclusterProxy:
|
|
true
|
|
maxRunTime: 3600
|
|
image: mozilla/taskboot:0.1.9
|
|
env:
|
|
TASKCLUSTER_SECRET: project/relman/bugbug/deploy
|
|
command:
|
|
- taskboot
|
|
- push-artifact
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
metadata:
|
|
name: bugbug docker http push
|
|
description: bugbug docker http push
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|
|
|
|
- ID: http-deploy
|
|
dependencies:
|
|
- docker-build
|
|
scopes:
|
|
- secrets:get:project/relman/bugbug/deploy
|
|
created: {$fromNow: ''}
|
|
deadline: {$fromNow: '120 hours'}
|
|
expires: {$fromNow: '1 month'}
|
|
provisionerId: proj-relman
|
|
workerType: ci
|
|
payload:
|
|
features:
|
|
taskclusterProxy:
|
|
true
|
|
maxRunTime: 3600
|
|
image: mozilla/taskboot:0.1.9
|
|
env:
|
|
TASKCLUSTER_SECRET: project/relman/bugbug/deploy
|
|
command:
|
|
- "/bin/sh"
|
|
- "-lcxe"
|
|
- "taskboot deploy-heroku --heroku-app bugbug 'web:public/bugbug/bugbug-http-service.tar' 'worker:public/bugbug/bugbug-http-service-bg-worker.tar'"
|
|
|
|
routes:
|
|
- notify.email.release-mgmt-analysis@mozilla.com.on-failed
|
|
- notify.irc-channel.#bugbug.on-failed
|
|
metadata:
|
|
name: bugbug docker http service deploy
|
|
description: bugbug docker http service deploy
|
|
owner: release-mgmt-analysis@mozilla.com
|
|
source: https://github.com/mozilla/bugbug/raw/master/data-pipeline.yml
|