Skip to content
Draft
Show file tree
Hide file tree
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
34 changes: 33 additions & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def beforePipelines(ctx):
changelog(ctx) + \
pnpmCache(ctx) + \
cacheOcisPipeline(ctx) + \
skipUnchangedPackageTestSuits(ctx) + \
pipelinesDependsOn(buildCacheWeb(ctx), pnpmCache(ctx)) + \
pipelinesDependsOn(pnpmlint(ctx), pnpmCache(ctx))

Expand Down Expand Up @@ -256,6 +257,35 @@ def pnpmCache(ctx):
},
}]

def skipUnchangedPackageTestSuits(ctx):
if ("full-ci" in ctx.build.title.lower()):
return []
return [{
"kind": "pipeline",
"type": "docker",
"name": "get-unchanged-package-suits",
"workspace": {
"base": dir["base"],
"path": config["app"],
},
"steps": [{
"name": "e2e-tests-playwright",
"image": OC_CI_NODEJS_IMAGE,
"commands": [
"node tests/drone/testfilter.js",
"cat .drone.env",
],
}],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/**",
"refs/pull/**",
],
},
}]

def pnpmlint(ctx):
pipelines = []

Expand Down Expand Up @@ -294,7 +324,7 @@ def pnpmlint(ctx):

pipelines.append(result)

return pipelines
return []

def build(ctx):
pipelines = []
Expand Down Expand Up @@ -483,6 +513,8 @@ def unitTests(ctx):
"git fetch fork",
]

return []

return [{
"kind": "pipeline",
"type": "docker",
Expand Down
10 changes: 0 additions & 10 deletions packages/web-app-preview/l10n/.tx/config

This file was deleted.

1 change: 0 additions & 1 deletion packages/web-app-preview/l10n/translations.json

This file was deleted.

23 changes: 0 additions & 23 deletions packages/web-app-preview/package.json

This file was deleted.

Loading