User Tools

Site Tools


services:gitlab:gitlab-runner

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:gitlab:gitlab-runner [2021/07/28 21:36] hoffmac00services:gitlab:gitlab-runner [2022/07/08 15:58] (current) hoffmac00
Line 121: Line 121:
 ===== Parallel and matrix ===== ===== Parallel and matrix =====
  
-Inside a job, you can use ''%%parallel%%'' to run it multiple times simultaneously. Some languages, e.g. ruby also have the ability to split tests across these parallel jobs.+Inside a job, you can use ''%%parallel%%'' to run it multiple times simultaneously. Some languages, e.g. ruby also have the ability to split tests across these parallel jobs.
  
 <code yaml> <code yaml>
Line 193: Line 193:
 will use the checksum of ''%%requirements.txt%%'' as the key. This means your cache only has to be recreated when ''%%requirements.txt%%'' changes. will use the checksum of ''%%requirements.txt%%'' as the key. This means your cache only has to be recreated when ''%%requirements.txt%%'' changes.
  
-Jobs that update the cache should always be idempotent (i.e. should not change anything when run again) and reuse existing files. This means you wouldn’t need to reinstall, say 2GiB in a python venv with every run of a pipeline but only update the existing modules.+Jobs that update the cache should always be idempotent (i.e. should not change anything when run again) and reuse existing files. This means you wouldn’t need to reinstall, say 2GiB in a python venv with every run of a pipeline but only update the existing modules.
  
 ===== Images ===== ===== Images =====
Line 202: Line 202:
   * buster   * buster
   * bullseye   * bullseye
 +  * bookworm (julia is not packaged for this release currently, therefore the julia variant is not available)
 +  * oldstable (last stable release)
   * stable (stable release, installed on workstations)   * stable (stable release, installed on workstations)
   * testing (next stable release)   * testing (next stable release)
Line 208: Line 210:
  
 Available variants: Available variants:
-  * base (most simple variant e.g. for simple shell scripts)+  * base (most simple variant e.g. for simple shell scripts)
   * dev (for C/C++ projects)   * dev (for C/C++ projects)
   * python (comes with the same python libs as the workstations)   * python (comes with the same python libs as the workstations)
Line 224: Line 226:
  
 <code yaml> <code yaml>
-image: buster-python+image: bullseye-python
 </code> </code>
  
Line 230: Line 232:
  
 <code yaml> <code yaml>
-image: buster-python+image: bullseye-python
  
 ... ...
  
 deploy: deploy:
-    image: buster-base+    image: bullseye-base
     script:     script:
         - ./deploy.sh         - ./deploy.sh
 </code> </code>
  
-This will use ''%%buster-python%%'' for all jobs, except ''%%deploy%%'', which will use the minimal base image.+This will use ''%%bullseye-python%%'' for all jobs, except ''%%deploy%%'', which will use the minimal base image.
  
 ===== Notes on Resource Usage ===== ===== Notes on Resource Usage =====
services/gitlab/gitlab-runner.1627508168.txt.gz · Last modified: 2021/07/28 21:36 by hoffmac00

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki