Make integration tests depend on initialize for enterprise-release-* branches (#42004)

This commit is contained in:
Dimitris Sotirakis
2021-11-19 21:50:34 +01:00
committed by GitHub
parent 07a440fd3a
commit bec3cc4634
5 changed files with 36 additions and 36 deletions
+12 -12
View File
@@ -730,10 +730,10 @@ def build_docker_images_step(edition, ver_mode, archs=None, ubuntu=False, publis
}
def postgres_integration_tests_step(edition):
def postgres_integration_tests_step(edition, ver_mode):
deps = []
if edition in ('enterprise', 'enterprise2'):
deps.extend(['clone-enterprise'])
if edition in ('enterprise', 'enterprise2') and ver_mode in ('release-branch', 'release'):
deps.extend(['initialize'])
else:
deps.extend(['grabpl'])
return {
@@ -758,10 +758,10 @@ def postgres_integration_tests_step(edition):
}
def mysql_integration_tests_step(edition):
def mysql_integration_tests_step(edition, ver_mode):
deps = []
if edition in ('enterprise', 'enterprise2'):
deps.extend(['clone-enterprise'])
if edition in ('enterprise', 'enterprise2') and ver_mode in ('release-branch', 'release'):
deps.extend(['initialize'])
else:
deps.extend(['grabpl'])
return {
@@ -784,10 +784,10 @@ def mysql_integration_tests_step(edition):
}
def redis_integration_tests_step(edition):
def redis_integration_tests_step(edition, ver_mode):
deps = []
if edition in ('enterprise', 'enterprise2'):
deps.extend(['clone-enterprise'])
if edition in ('enterprise', 'enterprise2') and ver_mode in ('release-branch', 'release'):
deps.extend(['initialize'])
else:
deps.extend(['grabpl'])
return {
@@ -804,10 +804,10 @@ def redis_integration_tests_step(edition):
}
def memcached_integration_tests_step(edition):
def memcached_integration_tests_step(edition, ver_mode):
deps = []
if edition in ('enterprise', 'enterprise2'):
deps.extend(['clone-enterprise'])
if edition in ('enterprise', 'enterprise2') and ver_mode in ('release-branch', 'release'):
deps.extend(['initialize'])
else:
deps.extend(['grabpl'])
return {