-
Notifications
You must be signed in to change notification settings - Fork 5
104 lines (96 loc) · 3.36 KB
/
e2e.yaml
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
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.7.1","3.8.0"]
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@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: "temurin"
java-version: ${{ matrix.java }}
cache: "maven"
- 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.5.4","7.6.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@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: "temurin"
java-version: ${{ matrix.java }}
cache: "maven"
- 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.7.1","3.8.0"]
redpanda: ["v24.2.1"]
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@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: "temurin"
java-version: ${{ matrix.java }}
cache: "maven"
- 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)