Build/CI: Make integration-tests depend on initialize (#40782)

* Make integration tests depend on initialize

* Reorder steps for better visualisation
This commit is contained in:
Dimitris Sotirakis
2021-10-21 22:28:57 +02:00
committed by GitHub
parent 8b6a07a313
commit 624d7631e6
6 changed files with 250 additions and 290 deletions
+2 -6
View File
@@ -681,8 +681,7 @@ def postgres_integration_tests_step():
'name': 'postgres-integration-tests',
'image': build_image,
'depends_on': [
'test-backend',
'test-frontend',
'initialize',
],
'environment': {
'PGPASSWORD': 'grafanatest',
@@ -706,8 +705,7 @@ def mysql_integration_tests_step():
'name': 'mysql-integration-tests',
'image': build_image,
'depends_on': [
'test-backend',
'test-frontend',
'initialize',
],
'environment': {
'GRAFANA_TEST_DB': 'mysql',
@@ -795,8 +793,6 @@ def upload_packages_step(edition, ver_mode, is_downstream=False):
dependencies = [
'end-to-end-tests' + enterprise2_suffix(edition),
'mysql-integration-tests',
'postgres-integration-tests',
]
if edition in ('enterprise', 'enterprise2'):