From 00998a17d2032513942e93ca09dcedf1f63add06 Mon Sep 17 00:00:00 2001 From: prashant-gurung899 Date: Wed, 3 Sep 2025 11:36:44 +0545 Subject: [PATCH] add pipeline to purge go-bin cache Signed-off-by: prashant-gurung899 --- .woodpecker.star | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.woodpecker.star b/.woodpecker.star index 0d72b06431..0f8dba8aef 100644 --- a/.woodpecker.star +++ b/.woodpecker.star @@ -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