Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .woodpecker.star
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ def main(ctx):
return translation_sync(ctx)
is_release_pr = (ctx.build.event == "pull_request" and ctx.build.sender == "openclouders" and "🎉 release" in ctx.build.title.lower())
if is_release_pr:
return licenseCheck()
license = licenseCheck()
return license + pipelinesDependsOn(notifyMatrixCheckSteps(), license)

release = readyReleaseGo()

Expand Down Expand Up @@ -279,7 +280,7 @@ def stagePipelines(ctx):
return unit_test_pipelines + e2e_pipelines + keycloak_pipelines

def afterPipelines(ctx):
return publishRelease(ctx) + [purgeBuildArtifactCache(ctx), purgeOpencloudBuildCache(ctx), purgeBrowserCache(ctx), purgeTracingCache(ctx)] + pipelinesDependsOn(notifyMatrix(), stagePipelines(ctx))
return publishRelease(ctx) + [purgeBuildArtifactCache(ctx), purgeOpencloudBuildCache(ctx), purgeBrowserCache(ctx), purgeTracingCache(ctx)] + pipelinesDependsOn(notifyMatrixCheckSteps(), stagePipelines(ctx))

def translation_sync(ctx):
return [{
Expand Down Expand Up @@ -637,11 +638,11 @@ def e2eTests(ctx):

return pipelines

def notifyMatrix():
def notifyMatrixCheckSteps():
pipelines = []

result = {
"name": "chat-notifications",
"name": "all-checks-finished",
"skip_clone": True,
"runs_on": ["success", "failure"],
"steps": [
Expand Down