mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 12:19:37 -06:00
Run ci with posix by default, allow for switching to decomposed
This commit is contained in:
@@ -521,9 +521,9 @@ def testPipelines(ctx):
|
|||||||
if config["litmus"]:
|
if config["litmus"]:
|
||||||
pipelines += litmus(ctx, "decomposed")
|
pipelines += litmus(ctx, "decomposed")
|
||||||
|
|
||||||
storage = "decomposed"
|
storage = "posix"
|
||||||
if "[posix]" in ctx.build.title.lower():
|
if "[decomposed]" in ctx.build.title.lower():
|
||||||
storage = "posix"
|
storage = "decomposed"
|
||||||
|
|
||||||
if "skip" not in config["cs3ApiTests"] or not config["cs3ApiTests"]["skip"]:
|
if "skip" not in config["cs3ApiTests"] or not config["cs3ApiTests"]["skip"]:
|
||||||
pipelines.append(cs3ApiTests(ctx, storage, "default"))
|
pipelines.append(cs3ApiTests(ctx, storage, "default"))
|
||||||
@@ -895,9 +895,9 @@ def localApiTestPipeline(ctx):
|
|||||||
if ctx.build.event == "cron" or "full-ci" in ctx.build.title.lower():
|
if ctx.build.event == "cron" or "full-ci" in ctx.build.title.lower():
|
||||||
with_remote_php.append(False)
|
with_remote_php.append(False)
|
||||||
|
|
||||||
storages = ["decomposed"]
|
storages = ["posix"]
|
||||||
if "[posix]" in ctx.build.title.lower():
|
if "[decomposed]" in ctx.build.title.lower():
|
||||||
storages = ["posix"]
|
storages = ["decomposed"]
|
||||||
|
|
||||||
defaults = {
|
defaults = {
|
||||||
"suites": {},
|
"suites": {},
|
||||||
@@ -1136,9 +1136,9 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
|
|||||||
}
|
}
|
||||||
|
|
||||||
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, with_remote_php = False, accounts_hash_difficulty = 4):
|
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, with_remote_php = False, accounts_hash_difficulty = 4):
|
||||||
storage = "decomposed"
|
storage = "posix"
|
||||||
if "[posix]" in ctx.build.title.lower():
|
if "[decomposed]" in ctx.build.title.lower():
|
||||||
storage = "posix"
|
storage = "decomposed"
|
||||||
filterTags = "~@skipOnGraph&&~@skipOnOpencloud-%s-Storage" % storage
|
filterTags = "~@skipOnGraph&&~@skipOnOpencloud-%s-Storage" % storage
|
||||||
test_dir = "%s/tests/acceptance" % dirs["base"]
|
test_dir = "%s/tests/acceptance" % dirs["base"]
|
||||||
expected_failures_file = "%s/expected-failures-API-on-decomposed-storage.md" % (test_dir)
|
expected_failures_file = "%s/expected-failures-API-on-decomposed-storage.md" % (test_dir)
|
||||||
@@ -1250,9 +1250,9 @@ def e2eTestPipeline(ctx):
|
|||||||
if (ctx.build.event == "tag"):
|
if (ctx.build.event == "tag"):
|
||||||
return pipelines
|
return pipelines
|
||||||
|
|
||||||
storage = "decomposed"
|
storage = "posix"
|
||||||
if "[posix]" in ctx.build.title.lower():
|
if "[decomposed]" in ctx.build.title.lower():
|
||||||
storage = "posix"
|
storage = "decomposed"
|
||||||
|
|
||||||
for name, suite in config["e2eTests"].items():
|
for name, suite in config["e2eTests"].items():
|
||||||
if "skip" in suite and suite["skip"]:
|
if "skip" in suite and suite["skip"]:
|
||||||
@@ -1354,9 +1354,9 @@ def multiServiceE2ePipeline(ctx):
|
|||||||
if (not "full-ci" in ctx.build.title.lower() and ctx.build.event != "cron"):
|
if (not "full-ci" in ctx.build.title.lower() and ctx.build.event != "cron"):
|
||||||
return pipelines
|
return pipelines
|
||||||
|
|
||||||
storage = "decomposed"
|
storage = "posix"
|
||||||
if "[posix]" in ctx.build.title.lower():
|
if "[decomposed]" in ctx.build.title.lower():
|
||||||
storage = "posix"
|
storage = "decomposed"
|
||||||
|
|
||||||
extra_server_environment = {
|
extra_server_environment = {
|
||||||
"OC_PASSWORD_POLICY_BANNED_PASSWORDS_LIST": "%s" % dirs["bannedPasswordList"],
|
"OC_PASSWORD_POLICY_BANNED_PASSWORDS_LIST": "%s" % dirs["bannedPasswordList"],
|
||||||
|
|||||||
Reference in New Issue
Block a user