This repository has been archived by the owner on Sep 28, 2023. It is now read-only.
build(deps): bump cachix/install-nix-action from 19 to 23 #23
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-v1-${{ hashFiles('**/go.sum') }} | |
restore-keys: go-integration-v1- | |
- 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-v1-${{ hashFiles('**/go.sum') }} | |
restore-keys: go-integration-v1- | |
- uses: sigstore/cosign-installer@v3 | |
- 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-v1-${{ hashFiles('**/go.sum') }} | |
restore-keys: go-integration-v1- | |
- 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-20.04 | |
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-v1-${{ hashFiles('**/go.sum') }} | |
restore-keys: go-integration-v1- | |
- 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-v1-${{ hashFiles('**/go.sum') }} | |
restore-keys: go-integration-v1- | |
- 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-v1-${{ hashFiles('**/go.sum') }} | |
restore-keys: go-integration-v1- | |
- uses: sigstore/cosign-installer@v3 | |
- 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 |