diff --git a/.drone.star b/.drone.star index e6ca75f643..eaa0834c52 100644 --- a/.drone.star +++ b/.drone.star @@ -281,6 +281,8 @@ def main(ctx): ), ) + pipelines = pipelines + k6LoadTests(ctx) + pipelines += checkStarlark() pipelineSanityChecks(ctx, pipelines) return pipelines @@ -339,9 +341,6 @@ def testPipelines(ctx): if "skip" not in config["e2eTests"] or not config["e2eTests"]["skip"]: pipelines += e2eTests(ctx) - if "skip" not in config["k6LoadTests"] or not config["k6LoadTests"]["skip"]: - pipelines += k6LoadTests(ctx) - return pipelines def getGoBinForTesting(ctx): @@ -2785,6 +2784,9 @@ def logRequests(): }] def k6LoadTests(ctx): + if "skip" in config["k6LoadTests"] and config["k6LoadTests"]["skip"]: + return [] + ocis_git_base_url = "https://raw.githubusercontent.com/owncloud/ocis" script_link = "%s/%s/tests/config/drone/run_k6_tests.sh" % (ocis_git_base_url, ctx.build.commit) return [{