debug(CI): try ulimit = fs.file-max

This commit is contained in:
Sven Feyerabend 2021-05-25 17:54:55 +02:00
parent 17782c7687
commit 10365fd8fb
1 changed files with 3 additions and 2 deletions

View File

@ -16,13 +16,14 @@ services:
before_script: before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- source environment - source environment
- ulimit -n 90000 - ulimit -n 9223372036854775807
- ulimit
- sysctl fs.file-max - sysctl fs.file-max
# - docker pull "$CI_REGISTRY_IMAGE" || true # - docker pull "$CI_REGISTRY_IMAGE" || true
- docker pull "$BASE" - docker pull "$BASE"
- > - >
docker build docker build
--ulimit nofile=90000 --ulimit nofile=9223372036854775807
--cache-from "$CI_REGISTRY_IMAGE" --cache-from "$CI_REGISTRY_IMAGE"
--pull --pull
--build-arg "BASE=$BASE" --build-arg "BASE=$BASE"