mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
CI: Add pr-verify-drone pipeline (#51951)
* Introduce pr-verify-drone pipeline * Remove `make drone` pre-commit hook * Remove lint-drone from test-backend pipeline
This commit is contained in:
committed by
GitHub
parent
62b0a8bae6
commit
2af5feb147
@@ -70,6 +70,16 @@ trigger = {
|
||||
},
|
||||
}
|
||||
|
||||
def pr_verify_drone():
|
||||
steps = [
|
||||
identify_runner_step(),
|
||||
download_grabpl_step(),
|
||||
lint_drone_step(),
|
||||
]
|
||||
return pipeline(
|
||||
name='pr-verify-drone', edition="oss", trigger=get_pr_trigger(include_paths=['scripts/drone/**', '.drone.yml', '.drone.star']), services=[], steps=steps,
|
||||
)
|
||||
|
||||
|
||||
def pr_test_frontend():
|
||||
init_steps = [
|
||||
@@ -97,7 +107,6 @@ def pr_test_backend():
|
||||
wire_install_step(),
|
||||
]
|
||||
test_steps = [
|
||||
lint_drone_step(),
|
||||
codespell_step(),
|
||||
shellcheck_step(),
|
||||
lint_backend_step(edition="oss"),
|
||||
@@ -149,6 +158,7 @@ def pr_pipelines(edition):
|
||||
])
|
||||
|
||||
return [
|
||||
pr_verify_drone(),
|
||||
pr_test_frontend(),
|
||||
pr_test_backend(),
|
||||
pipeline(
|
||||
|
||||
Reference in New Issue
Block a user