зеркало из https://github.com/mozilla/bugbug.git
add spambug to http service (#1213)
Co-authored-by: Marco Castelluccio <mcastelluccio@mozilla.com>
This commit is contained in:
Родитель
8f4ba082e9
Коммит
1752c8ed25
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче