debug(CI):log open file descriptors

This commit is contained in:
Sven Feyerabend 2021-05-25 18:13:31 +02:00
parent 10365fd8fb
commit 39bb94ab95
1 changed files with 3 additions and 2 deletions

View File

@ -16,14 +16,15 @@ 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 9223372036854775807 - ulimit -n 999999
- ulimit - ulimit
- lsof | wc -l
- 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=9223372036854775807 --ulimit nofile=999999
--cache-from "$CI_REGISTRY_IMAGE" --cache-from "$CI_REGISTRY_IMAGE"
--pull --pull
--build-arg "BASE=$BASE" --build-arg "BASE=$BASE"