Skip to content

Commit 23495ab

Browse files
Merge pull request #5082 from AkihiroSuda/fix-5077-14
[release/1.4] CI: fix "ls: cannot access '/etc/cni/net.d': Permission denied"
2 parents 8a7e41c + e7851d7 commit 23495ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ jobs:
363363
[plugins.cri.containerd.default_runtime]
364364
runtime_type = "${TEST_RUNTIME}"
365365
EOF
366-
ls /etc/cni/net.d
366+
sudo ls /etc/cni/net.d
367367
sudo PATH=$PATH BDIR=$BDIR /usr/local/bin/containerd -a ${BDIR}/c.sock --config ${BDIR}/config.toml --root ${BDIR}/root --state ${BDIR}/state --log-level debug &> ${BDIR}/containerd-cri.log &
368368
sudo PATH=$PATH BDIR=$BDIR /usr/local/bin/ctr -a ${BDIR}/c.sock version
369369
sudo PATH=$PATH BDIR=$BDIR GOPATH=$GOPATH critest --runtime-endpoint=unix:///${BDIR}/c.sock --parallel=8

0 commit comments

Comments
 (0)