-
Notifications
You must be signed in to change notification settings - Fork 589
77 lines (75 loc) · 2.77 KB
/
e2e-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: e2e-tests
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
# OpenSearch version 1.x.x
PyPi-plaso-stable-opensearch-v1:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-20.04, 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: 1.3.10
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
PyPi-plaso-staging-opensearch-v1:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-20.04, 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: 1.3.10
PLASO_PPA_TRACK: staging
- 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
# OpenSearch version 2.x.x
PyPi-plaso-stable-opensearch-v2:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-20.04, 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.15.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
PyPi-plaso-staging-opensearch-v2:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-20.04, 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.15.0
PLASO_PPA_TRACK: staging
- 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