Drone: Enable running go benchmarks on demand (#70359)

* Add benchmark

* Run pkg/api benchmarks in CI

* Conditionally run benchmarks for provided go packages

* Bypass fork check for promotes
This commit is contained in:
Sofia Papagiannaki
2023-07-07 11:55:01 +03:00
committed by GitHub
parent 536146de5f
commit e82d437e0e
5 changed files with 847 additions and 49 deletions
+7
View File
@@ -44,6 +44,10 @@ load(
"scripts/drone/pipelines/lint_frontend.star",
"lint_frontend_pipeline",
)
load(
"scripts/drone/pipelines/benchmarks.star",
"integration_benchmarks",
)
ver_mode = "pr"
trigger = {
@@ -133,6 +137,9 @@ def pr_pipelines():
),
docs_pipelines(ver_mode, trigger_docs_pr()),
shellcheck_pipeline(),
integration_benchmarks(
prefix = ver_mode,
),
]
def get_pr_trigger(include_paths = None, exclude_paths = None):