update:fix update pids-limit=0 error #1610
Workflow file for this run
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
# This pipeline purpose is solely meant to run a subset of our test suites against a kubernetes cluster | |
name: kubernetes | |
on: | |
push: | |
branches: | |
- main | |
- 'release/**' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
linux: | |
runs-on: "ubuntu-24.04" | |
timeout-minutes: 40 | |
env: | |
ROOTFUL: true | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 1 | |
- name: "Run Kubernetes integration tests" | |
# See https://github.com/containerd/nerdctl/blob/main/docs/testing/README.md#about-parallelization | |
run: | | |
./hack/build-integration-kubernetes.sh | |
sudo ./_output/nerdctl exec nerdctl-test-control-plane bash -c -- 'export TMPDIR="$HOME"/tmp; mkdir -p "$TMPDIR"; cd /nerdctl-source; /usr/local/go/bin/go test -p 1 ./cmd/nerdctl/... -test.only-kubernetes' |