Changes for page GitLab Erklärungen
Last modified by pmeyer on 2025/09/12 04:41
From 84.5 to 84.4
From 84.10 to 84.9
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -185,55 +185,6 @@ 185 185 186 186 Eine GitLab Pipeline ist eine in //.gitlab-ci.yml// definierte Abfolge von Jobs. Jobs können dabei beispielsweise die automatische Ausführung von Tests sein. 187 187 188 -== Pipeline im Basisprojekt v2==188 +== Pipeline im Basisprojekt == 189 189 190 -Die Pipeline im Basisprojekt ist auf zwei Stages mit jeweils einem Job aufgeteilt und wird im Folgenden Schritt für Schritt erklärt. Ihr dürft im Rahmen des Softwareprojekts, wenn nötig, die Pipeline um weitere Jobs oder Stages erweitern. **Die bestehenden Jobs sollten allerdings **(von Studierenden) **nicht ge** 191 - 192 -{{code language="yaml"}} 193 -stages: 194 - - verify 195 - - deploy 196 - 197 -verify-job: 198 - stage: verify 199 - image: eclipse-temurin:21-jdk-alpine 200 - script: 201 - - "./mvnw clean verify" 202 - rules: 203 - - if: $CI_PIPELINE_SOURCE == "schedule" 204 - when: always 205 - allow_failure: true 206 - - when: always 207 - allow_failure: false 208 - 209 -deploy_stats_pages: 210 - stage: deploy 211 - image: maven:3.9.9-amazoncorretto-21-al2023 212 - variables: 213 - DEVELOPMENT_BRANCH_NAME: "development" 214 - FETCH_MULTITHREAD: "true" #options are true/false 215 - LOGLEVEL: "SHORT" #options are OFF, SHORT, LONG. Has an effect on the amount of logging when data is being added 216 - #TIME_FRAMES: "01.01.2025,31.03.2025,40,Zeitraum01;01.04.2025,31.05.2025,35" #Format start,end,minHours[,name];anotherTimeframe;anotherTimeframe;... 217 - script: 218 - - yum install -y git rsync 219 - - git clone https://gitlab.swl.informatik.uni-oldenburg.de/GA/gitlab2data.git 220 - - cd gitlab2data 221 - - mvn clean package 222 - - java -jar target/GitLab2Data-1.0-SNAPSHOT-jar-with-dependencies.jar 223 - - cd .. 224 - - mkdir -p public/data 225 - - rm -f public/data/*.json 226 - - cp gitlab2data/*.json public/data/ 227 - - git clone https://gitlab.swl.informatik.uni-oldenburg.de/GA/data4visual.git repo 228 - - rsync -av --exclude='data/' --exclude='.git' --exclude='.gitignore' repo/ public/ 229 - artifacts: 230 - paths: 231 - - public 232 - pages: 233 - path_prefix: "stats" #to allow for parallel deployments of the projects own page don't make the stats site the main deployment 234 - expire_in: never 235 - rules: 236 - - if: $CI_PIPELINE_SOURCE == "schedule" 237 - when: always 238 - - when: never 239 -{{/code}} 190 +