Co-authored-by: Marco Castelluccio <mcastelluccio@mozilla.com>
This commit is contained in:
Ayush Shridhar 2020-01-04 02:30:45 +11:00 коммит произвёл Marco Castelluccio
Родитель 8f4ba082e9
Коммит 1752c8ed25
2 изменённых файлов: 8 добавлений и 1 удалений

Просмотреть файл

@ -20,7 +20,13 @@ from bugbug.utils import zstd_decompress
logging.basicConfig(level=logging.INFO)
LOGGER = logging.getLogger()
MODELS_NAMES = ["defectenhancementtask", "component", "regression", "stepstoreproduce"]
MODELS_NAMES = [
"defectenhancementtask",
"component",
"regression",
"stepstoreproduce",
"spambug",
]
MODELS_DIR = os.path.join(os.path.dirname(__file__), "models")
BASE_URL = "https://community-tc.services.mozilla.com/api/index/v1/task/project.relman.bugbug.train_{}.latest/artifacts/public"
DEFAULT_EXPIRATION_TTL = 7 * 24 * 3600 # A week

Просмотреть файл

@ -991,6 +991,7 @@ tasks:
- train-regression
- train-defectenhancementtask
- train-component
- train-spambug
payload:
capabilities:
privileged: true