Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add github action for jaeger integration tests #2649

Merged
merged 3 commits into from
Nov 27, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/cassandra-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Cassandra Integration Tests
Ashmita152 marked this conversation as resolved.
Show resolved Hide resolved

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
cassandra:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Setup go env
Ashmita152 marked this conversation as resolved.
Show resolved Hide resolved
uses: actions/setup-go@v2
with:
go-version: ^1.15

- name: Run cassandra integration tests
run: bash scripts/travis/cassandra-integration-test.sh
22 changes: 22 additions & 0 deletions .github/workflows/es-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Elasticsearch Integration Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
elasticsearch:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Setup go env
uses: actions/setup-go@v2
with:
go-version: ^1.15

- name: Run elasticsearch integration tests
run: bash scripts/travis/es-integration-test.sh
22 changes: 22 additions & 0 deletions .github/workflows/kafka-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Kafka Integration Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
kafka:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Setup go env
uses: actions/setup-go@v2
with:
go-version: ^1.15

- name: Run kafka integration tests
run: bash scripts/travis/kafka-integration-test.sh
22 changes: 22 additions & 0 deletions .github/workflows/memory-badger-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Memory and Badger Integration Tests
Ashmita152 marked this conversation as resolved.
Show resolved Hide resolved

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
memory-badger:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Setup go env
uses: actions/setup-go@v2
with:
go-version: ^1.15

- name: Run in-memory and badger integration tests
run: make mem-and-badger-storage-integration-test
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ es-otel-exporter-integration-test: go-gen

.PHONY: test-compile-es-scripts
test-compile-es-scripts:
docker run --rm -it -v ${PWD}:/tmp/jaeger python:3-alpine /usr/local/bin/python -m py_compile /tmp/jaeger/plugin/storage/es/esRollover.py
docker run --rm -it -v ${PWD}:/tmp/jaeger python:3-alpine /usr/local/bin/python -m py_compile /tmp/jaeger/plugin/storage/es/esCleaner.py
docker run --rm -v ${PWD}:/tmp/jaeger python:3-alpine /usr/local/bin/python -m py_compile /tmp/jaeger/plugin/storage/es/esRollover.py
docker run --rm -v ${PWD}:/tmp/jaeger python:3-alpine /usr/local/bin/python -m py_compile /tmp/jaeger/plugin/storage/es/esCleaner.py

.PHONY: index-cleaner-integration-test
index-cleaner-integration-test: docker-images-elastic
Expand Down