Merge pull request #1445 from opencloud-eu/purge-go-bin-cache

[full-ci] add pipeline to purge go-bin cache
This commit is contained in:
Artur Neumann
2025-09-03 14:32:33 +05:45
committed by GitHub

View File

@@ -527,6 +527,13 @@ def main(ctx):
),
)
test_pipelines.append(
pipelineDependsOn(
purgeGoBinCache(ctx),
testPipelines(ctx),
),
)
pipelines = test_pipelines + build_release_pipelines + notifyMatrix(ctx)
# if ctx.build.event == "cron":
@@ -2511,6 +2518,9 @@ def purgeTracingCache(ctx):
def purgeOpencloudWebBuildCache(ctx):
return purgeCache("purge_opencloud_web_build_cache", "dev/opencloud/web-test-runner", 14)
def purgeGoBinCache(ctx):
return purgeCache("purge_go_bin_cache", "dev/opencloud/go-bin", 14)
def pipelineSanityChecks(pipelines):
"""pipelineSanityChecks helps the CI developers to find errors before running it