File: integration.yml

package info (click to toggle)
conmon 2.1.6%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 628 kB
  • sloc: ansic: 3,217; sh: 254; makefile: 136
file content (124 lines) | stat: -rw-r--r-- 3,718 bytes parent folder | download
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
name: integration
on:
  push:
    tags:
      - v*
    branches:
      - master
  pull_request:
jobs:
  kubernetes-e2e:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-go@v2
        with:
          go-version: '1.20'
      - uses: actions/checkout@v2
      - uses: actions/cache@v2
        with:
          path: |
            ~/go/pkg/mod
            ~/.cache/go-build
          key: go-integration-kubernetes-e2e-${{ hashFiles('**/go.mod') }}
          restore-keys: go-integration-kubernetes-e2e-
      - run: hack/github-actions-setup
      - run: sudo hack/kubernetes-e2e

  conmon:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-go@v2
        with:
          go-version: '1.20'
      - uses: actions/checkout@v2
      - uses: actions/cache@v2
        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@v2
        with:
          go-version: '1.20'
      - uses: actions/checkout@v2
      - uses: actions/cache@v2
        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
          sudo -E test/test_runner.sh $(ls test/ | grep bats | grep -v seccomp)
        env:
          JOBS: '2'

  podman:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-go@v2
        with:
          go-version: '1.20'
      - uses: actions/checkout@v2
      - uses: actions/cache@v2
        with:
          path: |
            ~/go/pkg/mod
            ~/.cache/go-build
          key: go-integration-podman-${{ hashFiles('**/go.mod') }}
          restore-keys: go-integration-podman-
      - run: hack/github-actions-setup
      - run: |
          # https://github.com/actions/setup-go/issues/107
          cp -f `which go` /usr/bin/go

      - name: Run Podman integration tests
        run: |
          git clone https://github.com/containers/podman
          cd podman
          make
          sudo -E ACK_GINKGO_DEPRECATIONS=2.1.4 ginkgo \
            -skip 'run.apparmor.disabled|image.trust.show.--json|run.network.bind.to.HostIP' \
            -noColor \
            -v test/e2e/.

  podman-system:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-go@v2
        with:
          go-version: '1.20'
      - uses: actions/checkout@v2
      - uses: actions/cache@v2
        with:
          path: |
            ~/go/pkg/mod
            ~/.cache/go-build
          key: go-integration-podman-system-${{ hashFiles('**/go.mod') }}
          restore-keys: go-integration-podman-system-
      - run: hack/github-actions-setup
      - name: Run Podman system tests
        run: |
          # https://github.com/actions/setup-go/issues/107
          export PATH=${GOROOT}/bin:$PATH
          git clone https://github.com/containers/podman
          cd podman
          make bin/podman bin/rootlessport
          sudo mkdir -p /usr/local/libexec/podman && sudo cp bin/rootlessport /usr/local/libexec/podman
          sudo -E make localsystem