From 234f33cf5b512c547ed5e77d9599a0a87488c45c Mon Sep 17 00:00:00 2001
From: Max Melchert <maximilian.melchert@stud.hs-bochum.de>
Date: Mon, 10 Mar 2025 20:51:57 +0100
Subject: [PATCH] fix: move gitlab-ci to src

---
 .gitignore                   |  3 +++
 .gitlab-ci.yml               | 32 --------------------------------
 src/gitlab-ci/.gitlab-ci.yml | 33 ++++++++++++++++++++++++++++++++-
 3 files changed, 35 insertions(+), 33 deletions(-)
 delete mode 100644 .gitlab-ci.yml
 mode change 120000 => 100644 src/gitlab-ci/.gitlab-ci.yml

diff --git a/.gitignore b/.gitignore
index fa371d5..665bc6d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,5 +2,8 @@
 .pre-commit-config.yaml
 git-conventional-commits.yaml
 
+# folders
+test
+
 # files
 docs/notes.md
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
deleted file mode 100644
index 7521bcc..0000000
--- a/.gitlab-ci.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-create-file:
-  stage: build
-  image: python
-  # tags:
-  #   - gpu
-  script:
-    - |
-      cat <<EOF > test.py
-      with open('output.txt', 'w') as f:
-        f.write('hello world!\\n')
-      EOF
-    - python test.py
-  artifacts:
-    paths:
-      - output.txt
-
-test-file-output:
-  stage: test
-  script:
-    - grep -q "hello world!" output.txt
-  dependencies:
-    - create-file
-
-deploy-output:
-  stage: deploy
-  script:
-    - cp output.txt release.txt
-  artifacts:
-    paths:
-      - release.txt
-  dependencies:
-    - create-file
diff --git a/src/gitlab-ci/.gitlab-ci.yml b/src/gitlab-ci/.gitlab-ci.yml
deleted file mode 120000
index d0faac9..0000000
--- a/src/gitlab-ci/.gitlab-ci.yml
+++ /dev/null
@@ -1 +0,0 @@
-../../.gitlab-ci.yml
\ No newline at end of file
diff --git a/src/gitlab-ci/.gitlab-ci.yml b/src/gitlab-ci/.gitlab-ci.yml
new file mode 100644
index 0000000..7521bcc
--- /dev/null
+++ b/src/gitlab-ci/.gitlab-ci.yml
@@ -0,0 +1,32 @@
+create-file:
+  stage: build
+  image: python
+  # tags:
+  #   - gpu
+  script:
+    - |
+      cat <<EOF > test.py
+      with open('output.txt', 'w') as f:
+        f.write('hello world!\\n')
+      EOF
+    - python test.py
+  artifacts:
+    paths:
+      - output.txt
+
+test-file-output:
+  stage: test
+  script:
+    - grep -q "hello world!" output.txt
+  dependencies:
+    - create-file
+
+deploy-output:
+  stage: deploy
+  script:
+    - cp output.txt release.txt
+  artifacts:
+    paths:
+      - release.txt
+  dependencies:
+    - create-file
-- 
GitLab