From cb9e22dc9c50acfd20f1a08a06f896c3c65e3ebf Mon Sep 17 00:00:00 2001
From: Tobias Mieves <tobias.mieves@tu-dortmund.de>
Date: Sun, 7 Apr 2024 15:03:26 +0200
Subject: [PATCH] ci: Switch to central ci config

---
 .gitlab-ci.yml | 43 +++----------------------------------------
 1 file changed, 3 insertions(+), 40 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e565466..745a63d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,41 +1,4 @@
-stages:
-  - test
-  - docker
-  - release
-
-variables:
-  LICENSE_FINDER_CLI_OPTS: '--recursive'
-
-docker:
-  stage: docker
-  image: docker:24
-  services:
-    - docker:dind
-  before_script:
-    - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
-  script:
-    - docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG -t $CI_REGISTRY_IMAGE:latest .
-    - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
-    - docker push $CI_REGISTRY_IMAGE:latest
-  only:
-    - tags
-
-
-release:
-  image: node:20-buster-slim
-  stage: release
-  before_script:
-    - apt-get update && apt-get install -y --no-install-recommends git-core ca-certificates
-    - npm install -g semantic-release @semantic-release/gitlab @semantic-release/git @semantic-release/changelog @semantic-release/release-notes-generator
-  script:
-    - semantic-release
-  only:
-    - main
-
-
+---
 include:
-  - template: Dependency-Scanning.gitlab-ci.yml
-  - template: Security/License-Scanning.gitlab-ci.yml
-  - template: Security/SAST.gitlab-ci.yml
-  - template: Secret-Detection.gitlab-ci.yml
-  - template: Code-Quality.gitlab-ci.yml
\ No newline at end of file
+  - project: tobiasff3200/ci-cd
+    file: .gitlab-ci.yml
-- 
GitLab