Commit e639bad7 authored by Ansgar Burchardt's avatar Ansgar Burchardt

add GC service

parent c4101f77
Pipeline #2266 canceled with stages
in 8 minutes
#! /bin/bash
# see https://gitlab.com/gitlab-org/gitlab-runner-docker-cleanup
set -e
docker run -d \
-e LOW_FREE_SPACE=5G \
-e EXPECTED_FREE_SPACE=20G \
-e LOW_FREE_FILES_COUNT=1048576 \
-e EXPECTED_FREE_FILES_COUNT=2097152 \
-e DEFAULT_TTL=10m \
-e USE_DF=1 \
--restart always \
-v /var/run/docker.sock:/var/run/docker.sock \
--name=gitlab-runner-docker-cleanup \
quay.io/gitlab/gitlab-runner-docker-cleanup
Markdown is supported
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