Skip to content

Update gateway types to v1 #93

Update gateway types to v1

Update gateway types to v1 #93

Workflow file for this run

name: integration
on:
pull_request:
paths:
- Cargo.toml
- '**/*.rs'
- .github/workflows/integration.yml
permissions:
contents: read
env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
RUST_VERSION: 1.64.0
K3D_VERSION: v5.4.6
K3D_CREATE_FLAGS: '--no-lb'
K3S_DISABLE: 'local-storage,traefik,servicelb,metrics-server@server:*'
NEXTEST_VERSION: '0.9.42'
jobs:
test:
strategy:
matrix:
k8s:
- v1.21
- v1.25
- v1.26
- v1.27
timeout-minutes: 10
runs-on: ubuntu-latest
env:
K8S_CHANNEL: ${{ matrix.k8s }}
steps:
# Install just* tooling
- uses: linkerd/dev/actions/setup-tools@v39
# Configure the default Rust toolchain
- uses: linkerd/dev/actions/setup-rust@v39
# Setup a cluster
- run: curl --proto =https --tlsv1.3 -fLsSv "https://raw.githubusercontent.com/k3d-io/k3d/${K3D_VERSION}/install.sh" | bash
- run: k3d --version
- run: just-k3d create
- run: kubectl version
# Install CRDs
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
with:
repository: kubernetes-sigs/gateway-api
ref: a0684982eddeb0360e215e0de322c3210ac49bb9 # v1.0.0
path: gateway-api
- run: kubectl apply -k gateway-api/config/crd/experimental/
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
# Run tests
- run: just fetch
- run: just test-build --package=integration
- run: just test --package=integration