Add changes to fix compatibility with Elastic serverless data streams… #285
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: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| PyPi-plaso-stable-opensearch-v2: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| os: [ubuntu-22.04] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up infrastructure with docker compose | |
| run: docker compose -f docker/e2e/docker-compose.yml up -d | |
| env: | |
| OPENSEARCH_VERSION: 2.19.0 | |
| PLASO_PPA_TRACK: stable | |
| - name: Run e2e tests | |
| run: 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 |