mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 02:02:33 +08:00
Chore: Run integration tests without grabpl (#49448)
* Chore: Run integration tests without grabpl * Add new step for integration tests in lib.star * Remove old integration test step from lib.star * Change drone signature * Fix: Edit starlark integration step to not affect enterprise * Remove all build tags & rename starlark integration test step * Resync .drone.yml with .drone.star * Fix lint errors * Fix lint errors * Fix lint errors * Fix more lint errors * Fix another lint error * Rename integration test step * Fix last lint error * Recomment enterprise step * Remove comment from Makefile Co-authored-by: Ida Furjesova <ida.furjesova@grafana.com>
This commit is contained in:
@ -510,18 +510,30 @@ def test_backend_step(edition):
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
def test_backend_integration_step(edition):
|
||||
return {
|
||||
'name': 'test-backend-integration' + enterprise2_suffix(edition),
|
||||
'image': build_image,
|
||||
'depends_on': [
|
||||
'wire-install',
|
||||
],
|
||||
'commands': [
|
||||
'./bin/grabpl integration-tests --edition {}'.format(edition),
|
||||
],
|
||||
}
|
||||
if edition == 'oss':
|
||||
return {
|
||||
'name': 'test-backend-integration',
|
||||
'image': build_image,
|
||||
'depends_on': [
|
||||
'wire-install',
|
||||
],
|
||||
'commands': [
|
||||
'go test -run Integration -covermode=atomic -timeout=30m ./pkg/...',
|
||||
],
|
||||
}
|
||||
else:
|
||||
return {
|
||||
'name': 'test-backend-integration' + enterprise2_suffix(edition),
|
||||
'image': build_image,
|
||||
'depends_on': [
|
||||
'wire-install',
|
||||
],
|
||||
'commands': [
|
||||
'./bin/grabpl integration-tests --edition {}'.format(edition),
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
|
||||
def test_frontend_step():
|
||||
|
Reference in New Issue
Block a user