diff --git a/.drone.yml b/.drone.yml index df88740..2017f32 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ kind: pipeline type: docker -name: check +name: default services: - name: postgres @@ -14,7 +14,7 @@ trigger: - push steps: - - name: lint + - name: check image: docker.io/library/elixir:1.18.3-otp-27 commands: # Install hex package manager @@ -62,32 +62,3 @@ steps: - mix deps.get # Run tests - mix test - ---- -kind: pipeline -type: docker -name: renovate - -trigger: - event: - - cron - - push - - custom - -environment: - LOG_LEVEL: debug - -steps: - - name: renovate - image: renovate/renovate:39.256 - environment: - RENOVATE_CONFIG_FILE: "renovate_backend_config.js" - RENOVATE_TOKEN: - from_secret: RENOVATE_TOKEN - #GITHUB_COM_TOKEN: - # from_secret: GITHUB_COM_TOKEN - commands: - # https://github.com/renovatebot/renovate/discussions/15049 - - unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL - - renovate-config-validator - - renovate diff --git a/.editorconfig b/.editorconfig index 573150e..867ea98 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,10 +1,5 @@ root = true -[*] -indent_style = space - [*.yml] indent_size = 2 - -[*.json] -indent_size = 2 \ No newline at end of file +indent_style = space \ No newline at end of file diff --git a/renovate.json b/renovate.json index 316f0a8..5db72dd 100644 --- a/renovate.json +++ b/renovate.json @@ -1,15 +1,6 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:recommended"], - "packageRules": [ - { - "groupName": "Mix dependencies", - "matchCategories": "elixir" - }, - { - "groupName": "asdf tool versions", - "description": "Keep in mind that Renovate currently does not support updating PostgreSQL via asdf.", - "matchFileNames": [".tool-versions"] - } + "extends": [ + "config:recommended" ] } diff --git a/renovate_backend_config.js b/renovate_backend_config.js deleted file mode 100644 index 3cef06e..0000000 --- a/renovate_backend_config.js +++ /dev/null @@ -1,19 +0,0 @@ -// This file only contains "backend" administration settings for renovate, -// such as where to access the forgejo api etc. -// To configure how renovate updates dependencies, see `renovate.json`. -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"], -};