Skip to content

Commit

Permalink
Flink: Remove Flink 1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
hililiwei authored and stevenzwu committed Apr 8, 2023
1 parent 3afa71a commit 16e2574
Show file tree
Hide file tree
Showing 238 changed files with 3 additions and 41,886 deletions.
33 changes: 1 addition & 32 deletions .github/workflows/flink-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,44 +56,13 @@ concurrency:

jobs:

# Only test the latest flink version with scala 2.11 for saving testing time.
flink-scala-2-11-tests:
runs-on: ubuntu-22.04
strategy:
matrix:
jvm: [ 8, 11 ]
flink: [ '1.14' ]
env:
SPARK_LOCAL_IP: localhost
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: zulu
java-version: ${{ matrix.jvm }}
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: ${{ runner.os }}-gradle-
- run: echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
- run: ./gradlew -DsparkVersions= -DhiveVersions= -DflinkVersions=${{ matrix.flink }} :iceberg-flink:iceberg-flink-${{ matrix.flink }}:check :iceberg-flink:iceberg-flink-runtime-${{ matrix.flink }}:check -DscalaVersion=2.11 -DknownScalaVersions=2.11 -Pquick=true -x javadoc
- uses: actions/upload-artifact@v3
if: failure()
with:
name: test logs
path: |
**/build/testlogs
# Test all flink versions with scala 2.12 for general validation.
flink-scala-2-12-tests:
runs-on: ubuntu-22.04
strategy:
matrix:
jvm: [8, 11]
flink: ['1.14', '1.15', '1.16']
flink: ['1.15', '1.16']
env:
SPARK_LOCAL_IP: localhost
steps:
Expand Down
2 changes: 1 addition & 1 deletion dev/stage-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#

SCALA_VERSION=2.12
FLINK_VERSIONS=1.14,1.15,1.16
FLINK_VERSIONS=1.15,1.16
SPARK_VERSIONS=2.4,3.1,3.2,3.3
HIVE_VERSIONS=2,3

Expand Down
4 changes: 0 additions & 4 deletions flink/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@

def flinkVersions = (System.getProperty("flinkVersions") != null ? System.getProperty("flinkVersions") : System.getProperty("defaultFlinkVersions")).split(",")

if (flinkVersions.contains("1.14")) {
apply from: file("$projectDir/v1.14/build.gradle")
}

if (flinkVersions.contains("1.15")) {
apply from: file("$projectDir/v1.15/build.gradle")
}
Expand Down
249 changes: 0 additions & 249 deletions flink/v1.14/build.gradle

This file was deleted.

Loading

0 comments on commit 16e2574

Please sign in to comment.