meshtls: use published rustls-webpki
v0.101.5
#1888
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
# Runs tests that complete relatively quickly. | |
name: test | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
paths: | |
- Cargo.lock | |
- "**/Cargo.toml" | |
- "**/*.rs" | |
- justfile | |
- .github/workflows/test.yml | |
env: | |
CARGO_INCREMENTAL: 0 | |
CARGO_NET_RETRY: 10 | |
RUSTFLAGS: "-D warnings -A deprecated" | |
RUSTUP_MAX_RETRIES: 10 | |
jobs: | |
# Test the meshtls backends. | |
meshtls: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
container: ghcr.io/linkerd/dev:v40-rust | |
steps: | |
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 | |
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033 | |
- run: just fetch | |
- run: just clippy-crate linkerd-meshtls --no-default-features --features=boring,rustls | |
- run: | | |
just test-crate linkerd-meshtls --no-default-features --features=boring,rustls --no-run \ | |
--package=linkerd-meshtls-boring \ | |
--package=linkerd-meshtls-rustls | |
- run: | | |
just test-crate linkerd-meshtls --no-default-features --features=boring,rustls \ | |
--package=linkerd-meshtls-boring \ | |
--package=linkerd-meshtls-rustls | |
# Run non-integration tests. This should be quick. | |
unit: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
container: ghcr.io/linkerd/dev:v40-rust | |
steps: | |
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 | |
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033 | |
- run: just fetch | |
- run: | | |
just test-build \ | |
--exclude=linkerd-app \ | |
--exclude=linkerd-app-admin \ | |
--exclude=linkerd-app-core \ | |
--exclude=linkerd-app-gateway \ | |
--exclude=linkerd-app-inbound \ | |
--exclude=linkerd-app-integration \ | |
--exclude=linkerd-app-outbound \ | |
--exclude=linkerd-app-test \ | |
--exclude=linkerd-meshtls \ | |
--exclude=linkerd-meshtls-boring \ | |
--exclude=linkerd-meshtls-rustls \ | |
--exclude=linkerd2-proxy | |
- run: | | |
just test \ | |
--exclude=linkerd-app \ | |
--exclude=linkerd-app-admin \ | |
--exclude=linkerd-app-core \ | |
--exclude=linkerd-app-gateway \ | |
--exclude=linkerd-app-inbound \ | |
--exclude=linkerd-app-integration \ | |
--exclude=linkerd-app-outbound \ | |
--exclude=linkerd-app-test \ | |
--exclude=linkerd-meshtls \ | |
--exclude=linkerd-meshtls-boring \ | |
--exclude=linkerd-meshtls-rustls \ | |
--exclude=linkerd2-proxy |