Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Found the issue on regular testing hosts: https://gitlab.com/tarantool/tarantool/-/jobs/577884238 Fetching changes... 00:04 Reinitialized existing Git repository in /home/gitlab-runner/builds/zzyC6hh5/0/tarantool/tarantool/.git/ Checking out 8ff7f32 as ... warning: failed to remove CMakeFiles/Makefile.cmake Found the job that saved the directories with root permissions https://gitlab.com/tarantool/tarantool/-/jobs/577768553 The issue appeared because the issue caused job used the script runner to run docker in it as additional command. It caused the the gitlab-runner default workspace cleanup to be outside the docker (in opposite to the jobs when docker runner used, the cleanup runs inside the docker and no fails exists ever). Cleanup failed to remove files created by root inside the docker container before and which were shared to global host. To fix the issue need to run docker images using the gitlab-runner only in RO mode with Out-Of-Source builds in it. Either use the docker runners when docker containers are needed. Anyway script runner jobs with additional calls to dockers can't be control for the branches of developers, to avoid of it need to make local cleanup instead of default to the working paths for each job with script runners use. Decided to setup gitlab-runner configuration as described in: https://docs.gitlab.com/ce/ci/yaml/README.html#git-clean-flags Closes #5036
- Loading branch information
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters