Skip to content

Commit 9f20d84

Browse files
authored
ci: remove sonarcloud CI configs (#1804)
* ci: remove sonarcloud configs Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * ci: remove unnecessary commands Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> --------- Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
1 parent 96c8c9b commit 9f20d84

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

.woodpecker.star

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -289,13 +289,6 @@ def translation_sync(ctx):
289289
"name": "translation-update",
290290
"image": OC_CI_NODEJS,
291291
"commands": [
292-
# FIXME: remove node install as soon as we have our own node 22 image
293-
"curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash",
294-
'export NVM_DIR="$HOME/.nvm"',
295-
"[ -s \"$NVM_DIR/nvm.sh\" ] && \\. \"$NVM_DIR/nvm.sh\"",
296-
"nvm install 22",
297-
"nvm use 22",
298-
"corepack enable pnpm",
299292
"make l10n-read",
300293
"curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash",
301294
". ~/.profile",
@@ -481,18 +474,6 @@ def buildCacheWeb(ctx):
481474
}]
482475

483476
def unitTests(ctx):
484-
# sonar_env = {
485-
# "SONAR_TOKEN": {
486-
# "from_secret": "sonar_token",
487-
# },
488-
# }
489-
# if ctx.build.event == "pull_request":
490-
# sonar_env.update({
491-
# "SONAR_PULL_REQUEST_BASE": "%s" % (ctx.build.target),
492-
# "SONAR_PULL_REQUEST_BRANCH": "%s" % (ctx.build.source),
493-
# "SONAR_PULL_REQUEST_KEY": "%s" % (ctx.build.ref.replace("refs/pull/", "").split("/")[0]),
494-
# })
495-
496477
return [{
497478
"name": "unit-tests",
498479
"workspace": web_workspace,
@@ -506,11 +487,6 @@ def unitTests(ctx):
506487
"pnpm test:unit --coverage",
507488
],
508489
},
509-
# {
510-
# "name": "sonarcloud",
511-
# "image": SONARSOURCE_SONAR_SCANNER_CLI,
512-
# "environment": sonar_env,
513-
# },
514490
],
515491
"when": [
516492
event["base"],
@@ -1103,13 +1079,6 @@ def designSystemDocs(ctx):
11031079
"name": "build",
11041080
"image": OC_CI_NODEJS,
11051081
"commands": [
1106-
# FIXME: remove node install as soon as we have our own node 22 image
1107-
"curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash",
1108-
'export NVM_DIR="$HOME/.nvm"',
1109-
"[ -s \"$NVM_DIR/nvm.sh\" ] && \\. \"$NVM_DIR/nvm.sh\"",
1110-
"nvm install 22",
1111-
"nvm use 22",
1112-
"corepack enable pnpm",
11131082
"pnpm --filter 'design-system' docs:build",
11141083
"cp -R packages/design-system/docs/.vitepress/dist docs",
11151084
# add dummy woodpecker config to disable CI on push to the docs branch

0 commit comments

Comments
 (0)