Changes for page GitLab Erklärungen

Last modified by pmeyer on 2025/09/12 04:41

edited by sbeyer1
on 2025/08/25 11:27
Change comment: There is no comment for this version
edited by sbeyer1
on 2025/08/25 11:02
Change comment: There is no comment for this version

Summary

Details

insert_drive_file Page properties
Content
... ... @@ -181,59 +181,4 @@
181 181  
182 182  ----
183 183  
184 -= GitLab Pipelines =
185 -
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 -
188 -== Pipeline im Basisprojekt v2 ==
189 -
190 -Die Pipeline im Basisprojekt ist auf zwei Stages mit jeweils einem Job aufgeteilt.
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}}
184 += =