build(deps): bump github.com/go-logr/logr from 1.2.3 to 1.4.2 #338
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: integration | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
- release-* | |
pull_request: | |
env: | |
GO_VERSION: '1.19' | |
permissions: | |
contents: read | |
jobs: | |
critest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: go-integration-${{ hashFiles('**/go.sum') }} | |
restore-keys: go-integration- | |
- run: scripts/github-actions-packages | |
- run: scripts/github-actions-setup | |
- run: make all test-binaries | |
- run: sudo -E test/test_runner.sh critest.bats | |
env: | |
JOBS: '1' | |
RUN_CRITEST: '1' | |
critest-conmonrs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: go-integration-${{ hashFiles('**/go.sum') }} | |
restore-keys: go-integration- | |
- uses: sigstore/cosign-installer@v2 | |
- run: scripts/github-actions-packages | |
- run: scripts/github-actions-setup | |
- run: make all test-binaries | |
- run: sudo -E test/test_runner.sh critest.bats | |
env: | |
JOBS: '1' | |
RUN_CRITEST: '1' | |
RUNTIME_TYPE: pod | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: go-integration-${{ hashFiles('**/go.sum') }} | |
restore-keys: go-integration- | |
- run: scripts/github-actions-packages | |
- run: scripts/github-actions-setup | |
- run: make all test-binaries | |
- run: sudo -E test/test_runner.sh | |
env: | |
JOBS: '2' | |
test-cgroupfs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: go-integration-${{ hashFiles('**/go.sum') }} | |
restore-keys: go-integration- | |
- run: scripts/github-actions-packages | |
- run: scripts/github-actions-setup | |
- run: make all test-binaries | |
- run: sed -i 's/\.slice//g' test/testdata/*.json | |
- run: sudo -E test/test_runner.sh | |
env: | |
JOBS: '2' | |
CONTAINER_CGROUP_MANAGER: cgroupfs | |
CONTAINER_CONMON_CGROUP: pod | |
test-userns: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: go-integration-${{ hashFiles('**/go.sum') }} | |
restore-keys: go-integration- | |
- run: scripts/github-actions-packages | |
- run: scripts/github-actions-setup | |
- run: make all test-binaries | |
- run: sudo -E test/test_runner.sh | |
env: | |
JOBS: '2' | |
TEST_USERNS: '1' | |
test-conmonrs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: go-integration-${{ hashFiles('**/go.sum') }} | |
restore-keys: go-integration- | |
- uses: sigstore/cosign-installer@v2 | |
- run: scripts/github-actions-packages | |
- run: scripts/github-actions-setup | |
- run: make all test-binaries | |
- run: sudo -E test/test_runner.sh | |
env: | |
JOBS: '2' | |
RUNTIME_TYPE: pod |