show how to use opid to trace logs #1896
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 Test | |
| on: | |
| workflow_dispatch: {} | |
| pull_request: | |
| branches: | |
| - main | |
| env: | |
| GO_VERSION: '1.24' | |
| GO_REQUIRED_MIN_VERSION: '' | |
| permissions: | |
| contents: read | |
| jobs: | |
| verify: | |
| name: verify | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: checkout code | |
| uses: actions/checkout@v4 | |
| - name: install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - name: verify | |
| run: make verify | |
| e2e: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Check initial disk usage | |
| run: df -h / | |
| - name: Free disk space (optional cleanup) | |
| run: | | |
| sudo rm -rf /usr/local/lib/android | |
| sudo rm -rf /opt/hostedtoolcache | |
| docker system prune -af | |
| df -h / | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - name: install ginkgo | |
| run: go install github.com/onsi/ginkgo/v2/ginkgo@v2.15.0 | |
| - name: Test E2E | |
| run: | | |
| make e2e-test | |
| env: | |
| container_tool: docker | |
| SERVER_REPLICAS: 2 | |
| ENABLE_MAESTRO_TLS: true | |
| e2e-broadcast-subscription: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Check initial disk usage | |
| run: df -h / | |
| - name: Free disk space (optional cleanup) | |
| run: | | |
| sudo rm -rf /usr/local/lib/android | |
| sudo rm -rf /opt/hostedtoolcache | |
| docker system prune -af | |
| df -h / | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - name: install ginkgo | |
| run: go install github.com/onsi/ginkgo/v2/ginkgo@v2.15.0 | |
| - name: Test E2E | |
| run: | | |
| make e2e-test | |
| env: | |
| container_tool: docker | |
| SERVER_REPLICAS: 3 | |
| ENABLE_BROADCAST_SUBSCRIPTION: true | |
| e2e-with-istio: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Check initial disk usage | |
| run: df -h / | |
| - name: Free disk space (optional cleanup) | |
| run: | | |
| sudo rm -rf /usr/local/lib/android | |
| sudo rm -rf /opt/hostedtoolcache | |
| docker system prune -af | |
| df -h / | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - name: Test E2E | |
| run: | | |
| make e2e-test/istio | |
| env: | |
| container_tool: docker | |
| ENABLE_ISTIO: true | |
| e2e-grpc-broker: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Check initial disk usage | |
| run: df -h / | |
| - name: Free disk space (optional cleanup) | |
| run: | | |
| sudo rm -rf /usr/local/lib/android | |
| sudo rm -rf /opt/hostedtoolcache | |
| docker system prune -af | |
| df -h / | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - name: install ginkgo | |
| run: go install github.com/onsi/ginkgo/v2/ginkgo@v2.15.0 | |
| - name: Test E2E | |
| run: | | |
| make e2e-test | |
| env: | |
| container_tool: docker | |
| SERVER_REPLICAS: 2 | |
| MESSAGE_DRIVER_TYPE: grpc | |
| ENABLE_MAESTRO_TLS: true | |
| upgrade: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Check initial disk usage | |
| run: df -h / | |
| - name: Free disk space (optional cleanup) | |
| run: | | |
| sudo rm -rf /usr/local/lib/android | |
| sudo rm -rf /opt/hostedtoolcache | |
| docker system prune -af | |
| df -h / | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - name: install ginkgo | |
| run: go install github.com/onsi/ginkgo/v2/ginkgo@v2.15.0 | |
| - name: Test E2E | |
| run: | | |
| make upgrade-test | |
| env: | |
| container_tool: docker | |
| ENABLE_ISTIO: true |