This is an automated email from the ASF dual-hosted git repository. czweng pushed a commit to branch classloader-debug in repository https://gitbox.apache.org/repos/asf/paimon.git
commit 69aadd745695939d6093b5c2ddaaf0b705ecd859 Author: tsreaper <[email protected]> AuthorDate: Mon Aug 12 10:40:22 2024 +0800 debug --- .github/workflows/check-licensing.yml | 54 ---------------------- .github/workflows/docs-tests.yml | 46 ------------------- .github/workflows/e2e-tests-1.15-jdk11.yml | 58 ------------------------ .github/workflows/e2e-tests-1.15.yml | 58 ------------------------ .github/workflows/e2e-tests-1.16-jdk11.yml | 58 ------------------------ .github/workflows/e2e-tests-1.16.yml | 58 ------------------------ .github/workflows/e2e-tests-1.17-jdk11.yml | 58 ------------------------ .github/workflows/e2e-tests-1.17.yml | 57 ------------------------ .github/workflows/e2e-tests-1.18-jdk11.yml | 58 ------------------------ .github/workflows/e2e-tests-1.18.yml | 57 ------------------------ .github/workflows/e2e-tests-1.19-jdk11.yml | 58 ------------------------ .github/workflows/e2e-tests-1.19.yml | 57 ------------------------ .github/workflows/e2e-tests-1.20-jdk11.yml | 58 ------------------------ .github/workflows/e2e-tests-1.20.yml | 57 ------------------------ .github/workflows/flink-cdc-tests-jdk11.yml | 56 ----------------------- .github/workflows/flink-cdc-tests.yml | 56 ----------------------- .github/workflows/publish_snapshot.yml | 69 ----------------------------- .github/workflows/unitcase-flink-jdk11.yml | 62 -------------------------- .github/workflows/unitcase-jdk11.yml | 57 ------------------------ .github/workflows/utitcase-flink.yml | 61 ------------------------- 20 files changed, 1153 deletions(-) diff --git a/.github/workflows/check-licensing.yml b/.github/workflows/check-licensing.yml deleted file mode 100644 index 494a772e8..000000000 --- a/.github/workflows/check-licensing.yml +++ /dev/null @@ -1,54 +0,0 @@ -# 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: Check licensing - -on: [push, pull_request] - -concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - env: - MVN_COMMON_OPTIONS: -U -B --no-transfer-progress - MVN_BUILD_OUTPUT_FILE: "/tmp/mvn_build_output.out" - MVN_VALIDATION_DIR: "/tmp/paimon-validation-deployment" - - steps: - - uses: actions/checkout@v2 - - - name: Set JDK - uses: actions/setup-java@v2 - with: - java-version: 8 - distribution: 'adopt' - - name: Build - run: | - set -o pipefail - - mvn clean deploy ${{ env.MVN_COMMON_OPTIONS }} -DskipTests \ - -DaltDeploymentRepository=validation_repository::default::file:${{ env.MVN_VALIDATION_DIR }} \ - | tee ${{ env.MVN_BUILD_OUTPUT_FILE }} - - - name: Check licensing - run: | - mvn ${{ env.MVN_COMMON_OPTIONS }} exec:java@check-licensing -N \ - -Dexec.args="${{ env.MVN_BUILD_OUTPUT_FILE }} $(pwd) ${{ env.MVN_VALIDATION_DIR }}" \ - -Dlog4j.configurationFile=file://$(pwd)/tools/ci/log4j.properties - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/docs-tests.yml b/.github/workflows/docs-tests.yml deleted file mode 100644 index 1faec3ea3..000000000 --- a/.github/workflows/docs-tests.yml +++ /dev/null @@ -1,46 +0,0 @@ -# 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: docs-tests -on: - push: - pull_request: - paths: - - 'docs/**' - -concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 - with: - hugo-version: '0.124.1' - extended: true - - - name: Build - run: | - cd docs - # Fetch the theme submodule - git submodule update --init --recursive - hugo diff --git a/.github/workflows/e2e-tests-1.15-jdk11.yml b/.github/workflows/e2e-tests-1.15-jdk11.yml deleted file mode 100644 index ceca92985..000000000 --- a/.github/workflows/e2e-tests-1.15-jdk11.yml +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# 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: End to End Tests Flink 1.15 on JDK 11 - -on: - issue_comment: - types: [created, edited, deleted] - - # daily run - schedule: - - cron: "0 0 * * *" - -env: - JDK_VERSION: 11 - -jobs: - build: - if: | - github.event_name == 'schedule' || - (contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/jdk11')) - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink 1.15 - run: mvn -T 1C -B clean install -DskipTests -Pflink-1.15 - - name: Test Flink 1.15 - timeout-minutes: 60 - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone -Pflink-1.15 - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/e2e-tests-1.15.yml b/.github/workflows/e2e-tests-1.15.yml deleted file mode 100644 index 7248522c7..000000000 --- a/.github/workflows/e2e-tests-1.15.yml +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# 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: End to End Tests Flink 1.15 - -on: - push: - pull_request: - paths-ignore: - - 'docs/**' - - '**/*.md' - -env: - JDK_VERSION: 8 - -concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink 1.15 - run: mvn -T 1C -B clean install -DskipTests -Pflink-1.15 - - name: Test Flink 1.15 - timeout-minutes: 60 - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone -Pflink-1.15 - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/e2e-tests-1.16-jdk11.yml b/.github/workflows/e2e-tests-1.16-jdk11.yml deleted file mode 100644 index f072dcdb8..000000000 --- a/.github/workflows/e2e-tests-1.16-jdk11.yml +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# 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: End to End Tests Flink 1.16 on JDK 11 - -on: - issue_comment: - types: [created, edited, deleted] - - # daily run - schedule: - - cron: "0 0 * * *" - -env: - JDK_VERSION: 11 - -jobs: - build: - if: | - github.event_name == 'schedule' || - (contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/jdk11')) - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink 1.16 - run: mvn -T 1C -B clean install -DskipTests -Pflink-1.16 - - name: Test Flink 1.16 - timeout-minutes: 60 - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone -Pflink-1.16 - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/e2e-tests-1.16.yml b/.github/workflows/e2e-tests-1.16.yml deleted file mode 100644 index f655506c4..000000000 --- a/.github/workflows/e2e-tests-1.16.yml +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# 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: End to End Tests Flink 1.16 - -on: - push: - pull_request: - paths-ignore: - - 'docs/**' - - '**/*.md' - -env: - JDK_VERSION: 8 - -concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink 1.16 - run: mvn -T 1C -B clean install -DskipTests -Pflink-1.16 - - name: Test Flink 1.16 - timeout-minutes: 60 - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone -Pflink-1.16 - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/e2e-tests-1.17-jdk11.yml b/.github/workflows/e2e-tests-1.17-jdk11.yml deleted file mode 100644 index 912bd0cbd..000000000 --- a/.github/workflows/e2e-tests-1.17-jdk11.yml +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# 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: End to End Tests Flink 1.17 on JDK 11 - -on: - issue_comment: - types: [created, edited, deleted] - - # daily run - schedule: - - cron: "0 0 * * *" - -env: - JDK_VERSION: 11 - -jobs: - build: - if: | - github.event_name == 'schedule' || - (contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/jdk11')) - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink 1.17 - run: mvn -T 1C -B clean install -DskipTests -Pflink-1.17 - - name: Test Flink 1.17 - timeout-minutes: 60 - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone -Pflink-1.17 - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/e2e-tests-1.17.yml b/.github/workflows/e2e-tests-1.17.yml deleted file mode 100644 index 12d4836b1..000000000 --- a/.github/workflows/e2e-tests-1.17.yml +++ /dev/null @@ -1,57 +0,0 @@ -################################################################################ -# 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: End to End Tests Flink 1.17 - -on: - push: - pull_request: - paths-ignore: - - 'docs/**' - - '**/*.md' - -env: - JDK_VERSION: 8 - -concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink 1.17 - run: mvn -T 1C -B clean install -DskipTests -Pflink-1.17 - - name: Test Flink 1.17 - timeout-minutes: 60 - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone -Pflink-1.17 - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/e2e-tests-1.18-jdk11.yml b/.github/workflows/e2e-tests-1.18-jdk11.yml deleted file mode 100644 index b924a3b07..000000000 --- a/.github/workflows/e2e-tests-1.18-jdk11.yml +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# 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: End to End Tests Flink 1.18 on JDK 11 - -on: - issue_comment: - types: [created, edited, deleted] - - # daily run - schedule: - - cron: "0 0 * * *" - -env: - JDK_VERSION: 11 - -jobs: - build: - if: | - github.event_name == 'schedule' || - (contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/jdk11')) - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink 1.18 - run: mvn -T 1C -B clean install -DskipTests - - name: Test Flink 1.18 - timeout-minutes: 60 - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone -Pflink-1.18 - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/e2e-tests-1.18.yml b/.github/workflows/e2e-tests-1.18.yml deleted file mode 100644 index 2f566004a..000000000 --- a/.github/workflows/e2e-tests-1.18.yml +++ /dev/null @@ -1,57 +0,0 @@ -################################################################################ -# 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: End to End Tests Flink 1.18 - -on: - push: - pull_request: - paths-ignore: - - 'docs/**' - - '**/*.md' - -env: - JDK_VERSION: 8 - -concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink 1.18 - run: mvn -T 1C -B clean install -DskipTests - - name: Test Flink 1.18 - timeout-minutes: 60 - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone -Pflink-1.18 - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/e2e-tests-1.19-jdk11.yml b/.github/workflows/e2e-tests-1.19-jdk11.yml deleted file mode 100644 index 5a809aeae..000000000 --- a/.github/workflows/e2e-tests-1.19-jdk11.yml +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# 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: End to End Tests Flink 1.19 on JDK 11 - -on: - issue_comment: - types: [created, edited, deleted] - - # daily run - schedule: - - cron: "0 0 * * *" - -env: - JDK_VERSION: 11 - -jobs: - build: - if: | - github.event_name == 'schedule' || - (contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/jdk11')) - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink 1.19 - run: mvn -T 1C -B clean install -DskipTests - - name: Test Flink 1.19 - timeout-minutes: 60 - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone -Pflink-1.19 - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/e2e-tests-1.19.yml b/.github/workflows/e2e-tests-1.19.yml deleted file mode 100644 index b9444b89f..000000000 --- a/.github/workflows/e2e-tests-1.19.yml +++ /dev/null @@ -1,57 +0,0 @@ -################################################################################ -# 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: End to End Tests Flink 1.19 - -on: - push: - pull_request: - paths-ignore: - - 'docs/**' - - '**/*.md' - -env: - JDK_VERSION: 8 - -concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink 1.19 - run: mvn -T 1C -B clean install -DskipTests - - name: Test Flink 1.19 - timeout-minutes: 60 - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone -Pflink-1.19 - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/e2e-tests-1.20-jdk11.yml b/.github/workflows/e2e-tests-1.20-jdk11.yml deleted file mode 100644 index 968ea74b9..000000000 --- a/.github/workflows/e2e-tests-1.20-jdk11.yml +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# 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: End to End Tests Flink 1.20 on JDK 11 - -on: - issue_comment: - types: [created, edited, deleted] - - # daily run - schedule: - - cron: "0 0 * * *" - -env: - JDK_VERSION: 11 - -jobs: - build: - if: | - github.event_name == 'schedule' || - (contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/jdk11')) - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink 1.20 - run: mvn -T 1C -B clean install -DskipTests - - name: Test Flink 1.20 - timeout-minutes: 60 - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/e2e-tests-1.20.yml b/.github/workflows/e2e-tests-1.20.yml deleted file mode 100644 index a511a87d4..000000000 --- a/.github/workflows/e2e-tests-1.20.yml +++ /dev/null @@ -1,57 +0,0 @@ -################################################################################ -# 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: End to End Tests Flink 1.20 - -on: - push: - pull_request: - paths-ignore: - - 'docs/**' - - '**/*.md' - -env: - JDK_VERSION: 8 - -concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink 1.20 - run: mvn -T 1C -B clean install -DskipTests - - name: Test Flink 1.20 - timeout-minutes: 60 - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone - env: - MAVEN_OPTS: -Xmx4096m diff --git a/.github/workflows/flink-cdc-tests-jdk11.yml b/.github/workflows/flink-cdc-tests-jdk11.yml deleted file mode 100644 index b7a60f612..000000000 --- a/.github/workflows/flink-cdc-tests-jdk11.yml +++ /dev/null @@ -1,56 +0,0 @@ -################################################################################ -# 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: Flink CDC Tests on JDK 11 - -on: - issue_comment: - types: [created, edited, deleted] - - # daily run - schedule: - - cron: "0 0 * * *" - -env: - JDK_VERSION: 11 - -jobs: - build: - if: | - github.event_name == 'schedule' || - (contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/jdk11')) - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink CDC - run: mvn -T 1C -B clean install -DskipTests - - name: Test Flink CDC - timeout-minutes: 60 - run: | - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B clean install -pl 'org.apache.paimon:paimon-flink-cdc' -Duser.timezone=$jvm_timezone - env: - MAVEN_OPTS: -Xmx4096m diff --git a/.github/workflows/flink-cdc-tests.yml b/.github/workflows/flink-cdc-tests.yml deleted file mode 100644 index 8857f8b58..000000000 --- a/.github/workflows/flink-cdc-tests.yml +++ /dev/null @@ -1,56 +0,0 @@ -################################################################################ -# 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: Flink CDC Tests - -on: - push: - pull_request: - paths-ignore: - - 'docs/**' - - '**/*.md' - -env: - JDK_VERSION: 8 - -concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink CDC - run: mvn -T 1C -B clean install -DskipTests - - name: Test Flink CDC - timeout-minutes: 60 - run: | - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B clean install -pl 'org.apache.paimon:paimon-flink-cdc' -Duser.timezone=$jvm_timezone - env: - MAVEN_OPTS: -Xmx4096m diff --git a/.github/workflows/publish_snapshot.yml b/.github/workflows/publish_snapshot.yml deleted file mode 100644 index 7d370814d..000000000 --- a/.github/workflows/publish_snapshot.yml +++ /dev/null @@ -1,69 +0,0 @@ -################################################################################ -# 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: Publish Snapshot - -on: - schedule: - # At the end of every day - - cron: '0 0 * * *' - workflow_dispatch: - -env: - JDK_VERSION: 8 - -concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }} - cancel-in-progress: true - -jobs: - publish-snapshot: - if: github.repository == 'apache/paimon' - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - # temporarily publish the jdk8 version to maven - # lately when jdk is deprecated, we need update it to jdk11 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Cache local Maven repository - uses: actions/cache@v3 - with: - path: ~/.m2/repository - key: snapshot-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - snapshot-maven- - - name: Publish snapshot - env: - ASF_USERNAME: ${{ secrets.NEXUS_USER }} - ASF_PASSWORD: ${{ secrets.NEXUS_PW }} - MAVEN_OPTS: -Xmx4096m - run: | - tmp_settings="tmp-settings.xml" - echo "<settings><servers><server>" > $tmp_settings - echo "<id>apache.snapshots.https</id><username>$ASF_USERNAME</username>" >> $tmp_settings - echo "<password>$ASF_PASSWORD</password>" >> $tmp_settings - echo "</server></servers></settings>" >> $tmp_settings - - mvn --settings $tmp_settings clean deploy -Dgpg.skip -Drat.skip -DskipTests -Papache-release - - rm $tmp_settings diff --git a/.github/workflows/unitcase-flink-jdk11.yml b/.github/workflows/unitcase-flink-jdk11.yml deleted file mode 100644 index 42dfe8442..000000000 --- a/.github/workflows/unitcase-flink-jdk11.yml +++ /dev/null @@ -1,62 +0,0 @@ -################################################################################ -# 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: UTCase and ITCase Flink on JDK 11 - -on: - issue_comment: - types: [created, edited, deleted] - - # daily run - schedule: - - cron: "0 0 * * *" - -env: - JDK_VERSION: 11 - -jobs: - build: - if: | - github.event_name == 'schedule' || - (contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/jdk11')) - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink - run: mvn -T 1C -B clean install -DskipTests - - name: Test Flink - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - test_modules="" - for suffix in 1.15 1.16 1.17 1.18 1.19 1.20 common; do - test_modules+="org.apache.paimon:paimon-flink-${suffix}," - done - test_modules="${test_modules%,}" - mvn -T 1C -B clean install -pl "${test_modules}" -Duser.timezone=$jvm_timezone - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/unitcase-jdk11.yml b/.github/workflows/unitcase-jdk11.yml deleted file mode 100644 index 1baed87f9..000000000 --- a/.github/workflows/unitcase-jdk11.yml +++ /dev/null @@ -1,57 +0,0 @@ -################################################################################ -# 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: UTCase and ITCase Non Flink on JDK 11 - -on: - issue_comment: - types: [created, edited, deleted] - - # daily run - schedule: - - cron: "0 0 * * *" - -env: - JDK_VERSION: 11 - -jobs: - build: - if: | - github.event_name == 'schedule' || - (contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/jdk11')) - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build - run: mvn -T 1C -B clean install -DskipTests - - name: Test - run: | - # run tests with random timezone to find out timezone related bugs - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - mvn -T 1C -B clean install -pl '!paimon-e2e-tests,!org.apache.paimon:paimon-hive-connector-3.1' -Pskip-paimon-flink-tests -Duser.timezone=$jvm_timezone - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file diff --git a/.github/workflows/utitcase-flink.yml b/.github/workflows/utitcase-flink.yml deleted file mode 100644 index c39f4a7c4..000000000 --- a/.github/workflows/utitcase-flink.yml +++ /dev/null @@ -1,61 +0,0 @@ -################################################################################ -# 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: UTCase and ITCase Flink - -on: - push: - pull_request: - paths-ignore: - - 'docs/**' - - '**/*.md' - -env: - JDK_VERSION: 8 - -concurrency: - group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Set up JDK ${{ env.JDK_VERSION }} - uses: actions/setup-java@v2 - with: - java-version: ${{ env.JDK_VERSION }} - distribution: 'adopt' - - name: Build Flink - run: mvn -T 1C -B clean install -DskipTests - - name: Test Flink - timeout-minutes: 60 - run: | - . .github/workflows/utils.sh - jvm_timezone=$(random_timezone) - echo "JVM timezone is set to $jvm_timezone" - test_modules="" - for suffix in 1.15 1.16 1.17 1.18 1.19 1.20 common; do - test_modules+="org.apache.paimon:paimon-flink-${suffix}," - done - test_modules="${test_modules%,}" - mvn -T 1C -B clean install -pl "${test_modules}" -Duser.timezone=$jvm_timezone - env: - MAVEN_OPTS: -Xmx4096m \ No newline at end of file
