Skip to content

Commit af4c55f

Browse files
authored
Merge pull request #5078 from AkihiroSuda/fix-5077
CI: fix "ls: cannot access '/etc/cni/net.d': Permission denied"
2 parents 757be0a + b4ef1e9 commit af4c55f

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
@@ -339,7 +339,7 @@ jobs:
339339
[plugins.cri.containerd.default_runtime]
340340
runtime_type = "${TEST_RUNTIME}"
341341
EOF
342-
ls /etc/cni/net.d
342+
sudo ls /etc/cni/net.d
343343
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 &
344344
sudo PATH=$PATH BDIR=$BDIR /usr/local/bin/ctr -a ${BDIR}/c.sock version
345345
sudo PATH=$PATH BDIR=$BDIR GOPATH=$GOPATH critest --runtime-endpoint=unix:///${BDIR}/c.sock --parallel=8

0 commit comments

Comments
 (0)