chore(gradle): bump ch.qos.logback:logback-classic from 1.5.12 to 1.5.32 in /control-plane #36
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ["v*"] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: "-D warnings" | |
| RUST_BACKTRACE: short | |
| jobs: | |
| rust: | |
| name: Rust (fmt + clippy + test) | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 90 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Free up disk space | |
| uses: jlumbroso/free-disk-space@main | |
| with: | |
| tool-cache: false | |
| android: true | |
| dotnet: true | |
| haskell: true | |
| large-packages: false | |
| swap-storage: false | |
| docker-images: true | |
| - name: System deps (rocksdb / clang / cmake) | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends \ | |
| build-essential clang libclang-dev llvm-dev \ | |
| libssl-dev pkg-config cmake | |
| - name: Install protoc | |
| uses: arduino/setup-protoc@v3 | |
| with: | |
| version: "25.x" | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| shared-key: rust-v1 | |
| cache-on-failure: true | |
| - name: fmt | |
| run: cargo fmt --all -- --check | |
| - name: clippy | |
| run: cargo clippy --workspace --all-targets -- -D warnings | |
| - name: test | |
| run: cargo test --workspace --tests --no-fail-fast -- --test-threads=1 | |
| kotlin: | |
| name: Kotlin (detekt + test + kover) | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 40 | |
| defaults: | |
| run: | |
| working-directory: control-plane | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "21" | |
| - uses: gradle/actions/setup-gradle@v4 | |
| - name: detekt | |
| run: ./gradlew detekt --no-daemon | |
| - name: build + test | |
| run: ./gradlew build --no-daemon | |
| - name: kover report (>= 60%) | |
| run: ./gradlew koverXmlReport koverVerify --no-daemon | |
| - name: Upload detekt + kover reports | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: kotlin-reports | |
| path: | | |
| control-plane/**/build/reports/detekt/ | |
| control-plane/**/build/reports/kover/ | |
| docs: | |
| name: Docs (cargo doc + dokka) | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 40 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: System deps | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends \ | |
| build-essential clang libclang-dev llvm-dev \ | |
| libssl-dev pkg-config cmake | |
| - name: Install protoc | |
| uses: arduino/setup-protoc@v3 | |
| with: | |
| version: "25.x" | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| shared-key: rust-v1 | |
| cache-on-failure: true | |
| - name: cargo doc (-D warnings) | |
| env: | |
| RUSTDOCFLAGS: "-D warnings" | |
| run: cargo doc --workspace --no-deps --all-features | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "21" | |
| - uses: gradle/actions/setup-gradle@v4 | |
| - name: dokkaHtml | |
| working-directory: control-plane | |
| run: ./gradlew dokkaHtml --no-daemon | |
| e2e-smoke: | |
| name: E2E smoke (docker compose + pytest subset) | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 60 | |
| continue-on-error: true | |
| needs: [rust, kotlin] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: pip install | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r tests/e2e/requirements.txt | |
| - name: Generate dev mTLS PKI bundle | |
| run: ./deploy/scripts/gen-test-pki.sh | |
| - name: docker compose up (smoke subset) | |
| run: docker compose -f deploy/docker-compose.yml up -d --build --wait | |
| - name: pytest smoke | |
| env: | |
| RHIZOME_E2E_EXTERNAL: "1" | |
| RHIZOME_E2E_SKIP_BUILD: "1" | |
| run: | | |
| pytest -q \ | |
| tests/e2e/test_crud.py \ | |
| tests/e2e/test_consistency.py \ | |
| tests/e2e/test_traversal.py \ | |
| tests/e2e/test_isolation_levels.py \ | |
| tests/e2e/test_lock_aware_traverse.py \ | |
| tests/e2e/test_cursor_pagination_race.py | |
| - name: docker compose logs (on failure) | |
| if: failure() | |
| run: docker compose -f deploy/docker-compose.yml logs --tail 200 | |
| - name: docker compose down | |
| if: always() | |
| run: docker compose -f deploy/docker-compose.yml down -v |