File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ jobs:
28
28
race : ["-race", ""]
29
29
criu : ["", "criu-dev"]
30
30
exclude :
31
- - criu : " criu-dev"
32
- rootless : " rootless"
33
- os : " ubuntu-22.04 "
34
- go-version : " 1.20.x "
31
+ - criu : criu-dev
32
+ rootless : rootless
33
+ - criu : criu-dev
34
+ go-version : 1.19.x
35
35
runs-on : ${{ matrix.os }}
36
36
37
37
steps :
@@ -84,12 +84,15 @@ jobs:
84
84
run : |
85
85
sudo useradd -u2000 -m -d/home/rootless -s/bin/bash rootless
86
86
# Allow root and rootless itself to execute `ssh rootless@localhost` in tests/rootless.sh
87
- ls -l $GITHUB_WORKSPACE/tests
87
+ x="$GITHUB_WORKSPACE/tests/integration"; while [ "$x" != "/" ]; do ls -ld $x; x=`dirname $x`; done
88
88
ssh-keygen -t ecdsa -N "" -f $HOME/rootless.key
89
89
sudo mkdir -m 0700 -p /home/rootless/.ssh
90
90
sudo cp $HOME/rootless.key /home/rootless/.ssh/id_ecdsa
91
91
sudo cp $HOME/rootless.key.pub /home/rootless/.ssh/authorized_keys
92
92
sudo chown -R rootless.rootless /home/rootless
93
+ set -x
94
+ sudo -HE -u rootless PATH="$PATH" -s "cd $GITHUB_WORKSPACE" || true
95
+ sudo -HE -u rootless PATH="$PATH" -s "cd $GITHUB_WORKSPACE/tests" || true
93
96
94
97
- name : integration test (fs driver)
95
98
run : sudo -E PATH="$PATH" script -e -c 'make local${{ matrix.rootless }}integration'
Original file line number Diff line number Diff line change @@ -58,12 +58,16 @@ endif
58
58
.DEFAULT : runc
59
59
60
60
runc :
61
+ @$(GO ) env
61
62
$(GO_BUILD ) -o runc .
62
63
63
64
all : runc recvtty sd-helper seccompagent
64
65
65
66
recvtty sd-helper seccompagent :
67
+ @$(GO ) version
66
68
$(GO_BUILD ) -o contrib/cmd/$@ /$@ ./contrib/cmd/$@
69
+ ldd ./contrib/cmd/$@ /$@
70
+ ./contrib/cmd/$@ /$@ || true
67
71
68
72
static :
69
73
$(GO_BUILD_STATIC ) -o runc .
You can’t perform that action at this time.
0 commit comments