Fix integration tests for mysql and postgres (#50867)
* Fix integration tests for mysql and postgres * Package by package testing * Adding make gen-go to the postgres and mysql integration step * Rewrite command for backend integration tests * Diffentiate command for OSS and enterprise * Add wire-install as dependant for OSS integration tests * set GRAFANA_TEST_DB variable in the go test command * No verbose output * Remove redundant env var * Try fixing the tests * Trying stg else * Remove verbose Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
This commit is contained in:
co-authored by
Sofia Papagiannaki
parent
b2852205a0
commit
335ce44890
@@ -220,7 +220,7 @@ def main_pipelines(edition):
|
||||
volumes=volumes,
|
||||
), pipeline(
|
||||
name='main-integration-tests', edition=edition, trigger=trigger, services=services,
|
||||
steps=[download_grabpl_step(), identify_runner_step(),] + integration_test_steps,
|
||||
steps=[download_grabpl_step(), identify_runner_step(), verify_gen_cue_step(), wire_install_step(), ] + integration_test_steps,
|
||||
volumes=volumes,
|
||||
), pipeline(
|
||||
name='main-windows', edition=edition, trigger=dict(trigger, repo=['grafana/grafana']),
|
||||
|
||||
@@ -153,7 +153,7 @@ def pr_pipelines(edition):
|
||||
name='pr-build-e2e', edition=edition, trigger=trigger, services=[], steps=init_steps + build_steps,
|
||||
), pipeline(
|
||||
name='pr-integration-tests', edition=edition, trigger=trigger, services=services,
|
||||
steps=[download_grabpl_step(), identify_runner_step(), ] + integration_test_steps,
|
||||
steps=[download_grabpl_step(), identify_runner_step(), verify_gen_cue_step(), wire_install_step(), ] + integration_test_steps,
|
||||
volumes=volumes,
|
||||
), docs_pipelines(edition, ver_mode, trigger_docs())
|
||||
]
|
||||
|
||||
@@ -275,7 +275,7 @@ def get_oss_pipelines(trigger, ver_mode):
|
||||
),
|
||||
pipeline(
|
||||
name='{}-oss-integration-tests'.format(ver_mode), edition=edition, trigger=trigger, services=services,
|
||||
steps=[download_grabpl_step(), identify_runner_step(),] + integration_test_steps,
|
||||
steps=[download_grabpl_step(), identify_runner_step(), verify_gen_cue_step(), wire_install_step(), ] + integration_test_steps,
|
||||
volumes=volumes,
|
||||
)
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user