test(plugin): version-by-version plugin test framework + CAP scenario (closes #565) #15
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 | |
| # Builds the .NET 8 / .NET 10 demo services (agent from source), boots a pinned | |
| # SkyWalking OAP + BanyanDB, and verifies trace/log/metric reached OAP. | |
| # | |
| # Runs on any change that could affect code or packaging — and SKIPS only pure | |
| # docs/website and CI-config changes. This is a deny-list (paths-ignore) on | |
| # purpose: any new code/build path triggers e2e automatically, which is safer | |
| # than an allow-list that silently misses things (e.g. build/** previously did). | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'content/**' | |
| - 'themes/**' | |
| - 'i18n/**' | |
| - 'layouts/**' | |
| - 'static/**' | |
| - 'hugo.toml' | |
| - 'LICENSE' | |
| - '.github/workflows/docs.yml' | |
| - '.github/workflows/release.yml' | |
| - '.github/workflows/net-ci-it.yml' | |
| pull_request: | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'content/**' | |
| - 'themes/**' | |
| - 'i18n/**' | |
| - 'layouts/**' | |
| - 'static/**' | |
| - 'hugo.toml' | |
| - 'LICENSE' | |
| - '.github/workflows/docs.yml' | |
| - '.github/workflows/release.yml' | |
| - '.github/workflows/net-ci-it.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| e2e: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 35 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive # protocol-v3 is needed to build the agent in the demo image | |
| fetch-depth: 0 | |
| - name: Run end-to-end test (OAP + BanyanDB + net8/net10 demos) | |
| env: | |
| SKIP_CLEANUP: "1" # let the steps below collect logs / tear down | |
| run: bash test/e2e/run.sh | |
| - name: Dump container logs on failure | |
| if: failure() | |
| run: docker compose -f test/e2e/docker-compose.yml logs --tail=200 || true | |
| - name: Tear down | |
| if: always() | |
| run: docker compose -f test/e2e/docker-compose.yml down -v || true |