Skip to content

Commit fa084f5

Browse files
author
MarcoFalke
committed
ci: Only create folders when needed
Now that container volumes are used, the folders are no longer mounted. They are only needed when running without a container engine (docker, podman).
1 parent fab2712 commit fa084f5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ci/test/04_install.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66

77
export LC_ALL=C.UTF-8
88

9-
# Create folders that are mounted into the docker
10-
mkdir -p "${CCACHE_DIR}"
11-
mkdir -p "${PREVIOUS_RELEASES_DIR}"
12-
139
export ASAN_OPTIONS="detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1"
1410
export LSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/lsan"
1511
export TSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/tsan:halt_on_error=1:log_path=${BASE_SCRATCH_DIR}/sanitizer-output/tsan"
@@ -52,6 +48,9 @@ if [ -z "$DANGER_RUN_CI_ON_HOST" ]; then
5248
export CI_EXEC_CMD_PREFIX="docker exec ${CI_CONTAINER_ID}"
5349
else
5450
echo "Running on host system without docker wrapper"
51+
echo "Create missing folders"
52+
mkdir -p "${CCACHE_DIR}"
53+
mkdir -p "${PREVIOUS_RELEASES_DIR}"
5554
fi
5655

5756
CI_EXEC () {

0 commit comments

Comments
 (0)