revert: Update CI versions of containerd since protos are being updated
This commit is contained in:
parent
cbc7aeed00
commit
7e35afe8b5
|
|
@ -19,10 +19,10 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: ./scripts/install-protobuf.sh
|
- run: ./scripts/install-protobuf.sh
|
||||||
- run: cargo check --examples --tests -p containerd-shim -p containerd-shim-protos
|
- run: cargo check --examples --tests -p containerd-shim -p containerd-shim-protos
|
||||||
|
|
||||||
- run: rustup toolchain install nightly --component rustfmt
|
- run: rustup toolchain install nightly --component rustfmt
|
||||||
- run: cargo +nightly fmt -p containerd-shim -p containerd-shim-protos -- --check --files-with-diff
|
- run: cargo +nightly fmt -p containerd-shim -p containerd-shim-protos -- --check --files-with-diff
|
||||||
|
|
||||||
- run: cargo clippy -p containerd-shim -p containerd-shim-protos -- -D warnings
|
- run: cargo clippy -p containerd-shim -p containerd-shim-protos -- -D warnings
|
||||||
- run: cargo doc --no-deps -p containerd-shim -p containerd-shim-protos
|
- run: cargo doc --no-deps -p containerd-shim -p containerd-shim-protos
|
||||||
env:
|
env:
|
||||||
|
|
@ -52,7 +52,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [windows-latest]
|
os: [windows-latest]
|
||||||
containerd: [1.7.6]
|
containerd: [1.7.0]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout extensions
|
- name: Checkout extensions
|
||||||
|
|
@ -62,7 +62,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
# Install containerd https://github.com/containerd/containerd/blob/v1.7.6/docs/getting-started.md#installing-containerd-on-windows
|
# Install containerd https://github.com/containerd/containerd/blob/v1.7.0/docs/getting-started.md#installing-containerd-on-windows
|
||||||
# Download and extract desired containerd Windows binaries
|
# Download and extract desired containerd Windows binaries
|
||||||
curl.exe -L https://github.com/containerd/containerd/releases/download/v${{ matrix.containerd }}/containerd-${{ matrix.containerd }}-windows-amd64.tar.gz -o containerd-windows-amd64.tar.gz
|
curl.exe -L https://github.com/containerd/containerd/releases/download/v${{ matrix.containerd }}/containerd-${{ matrix.containerd }}-windows-amd64.tar.gz -o containerd-windows-amd64.tar.gz
|
||||||
tar.exe xvf .\containerd-windows-amd64.tar.gz
|
tar.exe xvf .\containerd-windows-amd64.tar.gz
|
||||||
|
|
@ -87,11 +87,11 @@ jobs:
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
get-service containerd
|
get-service containerd
|
||||||
$env:TTRPC_ADDRESS="\\.\pipe\containerd-containerd.ttrpc"
|
$env:TTRPC_ADDRESS="\\.\pipe\containerd-containerd.ttrpc"
|
||||||
|
|
||||||
# run the example
|
# run the example
|
||||||
cargo run -p containerd-shim --example skeleton -- -namespace default -id 1234 -address "\\.\pipe\containerd-containerd" -publish-binary ./bin/containerd start
|
cargo run -p containerd-shim --example skeleton -- -namespace default -id 1234 -address "\\.\pipe\containerd-containerd" -publish-binary ./bin/containerd start
|
||||||
ps skeleton
|
ps skeleton
|
||||||
cargo run -p containerd-shim-protos --example shim-proto-connect \\.\pipe\containerd-shim-17630016127144989388-pipe
|
cargo run -p containerd-shim-protos --example shim-proto-connect \\.\pipe\containerd-shim-17630016127144989388-pipe
|
||||||
$skeleton = get-process skeleton -ErrorAction SilentlyContinue
|
$skeleton = get-process skeleton -ErrorAction SilentlyContinue
|
||||||
if ($skeleton) { exit 1 }
|
if ($skeleton) { exit 1 }
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-20.04, ubuntu-22.04]
|
os: [ubuntu-20.04, ubuntu-22.04]
|
||||||
containerd: [v1.6.24, v1.7.6]
|
containerd: [v1.6.21, v1.7.1]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout extensions
|
- name: Checkout extensions
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue