Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin committed Apr 10, 2023
1 parent e94edf1 commit 6074098
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ jobs:
race: ["-race", ""]
criu: ["", "criu-dev"]
exclude:
- criu: "criu-dev"
rootless: "rootless"
os: "ubuntu-22.04"
go-version: "1.20.x"
- criu: criu-dev
rootless: rootless
- criu: criu-dev
go-version: 1.19.x
- criu: criu-dev
race: -race
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -65,6 +67,7 @@ jobs:
- name: install go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
cache: false # https://github.com/actions/setup-go/issues/368
go-version: ${{ matrix.go-version }}

- name: build
Expand All @@ -84,12 +87,12 @@ jobs:
run: |
sudo useradd -u2000 -m -d/home/rootless -s/bin/bash rootless
# Allow root and rootless itself to execute `ssh rootless@localhost` in tests/rootless.sh
ls -l $GITHUB_WORKSPACE/tests
ssh-keygen -t ecdsa -N "" -f $HOME/rootless.key
sudo mkdir -m 0700 -p /home/rootless/.ssh
sudo cp $HOME/rootless.key /home/rootless/.ssh/id_ecdsa
sudo cp $HOME/rootless.key.pub /home/rootless/.ssh/authorized_keys
sudo chown -R rootless.rootless /home/rootless
sudo chmod a+X /home/runner # for Ubuntu 22.04
- name: integration test (fs driver)
run: sudo -E PATH="$PATH" script -e -c 'make local${{ matrix.rootless }}integration'
Expand Down

0 comments on commit 6074098

Please sign in to comment.