From 4dcddfd2e254deacb2852d7f3bf010df1f233c85 Mon Sep 17 00:00:00 2001
From: Neil-Jocelyn Schark <neil.schark@h-da.de>
Date: Fri, 11 Apr 2025 14:05:34 +0200
Subject: [PATCH] remove renovate

---
 .gitlab-ci.yml           |  1 -
 .gitlab/ci/.renovate.yml | 14 --------------
 config.js                | 25 -------------------------
 renovate.json            | 35 -----------------------------------
 4 files changed, 75 deletions(-)
 delete mode 100644 .gitlab/ci/.renovate.yml
 delete mode 100644 config.js
 delete mode 100644 renovate.json

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 446770e25..3a7f08cd6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,7 +31,6 @@ include:
     - local: "/.gitlab/ci/.code-quality-ci.yml"
     - local: "/.gitlab/ci/.security-and-compliance-ci.yml"
     - local: "/.gitlab/ci/.test.yml"
-    - local: "/.gitlab/ci/.renovate.yml"
     - local: "/.gitlab/ci/.mk-docs-deploy.yml"
     - local: "/.gitlab/ci/legacy/.test.yml"
     - local: "/.gitlab/ci/.release-container.yml"
diff --git a/.gitlab/ci/.renovate.yml b/.gitlab/ci/.renovate.yml
deleted file mode 100644
index 154f871f6..000000000
--- a/.gitlab/ci/.renovate.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-renovate:
-    stage: tools
-
-    image: renovate/renovate:39.219.0
-
-    variables:
-        LOG_LEVEL: debug
-        RENOVATE_BASE_BRANCHES: "master"
-
-    script:
-        - renovate $RENOVATE_EXTRA_FLAGS
-
-    rules:
-        - if: '$CI_PIPELINE_SOURCE == "schedule" && $CI_NIGHTLY == "mainline"'
diff --git a/config.js b/config.js
deleted file mode 100644
index f2bcae944..000000000
--- a/config.js
+++ /dev/null
@@ -1,25 +0,0 @@
-Object.assign(process.env, {
-  GIT_AUTHOR_NAME: 'Renovate Bot',
-  GIT_AUTHOR_EMAIL: 'renovate@danet.fbi.h-da.de',
-  GIT_COMMITTER_NAME: 'Renovate Bot',
-  GIT_COMMITTER_EMAIL: 'renovate@danet.fbi.h-da.de',
-});
-
-module.exports = {
-  endpoint: process.env.CI_API_V4_URL,
-  hostRules: [
-    {
-      matchHost: 'https://registry.code.fbi.h-da.de',
-      username: '@project_10161_bot',
-      password: process.env.GITLAB_REGISTRY_TOKEN,
-    },
-  ],
-  platform: 'gitlab',
-  username: '@project_10161_bot',
-  gitAuthor: 'Renovate Bot <renovate@danet.fbi.h-da.de>',
-  autodiscover: true,
-  prConcurrentLimit: 10,
-  commitMessagePrefix: '[renovate]',
-  labels: ['renovate'],
-  baseBranches: ['master']
-};
diff --git a/renovate.json b/renovate.json
deleted file mode 100644
index 91f5c0057..000000000
--- a/renovate.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
-    "$schema": "https://docs.renovatebot.com/renovate-schema.json",
-    "gitAuthor": "renovate@danet.fbi.h-da.de",
-    "platform": "gitlab",
-    "ignorePaths": [
-        "**/node_modules/**",
-        "**/bower_components/**",
-        "**/api/deps/**",
-        "csbi/docker-compose.yml",
-        "docker-compose.yml",
-        "applications/venv-manager/venv-manager.Dockerfile",
-        "cli/cli.Dockerfile",
-        "controller/Dockerfile.debug",
-        "controller/controller.Dockerfile",
-        "csbi/Dockerfile.exec",
-        "csbi/csbi.Dockerfile",
-        "csbi/gnmi-target/gnmitarget.Dockerfile",
-        "csbi/resources/Dockerfile",
-        ".gitlab/ci/.uml-autogen-ci.yml",
-        ".gitlab/ci/.integration-test.yml",
-        ".gitlab/ci/.test.yml",
-        ".gitlab/ci/.code-quality-ci.yml",
-        ".gitlab/ci/.build-binaries.yml",
-        "csbi/resources/go.mod",
-        "csbi/testdata/00000000-0000-0000-0000-000000000000/go.mod",
-        "controller/test/terraform/containers.tf",
-        "controller/test/terraform/images.tf",
-        "controller/test/terraform/main.tf",
-        "controller/test/terraform/providers.tf"
-    ],
-    "prConcurrentLimit": 30,
-    "commitMessagePrefix": "[renovate]",
-    "labels": ["renovate"],
-    "baseBranches": ["master"]
-}
-- 
GitLab