Skip to content

Java E2E

Java E2E #1705

Workflow file for this run

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)