Skip to content

Commit 593315b

Browse files
vaidikcodeyurishkuro
andauthoredDec 7, 2024
Run e2e jobs as a single workflow (#6310)
Signed-off-by: vaidikcode <vaidikbhardwaj00@gmail.com> ## Which problem is this PR solving? - Task one of #6278 ## Description of the changes - Integrated all e2e workflows jobs into a single workflow ## How was this change tested? - CI ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [ ] I have added unit tests for the new functionality - [ ] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` --------- Signed-off-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Signed-off-by: Yuri Shkuro <github@ysh.us> Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Co-authored-by: Yuri Shkuro <github@ysh.us>
1 parent 526d36c commit 593315b

8 files changed

+57
-43
lines changed
 

‎.github/workflows/ci-e2e-all.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: E2E Tests
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
pull_request:
8+
branches: [main]
9+
10+
concurrency:
11+
group: combined-cit-${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
12+
cancel-in-progress: true
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
badger:
19+
uses: ./.github/workflows/ci-e2e-badger.yaml
20+
21+
cassandra:
22+
uses: ./.github/workflows/ci-e2e-cassandra.yml
23+
24+
elasticsearch:
25+
uses: ./.github/workflows/ci-e2e-elasticsearch.yml
26+
27+
grpc:
28+
uses: ./.github/workflows/ci-e2e-grpc.yml
29+
30+
kafka:
31+
uses: ./.github/workflows/ci-e2e-kafka.yml
32+
33+
memory:
34+
uses: ./.github/workflows/ci-e2e-memory.yaml
35+
36+
opensearch:
37+
uses: ./.github/workflows/ci-e2e-opensearch.yml
38+
39+
40+
41+
42+

‎.github/workflows/ci-e2e-badger.yaml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: CIT Badger
22

33
on:
4-
push:
5-
branches: [main]
6-
7-
pull_request:
8-
branches: [main]
4+
workflow_call:
95

106
concurrency:
11-
group: ${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
7+
group: cit-badger-${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
128
cancel-in-progress: true
139

1410
# See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

‎.github/workflows/ci-e2e-cassandra.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: CIT Cassandra
22

33
on:
4-
push:
5-
branches: [main]
6-
7-
pull_request:
8-
branches: [main]
4+
workflow_call:
95

106
concurrency:
11-
group: ${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
7+
group: cit-cassandra-${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
128
cancel-in-progress: true
139

1410
# See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

‎.github/workflows/ci-e2e-elasticsearch.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: CIT Elasticsearch
22

33
on:
4-
push:
5-
branches: [main]
6-
7-
pull_request:
8-
branches: [main]
4+
workflow_call:
95

106
concurrency:
11-
group: ${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
7+
group: cit-elasticsearch-${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
128
cancel-in-progress: true
139

1410
# See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

‎.github/workflows/ci-e2e-grpc.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: CIT gRPC
22

33
on:
4-
push:
5-
branches: [main]
6-
7-
pull_request:
8-
branches: [main]
4+
workflow_call:
95

106
concurrency:
11-
group: ${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
7+
group: cit-grpc-${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
128
cancel-in-progress: true
139

1410
# See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

‎.github/workflows/ci-e2e-kafka.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: CIT Kafka
22

33
on:
4-
push:
5-
branches: [main]
6-
7-
pull_request:
8-
branches: [main]
4+
workflow_call:
95

106
concurrency:
11-
group: ${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
7+
group: cit-kafka-${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
128
cancel-in-progress: true
139

1410
# See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
@@ -22,7 +18,7 @@ jobs:
2218
fail-fast: false
2319
matrix:
2420
jaeger-version: [v1, v2] # Adjust if there are specific versions of Jaeger
25-
name: Kafka Integration Tests ${{ matrix.jaeger-version }}
21+
name: kafka ${{ matrix.jaeger-version }}
2622
steps:
2723
- name: Harden Runner
2824
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1

‎.github/workflows/ci-e2e-memory.yaml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: CIT Memory
22

33
on:
4-
push:
5-
branches: [main]
6-
7-
pull_request:
8-
branches: [main]
4+
workflow_call:
95

106
concurrency:
11-
group: ${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
7+
group: cit-memory-${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
128
cancel-in-progress: true
139

1410
# See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

‎.github/workflows/ci-e2e-opensearch.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: CIT OpenSearch
22

33
on:
4-
push:
5-
branches: [main]
6-
7-
pull_request:
8-
branches: [main]
4+
workflow_call:
95

106
concurrency:
11-
group: ${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
7+
group: cit-opensearch-${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
128
cancel-in-progress: true
139

1410
# See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

0 commit comments

Comments
 (0)
Failed to load comments.