From df7720e9ae9c48b130cbd634834b47a5aae68254 Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Mon, 30 Oct 2023 11:26:04 +0100 Subject: [PATCH] WIP --- {dist => deployment/dist}/favicon-16x16.png | Bin {dist => deployment/dist}/favicon-32x32.png | Bin {dist => deployment/dist}/index.css | 0 {dist => deployment/dist}/index.html | 0 .../dist}/oauth2-redirect.html | 0 .../dist}/swagger-initializer.js | 0 .../dist}/swagger-ui-bundle.js | 0 .../dist}/swagger-ui-bundle.js.map | 0 .../dist}/swagger-ui-es-bundle-core.js | 0 .../dist}/swagger-ui-es-bundle-core.js.map | 0 .../dist}/swagger-ui-es-bundle.js | 0 .../dist}/swagger-ui-es-bundle.js.map | 0 .../dist}/swagger-ui-standalone-preset.js | 0 .../dist}/swagger-ui-standalone-preset.js.map | 0 {dist => deployment/dist}/swagger-ui.css | 0 {dist => deployment/dist}/swagger-ui.css.map | 0 {dist => deployment/dist}/swagger-ui.js | 0 {dist => deployment/dist}/swagger-ui.js.map | 0 misc/architecture.drawio | 110 +++++++++++++++++- 19 files changed, 109 insertions(+), 1 deletion(-) rename {dist => deployment/dist}/favicon-16x16.png (100%) rename {dist => deployment/dist}/favicon-32x32.png (100%) rename {dist => deployment/dist}/index.css (100%) rename {dist => deployment/dist}/index.html (100%) rename {dist => deployment/dist}/oauth2-redirect.html (100%) rename {dist => deployment/dist}/swagger-initializer.js (100%) rename {dist => deployment/dist}/swagger-ui-bundle.js (100%) rename {dist => deployment/dist}/swagger-ui-bundle.js.map (100%) rename {dist => deployment/dist}/swagger-ui-es-bundle-core.js (100%) rename {dist => deployment/dist}/swagger-ui-es-bundle-core.js.map (100%) rename {dist => deployment/dist}/swagger-ui-es-bundle.js (100%) rename {dist => deployment/dist}/swagger-ui-es-bundle.js.map (100%) rename {dist => deployment/dist}/swagger-ui-standalone-preset.js (100%) rename {dist => deployment/dist}/swagger-ui-standalone-preset.js.map (100%) rename {dist => deployment/dist}/swagger-ui.css (100%) rename {dist => deployment/dist}/swagger-ui.css.map (100%) rename {dist => deployment/dist}/swagger-ui.js (100%) rename {dist => deployment/dist}/swagger-ui.js.map (100%) diff --git a/dist/favicon-16x16.png b/deployment/dist/favicon-16x16.png similarity index 100% rename from dist/favicon-16x16.png rename to deployment/dist/favicon-16x16.png diff --git a/dist/favicon-32x32.png b/deployment/dist/favicon-32x32.png similarity index 100% rename from dist/favicon-32x32.png rename to deployment/dist/favicon-32x32.png diff --git a/dist/index.css b/deployment/dist/index.css similarity index 100% rename from dist/index.css rename to deployment/dist/index.css diff --git a/dist/index.html b/deployment/dist/index.html similarity index 100% rename from dist/index.html rename to deployment/dist/index.html diff --git a/dist/oauth2-redirect.html b/deployment/dist/oauth2-redirect.html similarity index 100% rename from dist/oauth2-redirect.html rename to deployment/dist/oauth2-redirect.html diff --git a/dist/swagger-initializer.js b/deployment/dist/swagger-initializer.js similarity index 100% rename from dist/swagger-initializer.js rename to deployment/dist/swagger-initializer.js diff --git a/dist/swagger-ui-bundle.js b/deployment/dist/swagger-ui-bundle.js similarity index 100% rename from dist/swagger-ui-bundle.js rename to deployment/dist/swagger-ui-bundle.js diff --git a/dist/swagger-ui-bundle.js.map b/deployment/dist/swagger-ui-bundle.js.map similarity index 100% rename from dist/swagger-ui-bundle.js.map rename to deployment/dist/swagger-ui-bundle.js.map diff --git a/dist/swagger-ui-es-bundle-core.js b/deployment/dist/swagger-ui-es-bundle-core.js similarity index 100% rename from dist/swagger-ui-es-bundle-core.js rename to deployment/dist/swagger-ui-es-bundle-core.js diff --git a/dist/swagger-ui-es-bundle-core.js.map b/deployment/dist/swagger-ui-es-bundle-core.js.map similarity index 100% rename from dist/swagger-ui-es-bundle-core.js.map rename to deployment/dist/swagger-ui-es-bundle-core.js.map diff --git a/dist/swagger-ui-es-bundle.js b/deployment/dist/swagger-ui-es-bundle.js similarity index 100% rename from dist/swagger-ui-es-bundle.js rename to deployment/dist/swagger-ui-es-bundle.js diff --git a/dist/swagger-ui-es-bundle.js.map b/deployment/dist/swagger-ui-es-bundle.js.map similarity index 100% rename from dist/swagger-ui-es-bundle.js.map rename to deployment/dist/swagger-ui-es-bundle.js.map diff --git a/dist/swagger-ui-standalone-preset.js b/deployment/dist/swagger-ui-standalone-preset.js similarity index 100% rename from dist/swagger-ui-standalone-preset.js rename to deployment/dist/swagger-ui-standalone-preset.js diff --git a/dist/swagger-ui-standalone-preset.js.map b/deployment/dist/swagger-ui-standalone-preset.js.map similarity index 100% rename from dist/swagger-ui-standalone-preset.js.map rename to deployment/dist/swagger-ui-standalone-preset.js.map diff --git a/dist/swagger-ui.css b/deployment/dist/swagger-ui.css similarity index 100% rename from dist/swagger-ui.css rename to deployment/dist/swagger-ui.css diff --git a/dist/swagger-ui.css.map b/deployment/dist/swagger-ui.css.map similarity index 100% rename from dist/swagger-ui.css.map rename to deployment/dist/swagger-ui.css.map diff --git a/dist/swagger-ui.js b/deployment/dist/swagger-ui.js similarity index 100% rename from dist/swagger-ui.js rename to deployment/dist/swagger-ui.js diff --git a/dist/swagger-ui.js.map b/deployment/dist/swagger-ui.js.map similarity index 100% rename from dist/swagger-ui.js.map rename to deployment/dist/swagger-ui.js.map diff --git a/misc/architecture.drawio b/misc/architecture.drawio index e664aee..e457344 100644 --- a/misc/architecture.drawio +++ b/misc/architecture.drawio @@ -1,4 +1,4 @@ -<mxfile host="Electron" modified="2023-10-13T16:16:56.111Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/21.1.2 Chrome/106.0.5249.199 Electron/21.4.3 Safari/537.36" etag="vP0KAMnM1Rvz2IbZfXXM" version="21.1.2" type="device" pages="7"> +<mxfile host="Electron" modified="2023-10-28T13:02:05.280Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/21.1.2 Chrome/106.0.5249.199 Electron/21.4.3 Safari/537.36" etag="pGQPDYA5rRbYQ2M7aIX2" version="21.1.2" type="device" pages="8"> <diagram id="mvBsv1rP8O80Qe3yGnn_" name="docker-compose"> <mxGraphModel dx="1434" dy="822" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0"> <root> @@ -2542,4 +2542,112 @@ </root> </mxGraphModel> </diagram> + <diagram id="0gRvLy_AUZ0Xau8SBKI8" name="Gitlab Runner"> + <mxGraphModel dx="735" dy="422" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0"> + <root> + <mxCell id="0" /> + <mxCell id="1" parent="0" /> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-1" value="" style="rounded=1;whiteSpace=wrap;html=1;arcSize=2;" parent="1" vertex="1"> + <mxGeometry x="280" y="40" width="730" height="260" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-3" value="minikube" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;fontStyle=1" parent="1" vertex="1"> + <mxGeometry x="322" y="50" width="110" height="10" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-4" value="<font style="font-weight: normal; font-size: 10px;">128.130.202.116</font>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;fontStyle=1" parent="1" vertex="1"> + <mxGeometry x="322" y="65" width="110" height="10" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="r9iJ3a_E54lvpWGN0BaG-5" target="r9iJ3a_E54lvpWGN0BaG-6" edge="1"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-31" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="r9iJ3a_E54lvpWGN0BaG-5" target="r9iJ3a_E54lvpWGN0BaG-7" edge="1"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="r9iJ3a_E54lvpWGN0BaG-5" target="r9iJ3a_E54lvpWGN0BaG-8" edge="1"> + <mxGeometry relative="1" as="geometry"> + <Array as="points"> + <mxPoint x="625" y="124" /> + <mxPoint x="625" y="124" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-35" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="r9iJ3a_E54lvpWGN0BaG-5" target="r9iJ3a_E54lvpWGN0BaG-22" edge="1"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="r9iJ3a_E54lvpWGN0BaG-5" target="r9iJ3a_E54lvpWGN0BaG-29" edge="1"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-5" value="<b>agentpool</b><br>6 CPU, 24GB RAM" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1"> + <mxGeometry x="567.5" y="75" width="115" height="40" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-6" value="<b>gitlab-runner</b><br>kubernetes" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" parent="1" vertex="1"> + <mxGeometry x="300" y="140" width="100" height="40" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-7" value="<b>gitlab-runner</b><br>kubernetes" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" parent="1" vertex="1"> + <mxGeometry x="420" y="140" width="100" height="40" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-20" value="" style="group" parent="1" vertex="1" connectable="0"> + <mxGeometry x="540" y="140" width="170" height="140" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-8" value="<b>runner-xyz-001</b>" style="rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;arcSize=5;" parent="r9iJ3a_E54lvpWGN0BaG-20" vertex="1"> + <mxGeometry width="170" height="140" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="r9iJ3a_E54lvpWGN0BaG-20" target="r9iJ3a_E54lvpWGN0BaG-14" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="45" y="70" as="sourcePoint" /> + </mxGeometry> + </mxCell> + <mxCell id="3q8h414pSOnjdSIywmwI-4" value="<div style="text-align: left; font-size: 10px;"><font style="font-size: 10px;">/var/run/dind/docker.sock</font></div><div style="text-align: left; font-size: 10px;"><font style="font-size: 10px;">/tmp</font></div>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=10;labelBackgroundColor=none;" parent="r9iJ3a_E54lvpWGN0BaG-18" vertex="1" connectable="0"> + <mxGeometry x="-0.1361" relative="1" as="geometry"> + <mxPoint x="58" y="-1" as="offset" /> + </mxGeometry> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-13" value="<b>svc-0</b><br>docker:24-dind-rootless" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="r9iJ3a_E54lvpWGN0BaG-20" vertex="1"> + <mxGeometry x="10" y="30" width="150" height="40" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-14" value="<b>build<br></b>" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="r9iJ3a_E54lvpWGN0BaG-20" vertex="1"> + <mxGeometry x="10" y="110" width="70" height="20" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-16" value="<b>helper<br></b>" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="r9iJ3a_E54lvpWGN0BaG-20" vertex="1"> + <mxGeometry x="90" y="110" width="70" height="20" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-37" value="" style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image=https://upload.wikimedia.org/wikipedia/commons/thumb/4/4e/Docker_%28container_engine%29_logo.svg/2560px-Docker_%28container_engine%29_logo.svg.png;clipPath=inset(0% 58% 0% 0.33%);" parent="r9iJ3a_E54lvpWGN0BaG-20" vertex="1"> + <mxGeometry x="33.25" y="37" width="23.5" height="13.35" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-21" value="" style="group" parent="1" vertex="1" connectable="0"> + <mxGeometry x="820" y="140" width="170" height="140" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-22" value="<b>runner-xyz-010</b>" style="rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;arcSize=5;" parent="r9iJ3a_E54lvpWGN0BaG-21" vertex="1"> + <mxGeometry width="170" height="140" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="r9iJ3a_E54lvpWGN0BaG-21" target="r9iJ3a_E54lvpWGN0BaG-26" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="45" y="70" as="sourcePoint" /> + </mxGeometry> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-24" value="/var/run/dind/docker.sock<br style="font-size: 10px;">/tmp" style="edgeLabel;html=1;align=left;verticalAlign=middle;resizable=0;points=[];fontSize=10;labelBackgroundColor=none;" parent="r9iJ3a_E54lvpWGN0BaG-23" vertex="1" connectable="0"> + <mxGeometry x="0.049" relative="1" as="geometry"> + <mxPoint x="1" y="-5" as="offset" /> + </mxGeometry> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-25" value="<b>svc-0</b><br>docker:24-dind-rootless" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="r9iJ3a_E54lvpWGN0BaG-21" vertex="1"> + <mxGeometry x="10" y="30" width="150" height="40" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-39" value="" style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image=https://upload.wikimedia.org/wikipedia/commons/thumb/4/4e/Docker_%28container_engine%29_logo.svg/2560px-Docker_%28container_engine%29_logo.svg.png;clipPath=inset(0% 58% 0% 0.33%);" parent="r9iJ3a_E54lvpWGN0BaG-25" vertex="1"> + <mxGeometry x="23.25" y="7" width="23.5" height="13.35" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-26" value="<b>build<br></b>" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="r9iJ3a_E54lvpWGN0BaG-21" vertex="1"> + <mxGeometry x="10" y="110" width="70" height="20" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-27" value="<b>helper<br></b>" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="r9iJ3a_E54lvpWGN0BaG-21" vertex="1"> + <mxGeometry x="90" y="110" width="70" height="20" as="geometry" /> + </mxCell> + <mxCell id="r9iJ3a_E54lvpWGN0BaG-29" value="•&nbsp;&nbsp;•&nbsp;&nbsp;•&nbsp; •&nbsp;&nbsp;•" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"> + <mxGeometry x="734" y="193" width="60" height="30" as="geometry" /> + </mxCell> + <mxCell id="vhbaQO3R_VC2zLA3inCI-4" value="" style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image=https://miro.medium.com/v2/resize:fit:400/0*KzqL3xqmXzV5PPjX.png;" vertex="1" parent="1"> + <mxGeometry x="290" y="50" width="25.78" height="25" as="geometry" /> + </mxCell> + </root> + </mxGraphModel> + </diagram> </mxfile> -- GitLab