Add XDP integration test #3
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
name: xdp-integration-test | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
xdp-integration: | |
runs-on: ubuntu-24.04 | |
# env: | |
# CLUSTER_DESIRED: xdp-integ | |
# CLUSTER: kind-xdp-integ | |
# SERVER_PORT: "8078" | |
# REGISTRY_PORT: "5001" | |
# REGISTRY_NAME: registry | |
steps: | |
- uses: actions/checkout@v4 | |
# - name: Create cluster | |
# id: kind | |
# uses: helm/kind-action@v1 | |
# with: | |
# config: .ci/xdp/cluster-config.yaml | |
# cluster_name: ${{ env.CLUSTER_DESIRED }} | |
# registry: true | |
# registry_name: ${{ env.REGISTRY_NAME }} | |
# registry_port: ${{ env.REGISTRY_PORT }} | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Build quilkin | |
run: | | |
cargo fetch --target x86_64-unknown-linux-gnu | |
cargo build -p quilkin --bin quilkin | |
- name: Run XDP integration test | |
run: .ci/xdp/veth-integ-test.sh |