Skip to content
Snippets Groups Projects
Commit a3fdca6d authored by Max Melchert's avatar Max Melchert
Browse files

style: correct markdown formatting to comply with linting rules

parent 1472ffda
No related branches found
No related tags found
No related merge requests found
......@@ -6,4 +6,5 @@ git-conventional-commits.yaml
test
# files
*.*draft**
docs/notes.md
......@@ -55,6 +55,8 @@
> große Projekte; langwierige Berechnungen
## Pipelines
1. [Code](https://gitlab.cvh-server.de/mmelchert/akis-cloud-computing): `git push`
2. [Pipelines](https://gitlab.cvh-server.de/mmelchert/akis-cloud-computing/-/pipelines): `.gitlab-ci.yml`
3. [Runners](https://gitlab.cvh-server.de/mmelchert/akis-cloud-computing/-/settings/ci_cd#js-runners-settings): RTX 4090
......@@ -80,4 +82,8 @@
- [-] Speicheraufwand (GitLab auf Hetzner-Server)
- Umzug möglich
## MLOps
> WIP
<!-- todo: Jobs vs. [MLOps](https://docs.gitlab.com/user/project/ml/) -->
# Anleitungen
> WIP
# GitLab
## GitLab
## Voraussetzung
### Voraussetzung
> Ref: [GitLab CI mit `git` und VSCode](https://gitlab.cvh-server.de/ckaufmann/git-vorlesung/-/blob/master/slides-2/slides-2.pdf)
- Git initialisiert
- GitLab als `remote` eingerichtet
## Vorgehen
### Vorgehen
1. [CI/CD Settings](./-/settings/ci_cd)
- Timeout
......@@ -19,46 +21,17 @@
- Server-Admin: Freigabe der GPU
- [Variables Settings](./-/settings/ci_cd#js-cicd-variables-settings)
2. `.gitlab-ci.yml` erstellen
```yaml
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
```yaml
::include{file=.gitlab-ci.yml}
```
3. `$ git add <files>`
4. `$ git push`
5. [Pipelines](./-/pipelines) beobachten
- ![pipeline_badge](./badges/main/pipeline.svg)
6. [Artifacts](./-/artifacts) abrufen
# JupyterHub
## JupyterHub
# SSH
## SSH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment