Update .gitlab-ci.yml file

set DEBIAN_FRONTEND envvar in aptcache
This commit is contained in:
Alam Ed Arias 2023-10-13 21:43:15 +00:00
parent 796adec979
commit 96beee1d4d

View file

@ -27,6 +27,7 @@ stages: # List of stages for jobs, and their order of execution
.aptcache_Scripts: &aptcache .aptcache_Scripts: &aptcache
- export APT_CACHE_DIR=`pwd`/apt-cache - export APT_CACHE_DIR=`pwd`/apt-cache
- mkdir --parents --verbose $APT_CACHE_DIR/partial/ - mkdir --parents --verbose $APT_CACHE_DIR/partial/
- export DEBIAN_FRONTEND=noninteractive
default: default:
image: debian:stable-slim image: debian:stable-slim
@ -37,7 +38,6 @@ default:
CCACHE_MAXSIZE: "50M" CCACHE_MAXSIZE: "50M"
GIT_STRATEGY: clone GIT_STRATEGY: clone
GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_CONCURRENT_ID/$CI_PROJECT_PATH GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_CONCURRENT_ID/$CI_PROJECT_PATH
ENV DEBIAN_FRONTEND: noninteractive
cache: cache:
- key: ccache-$CI_PROJECT_PATH_SLUG-$CI_JOB_NAME_SLUG - key: ccache-$CI_PROJECT_PATH_SLUG-$CI_JOB_NAME_SLUG
fallback_keys: fallback_keys: