-
Notifications
You must be signed in to change notification settings - Fork 127
53 lines (52 loc) · 1.5 KB
/
integration.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: integration
on:
push:
tags:
- v*
branches:
- master
pull_request:
jobs:
conmon:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- uses: actions/checkout@v3
- uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: go-integration-conmon-${{ hashFiles('**/go.mod') }}
restore-keys: go-integration-conmon-
- run: hack/github-actions-setup
- name: Run conmon integration tests
run: |
sudo make vendor
sudo mkdir -p /var/run/crio
sudo make test-binary
cri-o:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- uses: actions/checkout@v3
- uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: go-integration-cri-o-${{ hashFiles('**/go.mod') }}
restore-keys: go-integration-cri-o-
- run: hack/github-actions-setup
- name: Run CRI-O integration tests
run: |
cd $(go env GOPATH)/src/github.com/cri-o/cri-o
make all test-binaries
# skip seccomp tests because they have permission denied issues in a container and accept signed image as they don't use conmon
sudo -E test/test_runner.sh $(ls test/ | grep bats | grep -E -v seccomp\|image\|policy)
env:
JOBS: '2'