-
Notifications
You must be signed in to change notification settings - Fork 9
116 lines (108 loc) · 3.85 KB
/
Copy pathe2e.yaml
File metadata and controls
116 lines (108 loc) · 3.85 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
name: Java E2E
permissions: {}
on:
push:
branches: ["main"]
pull_request:
branches: ["main", "release-*"]
merge_group:
schedule:
# daily at 2:30 UTC
- cron: "30 2 * * *"
concurrency:
group: java-e2e-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
AWS_DEFAULT_REGION: us-east-1
jobs:
e2e-apache:
strategy:
matrix:
os: [ubuntu-22.04]
java: ["17"]
kafka: ["3.9.1","4.1.1"]
fail-fast: false
runs-on: ${{ matrix.os }}
timeout-minutes: 15
env:
KAFKA_VERSION: ${{ matrix.kafka }}
COMPOSE_FILE: "e2e/docker_compose.yaml"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@ad2b38190b15e4d6bdf0c97fb4fca8412226d287
with:
distribution: "temurin"
java-version: ${{ matrix.java }}
cache: "maven"
- name: Set up Docker Compose
uses: docker/setup-compose-action@16feee727cbdc83b6a014e6cc26fec4a79bcf30c # v2.2.0
with:
version: v2.40.3
- name: Run Kafka Connect ${{ matrix.kafka }} E2E Tests with Apache Kafka
run: |
echo "Running integration tests with Docker Compose file: ${COMPOSE_FILE}"
docker compose -f ${COMPOSE_FILE} pull
mvn --batch-mode --no-transfer-progress --errors --update-snapshots clean verify -Drevision=$(git describe --tags --always)
e2e-confluent:
strategy:
matrix:
os: [ubuntu-22.04]
java: ["17"]
kafka: ["7.9.5","8.1.1"]
fail-fast: false
runs-on: ${{ matrix.os }}
timeout-minutes: 15
env:
COMPOSE_FILE: "e2e/docker_compose_confluent.yaml"
KAFKA_VERSION: ${{ matrix.kafka }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@ad2b38190b15e4d6bdf0c97fb4fca8412226d287
with:
distribution: "temurin"
java-version: ${{ matrix.java }}
cache: "maven"
- name: Set up Docker Compose
uses: docker/setup-compose-action@16feee727cbdc83b6a014e6cc26fec4a79bcf30c # v2.2.0
with:
version: v2.40.3
- name: Run Confluent Kafka Platform ${{ matrix.kafka }} E2E Tests
run: |
echo "Running integration tests with Docker Compose file: ${COMPOSE_FILE}"
docker compose -f ${COMPOSE_FILE} pull
mvn --batch-mode --no-transfer-progress --errors --update-snapshots clean verify -Drevision=$(git describe --tags --always)
e2e-redpanda:
strategy:
matrix:
os: [ubuntu-22.04]
java: ["17"]
kafka: ["3.9.1","4.1.1"]
redpanda: ["v25.3.2"]
fail-fast: false
runs-on: ${{ matrix.os }}
timeout-minutes: 15
env:
KAFKA_VERSION: ${{ matrix.kafka }}
REDPANDA_VERSION: ${{ matrix.redpanda }}
COMPOSE_FILE: "e2e/docker_compose_redpanda.yaml"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@ad2b38190b15e4d6bdf0c97fb4fca8412226d287
with:
distribution: "temurin"
java-version: ${{ matrix.java }}
cache: "maven"
- name: Set up Docker Compose
uses: docker/setup-compose-action@16feee727cbdc83b6a014e6cc26fec4a79bcf30c # v2.2.0
with:
version: v2.40.3
- name: Run Kafka Connect ${{ matrix.kafka }} E2E Tests with Redpanda ${{ matrix.redpanda }}
run: |
echo "Running integration tests with Docker Compose file: ${COMPOSE_FILE}"
docker compose -f ${COMPOSE_FILE} pull
mvn --batch-mode --no-transfer-progress --errors --update-snapshots clean verify -Drevision=$(git describe --tags --always)