chore: migrate renovate config from config.js to renovate.json
Eliminates JS migration warning; update RENOVATE_CONFIG_FILE accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,44 +4,23 @@ metadata:
|
|||||||
name: renovate-config
|
name: renovate-config
|
||||||
namespace: renovate
|
namespace: renovate
|
||||||
data:
|
data:
|
||||||
config.js: |
|
renovate.json: |
|
||||||
module.exports = {
|
|
||||||
platform: 'gitea',
|
|
||||||
gitAuthor: 'Renovate Bot <renovate@git.chemavx.xyz>',
|
|
||||||
endpoint: 'https://git.chemavx.xyz/',
|
|
||||||
repositories: [
|
|
||||||
'chemavx/researchowl',
|
|
||||||
'chemavx/polymarket-bot',
|
|
||||||
'chemavx/n8n',
|
|
||||||
],
|
|
||||||
automerge: false,
|
|
||||||
assignees: ['chemavx'],
|
|
||||||
labels: ['renovate'],
|
|
||||||
prCreation: 'not-pending',
|
|
||||||
timezone: 'Europe/Madrid',
|
|
||||||
schedule: ['after 9am and before 6pm every weekday'],
|
|
||||||
packageRules: [
|
|
||||||
{
|
{
|
||||||
// Major bumps: crear PR pero no automerge, requiere revisión manual
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
matchUpdateTypes: ['major'],
|
"platform": "gitea",
|
||||||
automerge: false,
|
"endpoint": "https://git.chemavx.xyz/",
|
||||||
labels: ['renovate', 'major-update'],
|
"gitAuthor": "Renovate Bot <renovate@git.chemavx.xyz>",
|
||||||
},
|
"repositories": ["chemavx/researchowl", "chemavx/polymarket-bot", "chemavx/n8n"],
|
||||||
{
|
"automerge": false,
|
||||||
// Minor bumps: PR sin automerge
|
"assignees": ["chemavx"],
|
||||||
matchUpdateTypes: ['minor'],
|
"labels": ["renovate"],
|
||||||
automerge: false,
|
"prCreation": "not-pending",
|
||||||
},
|
"timezone": "Europe/Madrid",
|
||||||
{
|
"schedule": ["after 9am and before 6pm every weekday"],
|
||||||
// Patch bumps: automerge automático
|
"packageRules": [
|
||||||
matchUpdateTypes: ['patch'],
|
{"matchUpdateTypes": ["major"], "automerge": false, "labels": ["renovate", "major-update"]},
|
||||||
automerge: true,
|
{"matchUpdateTypes": ["minor"], "automerge": false},
|
||||||
automergeType: 'pr',
|
{"matchUpdateTypes": ["patch"], "automerge": true, "automergeType": "pr"},
|
||||||
},
|
{"matchPackageNames": ["/^git\\.chemavx\\.xyz//"], "enabled": false}
|
||||||
{
|
]
|
||||||
// Imágenes del registry privado: nunca tocar (tags son commits SHA)
|
}
|
||||||
matchPackagePatterns: ['^git\\.chemavx\\.xyz/'],
|
|
||||||
enabled: false,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ spec:
|
|||||||
name: renovate-token
|
name: renovate-token
|
||||||
key: RENOVATE_TOKEN
|
key: RENOVATE_TOKEN
|
||||||
- name: RENOVATE_CONFIG_FILE
|
- name: RENOVATE_CONFIG_FILE
|
||||||
value: /opt/renovate/config.js
|
value: /opt/renovate/renovate.json
|
||||||
- name: LOG_LEVEL
|
- name: LOG_LEVEL
|
||||||
value: info
|
value: info
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
Reference in New Issue
Block a user