Skip to content

Commit bf573d5

Browse files
committed
try to fix pr job
1 parent 0ac6b40 commit bf573d5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/ci/docker/run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ else
296296
args="$args --volume $objdir:/checkout/obj"
297297
args="$args --volume $HOME/.cargo:/cargo"
298298
args="$args --volume /tmp/toolstate:/tmp/toolstate"
299+
299300
id=$(id -u)
300301
if [[ "$id" != 0 && "$(docker version)" =~ Podman ]]; then
301302
# Rootless podman creates a separate user namespace, where an inner

src/ci/run.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ if [ "$NO_CHANGE_USER" = "" ]; then
3535
export HOME=/home/user
3636
unset LOCAL_USER_ID
3737

38-
# Give ownership of necessary directories to the user
39-
change_ownership_if_needed .
40-
mkdir -p /cargo
41-
change_ownership_if_needed /cargo
42-
change_ownership_if_needed /checkout
38+
# # Give ownership of necessary directories to the user
39+
# change_ownership_if_needed .
40+
# mkdir -p /cargo
41+
# change_ownership_if_needed /cargo
42+
# change_ownership_if_needed /checkout
4343

4444
# Ensure that runners are able to execute git commands in the worktree,
4545
# overriding the typical git protections. In our docker container we're running

0 commit comments

Comments
 (0)