Commit 31346fb7 authored by Paul Bethge's avatar Paul Bethge
Browse files

Update README.md

parent bd0ca71b
Pipeline #195 passed with stage
in 8 seconds
......@@ -36,8 +36,6 @@ Scripts may contain multiple jobs, and jobs run as part of a larger pipeline.
#### Docker Images
For our purposes, we make use of docker images. They are specified with the `image` constraint. Images are snapshots of environments such as the system you are currently working on. You can build them yourself or use prebuild images, e.g. from [docker hub](https://hub.docker.com/). The runner will spawn an instance of this image and you can use or modify it by running scripts and executables, like `apt update && apt upgrade`. After your job is done the container will be deleted.
__NOTE__: please use images uploaded to https://harbor.zkm.de/.
#### Scripts
With the `script` constraint you can run any executable that is available in either the container or the repository.
Imagine the scripts you add to jobs are the same as CLI commands you run on your computer. A Job has to have at least on item in script.
......@@ -48,7 +46,7 @@ For simple jobs and testing, please use the CPU Runner, which is called by speci
```yaml
tags:
- docker
- cpu
- intelligent.museum
```
## View the state of the pipeline
......@@ -66,10 +64,11 @@ By executing `nvidia-smi` we should see information about the available GPU.
my-first-gpu-job:
image: tensorflow/tensorflow:devel-gpu
script:
- echo "here could be your executable"
- echo "nvidia-smi will simply proof that a GPU is available"
- nvidia-smi
tags:
- docker
- intelligent.museum
- gpu
```
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment