Chore: Backport 51543 to v9.0.x (#51562)

* Chore: split betterer into it's own CI step and allow failures for now (#51543)

* split betterer into it's own CI step and allow failures for now

* Run make drone

Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com>
(cherry picked from commit f654152dc8)

* Run make drone

Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com>
This commit is contained in:
Ashley Harrison
2022-06-29 16:35:35 +01:00
committed by GitHub
co-authored by dsotirakis
parent 53a3dca76c
commit 09be340848
5 changed files with 34 additions and 3 deletions
+3 -1
View File
@@ -42,7 +42,8 @@ load(
'validate_scuemata_step',
'ensure_cuetsified_step',
'test_a11y_frontend_step',
'trigger_oss'
'trigger_oss',
'betterer_frontend_step'
)
load(
@@ -83,6 +84,7 @@ def main_test_frontend():
]
test_steps = [
lint_frontend_step(),
betterer_frontend_step(),
test_frontend_step(),
]
return pipeline(
+2
View File
@@ -33,6 +33,7 @@ load(
'ensure_cuetsified_step',
'test_a11y_frontend_step',
'enterprise_downstream_step',
'betterer_frontend_step',
)
load(
@@ -80,6 +81,7 @@ def pr_test_frontend():
]
test_steps = [
lint_frontend_step(),
betterer_frontend_step(),
test_frontend_step(),
]
return pipeline(
+13
View File
@@ -523,6 +523,19 @@ def test_backend_integration_step(edition):
],
}
def betterer_frontend_step():
return {
'name': 'betterer-frontend',
'image': build_image,
'depends_on': [
'yarn-install',
],
'commands': [
'yarn betterer ci',
],
'failure': 'ignore',
}
def test_frontend_step():
return {