OIDC Group/Role-Based Access Control and Membership Sync #6020
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-tests | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| paths-ignore: | |
| - 'docs/**' | |
| - '.gitignore' | |
| - 'README.md' | |
| - '*.md' | |
| - 'timesketch/frontend/**' | |
| - 'timesketch/frontend-ng/**' | |
| - 'timesketch/frontend-v3/**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| PyPi-plaso-stable-opensearch-v2-ubuntu2604: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up infrastructure with docker compose | |
| run: docker compose -f docker/e2e/docker-compose.yml up -d --build | |
| env: | |
| UBUNTU_VERSION: 26.04 | |
| OPENSEARCH_VERSION: 2.19.5 | |
| PLASO_PPA_TRACK: stable | |
| - name: Run e2e tests | |
| run: | | |
| docker compose -f docker/e2e/docker-compose.yml exec -T timesketch git config --global --add safe.directory /usr/local/src/timesketch | |
| docker compose -f docker/e2e/docker-compose.yml exec -T timesketch python3 /usr/local/src/timesketch/end_to_end_tests/tools/run_in_container.py | |
| - name: Dump docker logs on failure | |
| if: failure() | |
| uses: jwalton/gh-docker-logs@v2 | |
| PyPi-plaso-staging-opensearch-v2-ubuntu2604: | |
| continue-on-error: true | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up infrastructure with docker compose | |
| run: docker compose -f docker/e2e/docker-compose.yml up -d --build | |
| env: | |
| UBUNTU_VERSION: 26.04 | |
| OPENSEARCH_VERSION: 2.19.5 | |
| PLASO_PPA_TRACK: staging | |
| - name: Run e2e tests | |
| run: | | |
| docker compose -f docker/e2e/docker-compose.yml exec -T timesketch git config --global --add safe.directory /usr/local/src/timesketch | |
| docker compose -f docker/e2e/docker-compose.yml exec -T timesketch python3 /usr/local/src/timesketch/end_to_end_tests/tools/run_in_container.py | |
| - name: Dump docker logs on failure | |
| if: failure() | |
| uses: jwalton/gh-docker-logs@v2 | |
| PyPi-plaso-stable-opensearch-v2-ubuntu2604-telemetry: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up infrastructure with docker compose (telemetry enabled) | |
| run: docker compose -f docker/e2e/docker-compose.yml --profile telemetry up -d --build | |
| env: | |
| UBUNTU_VERSION: 26.04 | |
| OPENSEARCH_VERSION: 2.19.5 | |
| PLASO_PPA_TRACK: stable | |
| TIMESKETCH_OTEL_MODE: otlp-grpc | |
| - name: Run e2e tests | |
| run: | | |
| docker compose -f docker/e2e/docker-compose.yml exec -T timesketch git config --global --add safe.directory /usr/local/src/timesketch | |
| docker compose -f docker/e2e/docker-compose.yml exec -T timesketch python3 /usr/local/src/timesketch/end_to_end_tests/tools/run_in_container.py telemetry_test | |
| - name: Dump docker logs on failure | |
| if: failure() | |
| uses: jwalton/gh-docker-logs@v2 |