🎉 initial setup
ci/woodpecker/push/renovate Pipeline was successful Details
ci/woodpecker/manual/lint/2 Pipeline was successful Details
ci/woodpecker/manual/lint/3 Pipeline was successful Details
ci/woodpecker/manual/lint/1 Pipeline was successful Details
ci/woodpecker/push/lint/1 Pipeline was successful Details
ci/woodpecker/push/lint/3 Pipeline was successful Details
ci/woodpecker/push/lint/2 Pipeline was successful Details
ci/woodpecker/manual/renovate Pipeline was successful Details

This commit is contained in:
OCram85 2024-02-14 14:08:26 +01:00
parent dadac13c5f
commit 0e94cfaefb
8 changed files with 100 additions and 16 deletions

10
.prettierrc Normal file
View File

@ -0,0 +1,10 @@
{
"arrowParens": "always",
"bracketSpacing": true,
"editorconfig": true,
"printWidth": 116,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"vueIndentScriptAndStyle": true
}

View File

@ -1 +1,3 @@
autodiscover
automerge
tbd

19
.vscode/settings.json vendored
View File

@ -9,20 +9,6 @@
"editor.rulers": [
116
],
// powershell general
"powershell.startAutomatically": true,
"powershell.enableProfileLoading": true,
"powershell.scriptAnalysis.enable": true,
// powershell code Formatting
"powershell.codeFormatting.openBraceOnSameLine": true,
"powershell.codeFormatting.newLineAfterOpenBrace": true,
"powershell.codeFormatting.newLineAfterCloseBrace": true,
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
"powershell.codeFormatting.whitespaceBeforeOpenParen": true,
"powershell.codeFormatting.whitespaceAroundOperator": true,
"powershell.codeFormatting.whitespaceAfterSeparator": true,
"powershell.codeFormatting.ignoreOneLineBlock": true,
"powershell.codeFormatting.alignPropertyValuePairs": true,
// cSpell settings for custom dictionary
"cSpell.enabled": true,
"cSpell.caseSensitive": false,
@ -58,7 +44,7 @@
"yaml",
"yml"
],
"cSpell.language": "en-US,de-DE",
"cSpell.language": "en-US",
"cSpell.customDictionaries": {
"project-words": {
"name": "project-words",
@ -67,5 +53,6 @@
"addWords": true
},
"custom": true
}
},
"editor.defaultFormatter": "esbenp.prettier-vscode"
}

19
.woodpecker/lint.yml Normal file
View File

@ -0,0 +1,19 @@
when:
event:
- push
- manual
matrix:
RENOVATE_CONFIG_FILE:
- config.js
- default.json
- renovate.json
steps:
lint:
image: renovate/renovate:37
pull: true
commands:
- renovate-config-validator
environment:
LOG_LEVEL: debug

32
.woodpecker/renovate.yml Normal file
View File

@ -0,0 +1,32 @@
when:
event:
- cron
- push
- manual
depends_on:
- lint
steps:
renovate-dry:
image: renovate/renovate:37
secrets: [renovate_token, github_com_token]
pull: true
environment:
RENOVATE_CONFIG_FILE: config.js
LOG_LEVEL: debug
RENOVATE_DRY_RUN: full
when:
- event: push
renovate:
image: renovate/renovate:37
secrets: [renovate_token, github_com_token]
pull: true
environment:
RENOVATE_CONFIG_FILE: config.js
LOG_LEVEL: info
when:
- event: cron
cron: renovate
- event: manual

18
config.js Normal file
View File

@ -0,0 +1,18 @@
module.exports = {
platform: 'gitea',
endpoint: 'https://gitea.ocram85.com',
gitAuthor: 'renovate-bot <renovate@ocram85.com>',
autodiscover: true,
prHourlyLimit: 10,
automerge: false,
major: {
automerge: false,
},
automergeType: 'pr',
automergeStrategy: 'squash',
labels: ['renovate'],
dependencyDashboardLabels: ['renovate'],
githubTokenWarn: false,
semanticCommits: 'enabled',
autodiscoverFilter: ['OCram85/*', 'CodeServer/*', 'renovate-bot/*'],
}

12
default.json Normal file
View File

@ -0,0 +1,12 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"dependencyDashboard": true,
"enabledManagers": ["dockerfile", "docker-compose", "woodpecker", "bun", "npm", "nodenv"],
"packageRules": [
{
"matchDatasources": ["docker"],
"registryUrls": ["https://mirror.ocram85.com"]
}
]
}

4
renovate.json Normal file
View File

@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>renovate-bot/config"]
}