From 9e260fda37d22123ef7eb4ad3d32430d517307e7 Mon Sep 17 00:00:00 2001
From: David Gabriel Monk <david.gabriel.monk@cern.ch>
Date: Wed, 18 Dec 2024 13:07:13 +0100
Subject: [PATCH] Update file .gitlab-ci.yml

---
 .gitlab-ci.yml | 77 ++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 59 insertions(+), 18 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 01aaa003..a8b5d7b4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,26 +1,67 @@
 stages:
-  - Setup
-  - Triggers
+  - Code Checks
+  - Simulation
+  - Test Builds
+  - Hardware Tests
+  - Full Builds
 
-generate-config:
-  stage: Setup
-  image: python
-  before_script:
-    - pip install pyyaml
+
+Lint HDL Code:
+  stage: Code Checks
+  image: ubuntu
+  script:
+    - echo "Code checks go here."
+  
+Front End Unit Tests:
+  stage: Simulation
+  image: ubuntu
   script:
-    - cd ci/
-    - python generate-configs.py
-    - cat configure-ci.yml
-  artifacts:
-    paths:
-      - ci/configure-ci.yml
+    - echo "Unit tests go here"
+  
+B186 VU13P Build:
+  stage: Test Builds
+  variables:
+    PARENT_PIPELINE_SOURCE: $CI_PIPELINE_SOURCE
+    DTC_BRANCH: 40-ci-building-designs-in-main-repository
+  trigger:
+    project: cms-tracker-phase2-data-processing/BE_firmware/ot-dtc-deployments/b186-z1.2
+    strategy: depend
 
-build:
-  stage: Triggers
+Test on SerenityM:
+  stage: Hardware Tests
+  image: ubuntu
+  script:
+    - echo "Hardware tests go here"
+  
+Serenity S1 2S Full Design:
+  stage: Full Builds
+  when: manual
   variables:
     PARENT_PIPELINE_SOURCE: $CI_PIPELINE_SOURCE
+    DTC_BRANCH: 40-ci-building-designs-in-main-repository
   trigger:
-    include:
-      - artifact: ci/configure-ci.yml
-        job: generate-config
+    project: cms-tracker-phase2-data-processing/BE_firmware/ot-dtc-deployments/serenity-s1-2s-full
     strategy: depend
+
+# generate-config:
+#   stage: Setup
+#   image: python
+#   before_script:
+#     - pip install pyyaml
+#   script:
+#     - cd ci/
+#     - python generate-configs.py
+#     - cat configure-ci.yml
+#   artifacts:
+#     paths:
+#       - ci/configure-ci.yml
+
+# build:
+#   stage: Triggers
+#   variables:
+#     PARENT_PIPELINE_SOURCE: $CI_PIPELINE_SOURCE
+#   trigger:
+#     include:
+#       - artifact: ci/configure-ci.yml
+#         job: generate-config
+#     strategy: depend
-- 
GitLab