File tree Expand file tree Collapse file tree 4 files changed +35
-9
lines changed
Expand file tree Collapse file tree 4 files changed +35
-9
lines changed Original file line number Diff line number Diff line change 1+ # ###############################################################################
2+ # Licensed to the Apache Software Foundation (ASF) under one
3+ # or more contributor license agreements. See the NOTICE file
4+ # distributed with this work for additional information
5+ # regarding copyright ownership. The ASF licenses this file
6+ # to you under the Apache License, Version 2.0 (the
7+ # "License"); you may not use this file except in compliance
8+ # with the License. You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing, software
13+ # distributed under the License is distributed on an "AS IS" BASIS,
14+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ # See the License for the specific language governing permissions and
16+ # limitations under the License.
17+ # ###############################################################################
18+
119# .github/workflows/ci-template.yaml
220name : CI Template
321
2543 distribution : ' temurin'
2644 - name : Build
2745 run : |
28- mvn -T 1C -B clean install -DskipTests ${{ steps.profile.outputs.maven_profile }}
46+ mvn -T 1C -B clean install -DskipTests
2947 - name : Test
3048 timeout-minutes : 60
3149 run : |
Original file line number Diff line number Diff line change 2222 - main
2323 - release-**
2424 - ci-**
25+ paths-ignore :
26+ - ' website/**'
27+ - ' **/*.md'
2528 pull_request :
2629 paths-ignore :
2730 - ' website/**'
2831 - ' **/*.md'
32+
2933concurrency :
3034 group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }}
3135 cancel-in-progress : true
4448 distribution : ' temurin'
4549 - name : Build
4650 run : |
47- mvn -T 1C -B clean install -DskipTests -Pjava8-target
51+ mvn -T 1C -B clean install -DskipTests -Pjava8
4852
4953 build-on-jdk11 :
5054 name : " Build Java 11"
Original file line number Diff line number Diff line change 1818name : Nightly
1919on :
2020 schedule :
21- # Run at 2:00 daily.
22- - cron : " 0 2 * * *"
21+ # Run at 20:00 UTC daily which is the lowest traffic time for Fluss project.
22+ - cron : " 0 20 * * *"
23+
2324concurrency :
2425 group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.number || github.run_id }}
2526 cancel-in-progress : true
3031 uses : ./.github/workflows/ci-template.yaml
3132 with :
3233 java-version : " 8"
33- maven-parameters : " -Pjava8-target "
34+ maven-parameters : " -Pjava8"
3435 strategy :
3536 fail-fast : false
3637 matrix :
Original file line number Diff line number Diff line change 426426
427427 <profiles >
428428 <profile >
429- <id >java8-target</id >
429+ <id >java8</id >
430+ <properties >
431+ <target .java.version>8</target .java.version>
432+ </properties >
430433 <build >
431434 <plugins >
432435 <plugin >
728731 <configuration >
729732 <rules >
730733 <requireMavenVersion >
731- <!-- enforce at least mvn version 3.1.1 (see FLINK-12447) -->
732- <version >[3.1.1 ,)</version >
734+ <!-- enforce at least mvn version 3.8.6 -->
735+ <version >[3.8.6 ,)</version >
733736 </requireMavenVersion >
734737 <requireJavaVersion >
735- <version >[1.8,) </version >
738+ <version >${target.java.version} </version >
736739 </requireJavaVersion >
737740 </rules >
738741 </configuration >
You can’t perform that action at this time.
0 commit comments