docs(site): bring the docs site up to the 0.10.0 surface #117
Workflow file for this run
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: E2E | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 9 * * 1" | |
| jobs: | |
| e2e: | |
| name: Controller E2E | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| env: | |
| UNIFLY_E2E_TIMEOUT_SECS: "300" | |
| UNIFLY_E2E_API_KEY: ${{ secrets.UNIFLY_E2E_API_KEY }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Start controller | |
| run: docker compose -f tests/e2e/docker-compose.yml up -d | |
| - name: Install system dependencies | |
| run: sudo apt-get update && sudo apt-get install -y libdbus-1-dev pkg-config lld | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: taiki-e/install-action@just | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| cache-on-failure: true | |
| - name: Build e2e test binary | |
| run: just e2e-build | |
| - name: Wait for controller readiness | |
| run: just e2e-wait | |
| - name: Run e2e tests | |
| run: just e2e-test | |
| - name: Capture controller logs | |
| if: failure() | |
| run: docker compose -f tests/e2e/docker-compose.yml logs > tests/e2e/controller.log | |
| - name: Upload controller logs | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: e2e-controller-logs | |
| path: tests/e2e/controller.log | |
| if-no-files-found: ignore | |
| - name: Tear down controller | |
| if: always() | |
| run: just e2e-down |