Skip to content

Add --pull-timeout flag to crictl create, run and pull commands #2211

Add --pull-timeout flag to crictl create, run and pull commands

Add --pull-timeout flag to crictl create, run and pull commands #2211

Workflow file for this run

name: cri-tools e2e test
on:
push:
tags:
- "*"
branches:
- master
pull_request:
jobs:
test-e2e:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: false
- name: Set env
shell: bash
run: |
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Cache go modules and build cache
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
'%LocalAppData%\go-build' # Windows
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Checkout
uses: actions/checkout@v4
with:
path: src/github.com/kubernetes-sigs/cri-tools
- name: Cache go modules and build cache
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
'%LocalAppData%\go-build' # Windows
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Run e2e test
run: |
sudo apt-get update &&\
sudo apt-get install -y \
conntrack \
libseccomp-dev \
libgpgme-dev
VERSION=v1.0.1 &&\
sudo mkdir -p /opt/cni/bin &&\
sudo wget -qO- https://github.com/containernetworking/plugins/releases/download/$VERSION/cni-plugins-linux-amd64-$VERSION.tgz \
| sudo tar xfz - -C /opt/cni/bin &&\
ls -lah /opt/cni/bin
VERSION=v1.1.0 &&\
sudo wget -q -O \
/usr/bin/runc \
https://github.com/opencontainers/runc/releases/download/$VERSION/runc.amd64 &&\
sudo chmod +x /usr/bin/runc &&\
runc --version
sudo -E PATH=$PATH make all install test-e2e TESTFLAGS=-v
working-directory: src/github.com/kubernetes-sigs/cri-tools