blob: 17505af636119f55ea41010f8648631fcdf4956b [file]
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
name: Merge Queue
on:
merge_group:
types: [checks_requested]
permissions:
contents: read
jobs:
merge-queue-build:
# Reuse the required "Build" context that pull requests already report.
# Required checks are shared by pull requests and merge groups.
name: Build
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout merge group
uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '8'
cache: maven
# Compile the standard modules with the CI profile.
- name: Compile main and test sources
uses: nick-fields/retry@v3
with:
timeout_minutes: 28
max_attempts: 3
retry_wait_seconds: 10
retry_on: error
command: |
./mvnw -B -T 1C -Pci clean install -DskipTests \
-D"license.skipAddThirdParty"=true -D"skip.ui"=true \
--no-snapshot-updates
# Build the opt-in seatunnel-benchmarks module with its dedicated profile.
- name: Compile benchmark main and test sources
uses: nick-fields/retry@v3
with:
timeout_minutes: 8
max_attempts: 3
retry_wait_seconds: 10
retry_on: error
command: |
./mvnw -B -Pbenchmark -pl seatunnel-benchmarks clean install -DskipTests \
-D"license.skipAddThirdParty"=true --no-snapshot-updates