skip piplines

This commit is contained in:
Swikriti Tripathi
2022-07-20 16:26:15 +05:45
parent f24a6e96a5
commit a6069760ef

View File

@@ -134,7 +134,7 @@ config = {
"dockerReleases": {
"architectures": ["arm", "arm64", "amd64"],
},
"litmus": True,
"litmus": False,
}
# volume for steps to cache Go dependencies between steps of a pipeline
@@ -196,11 +196,11 @@ def main(ctx):
test_pipelines = \
cancelPreviousBuilds() + \
buildCacheWeb(ctx) + \
yarnCache(ctx) + \
[buildOcisBinaryForTesting(ctx)] + \
cacheCoreReposForTesting(ctx) + \
testOcisModules(ctx) + \
testPipelines(ctx)
yarnCache(ctx)
# [buildOcisBinaryForTesting(ctx)] + \
# cacheCoreReposForTesting(ctx) + \
# testOcisModules(ctx) + \
# testPipelines(ctx)
build_release_pipelines = \
[licenseCheck(ctx)] + \
@@ -213,26 +213,26 @@ def main(ctx):
docs(),
]
test_pipelines.append(
pipelineDependsOn(
purgeBuildArtifactCache(ctx, "ocis-binary-amd64"),
testPipelines(ctx),
),
)
test_pipelines.append(
pipelineDependsOn(
purgeBuildArtifactCache(ctx, "testrunner"),
testPipelines(ctx),
),
)
test_pipelines.append(
pipelineDependsOn(
purgeBuildArtifactCache(ctx, "testing_app"),
testPipelines(ctx),
),
)
# test_pipelines.append(
# pipelineDependsOn(
# purgeBuildArtifactCache(ctx, "ocis-binary-amd64"),
# testPipelines(ctx),
# ),
# )
# test_pipelines.append(
# pipelineDependsOn(
# purgeBuildArtifactCache(ctx, "testrunner"),
# testPipelines(ctx),
# ),
# )
# test_pipelines.append(
# pipelineDependsOn(
# purgeBuildArtifactCache(ctx, "testing_app"),
# testPipelines(ctx),
# ),
# )
pipelines = test_pipelines + build_release_pipelines + build_release_helpers
pipelines = test_pipelines
if ctx.build.event == "cron":
pipelines = \
@@ -309,6 +309,7 @@ def yarnInstallUITests():
"commands": [
"curl -SsfL -o /usr/local/bin/retry https://raw.githubusercontent.com/owncloud-ci/retry/master/retry && chmod +x /usr/local/bin/retry",
". /drone/src/.drone.env",
"ls",
"cd webTestRunner",
"git checkout $WEB_COMMITID",
"cd tests/acceptance/",