Skip to content

Commit

Permalink
DO NOT MERGE [FLINK-36332] turn off maven build to speed up testing
Browse files Browse the repository at this point in the history
  • Loading branch information
SamBarker committed Oct 15, 2024
1 parent 09a0a20 commit 8617baf
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,45 +32,45 @@ concurrency:
cancel-in-progress: true

jobs:
test_ci:
runs-on: ubuntu-latest
name: maven build
strategy:
matrix:
java-version: [ 11, 17, 21 ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: |
mvn -B clean install javadoc:javadoc -Pgenerate-docs
if [[ $(git diff HEAD | wc -l) -gt 0 ]]; then
echo "Please generate the java doc via 'mvn clean install -DskipTests -Pgenerate-docs' again"
exit 1
fi
- name: Validate helm chart linting
run: |
helm lint helm/flink-kubernetes-operator
- name: Tests in flink-kubernetes-operator
run: |
cd flink-kubernetes-operator
mvn -B verify -Dit.skip=false
cd ..
- name: Tests in flink-kubernetes-webhook
run: |
cd flink-kubernetes-webhook
mvn -B verify -Dit.skip=false
cd ..
- name: Tests in flink-autoscaler-plugin-jdbc
run: |
cd flink-autoscaler-plugin-jdbc
mvn -B verify -Dit.skip=false
cd ..
# test_ci:
# runs-on: ubuntu-latest
# name: maven build
# strategy:
# matrix:
# java-version: [ 11, 17, 21 ]
# steps:
# - uses: actions/checkout@v4
# - name: Set up JDK ${{ matrix.java-version }}
# uses: actions/setup-java@v4
# with:
# java-version: ${{ matrix.java-version }}
# distribution: 'temurin'
# cache: 'maven'
# - name: Build with Maven
# run: |
# mvn -B clean install javadoc:javadoc -Pgenerate-docs
# if [[ $(git diff HEAD | wc -l) -gt 0 ]]; then
# echo "Please generate the java doc via 'mvn clean install -DskipTests -Pgenerate-docs' again"
# exit 1
# fi
# - name: Validate helm chart linting
# run: |
# helm lint helm/flink-kubernetes-operator
# - name: Tests in flink-kubernetes-operator
# run: |
# cd flink-kubernetes-operator
# mvn -B verify -Dit.skip=false
# cd ..
# - name: Tests in flink-kubernetes-webhook
# run: |
# cd flink-kubernetes-webhook
# mvn -B verify -Dit.skip=false
# cd ..
# - name: Tests in flink-autoscaler-plugin-jdbc
# run: |
# cd flink-autoscaler-plugin-jdbc
# mvn -B verify -Dit.skip=false
# cd ..
e2e_smoke_test:
name: Smoke test
strategy:
Expand Down

0 comments on commit 8617baf

Please sign in to comment.