From da087002ba6cb5e279e0a9235eb5acf0c6bb148f Mon Sep 17 00:00:00 2001 From: Moritz Date: Wed, 23 Apr 2025 18:01:18 +0200 Subject: [PATCH 1/3] test drone --- .drone.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index ea5228a..39360d6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,8 +3,8 @@ type: docker name: default steps: -- name: greeting - image: alpine - commands: - - echo hello - - echo world + - name: greeting + image: alpine + commands: + - echo Hello + - echo World From 3f018e2ff97e1acf81949dc5a88fc792e0018ea2 Mon Sep 17 00:00:00 2001 From: Moritz Date: Wed, 23 Apr 2025 18:03:46 +0200 Subject: [PATCH 2/3] another drone test --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 39360d6..c868aff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,4 +7,5 @@ steps: image: alpine commands: - echo Hello + - echo beautiful - echo World From 82a9417ea9162d09f1ba3c168d2943ea55c1ce00 Mon Sep 17 00:00:00 2001 From: Moritz Date: Wed, 23 Apr 2025 23:41:07 +0200 Subject: [PATCH 3/3] test renovate --- .drone.yml | 35 +++++++++++++++++++++++++++++------ config.js | 16 ++++++++++++++++ 2 files changed, 45 insertions(+), 6 deletions(-) create mode 100644 config.js diff --git a/.drone.yml b/.drone.yml index c868aff..a82bfd8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,11 +1,34 @@ +--- kind: pipeline type: docker -name: default +name: renovate + +trigger: + event: + - cron + - push + - custom + +environment: + LOG_LEVEL: debug steps: - - name: greeting - image: alpine + - name: renovate - validate config + image: renovate/renovate:39.256 + # https://github.com/renovatebot/renovate/discussions/15049 commands: - - echo Hello - - echo beautiful - - echo World + - unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL + - renovate-config-validator + + - name: renovate + image: renovate/renovate:39.256 + # https://github.com/renovatebot/renovate/discussions/15049 + commands: + - unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL + - renovate + + environment: + RENOVATE_TOKEN: + from_secret: RENOVATE_TOKEN + #GITHUB_COM_TOKEN: + # from_secret: GITHUB_COM_TOKEN diff --git a/config.js b/config.js new file mode 100644 index 0000000..3efb6cf --- /dev/null +++ b/config.js @@ -0,0 +1,16 @@ +module.exports = { + endpoint: "https://git.local-it.org/api/v1/", + gitAuthor: 'Renovate Bot ', + username: 'renovate', + platform: "gitea", + onboarding: true, + autodiscover: true, + persistRepoData: true, + optimizeForDisabled: true, + assignees: [], + labels: ["renovate", "dependencies", "automated"], + onboardingConfig: { + extends: ["config:recommended"], + }, + repositories: ["local-it/mitgliederverwaltung"] +};