Skip to content

Commit 6bba270

Browse files
authored
Merge pull request #7302 from NvTimLiu/release-tmp
Merge branch 'branch-22.12' into main [skip ci]
2 parents f99811a + 9b1b9d3 commit 6bba270

File tree

404 files changed

+21555
-6399
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404 files changed

+21555
-6399
lines changed

.github/workflows/add-to-project.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,23 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
name: Add new issues to project
15+
name: Add new issues and pull requests to project
1616

1717
on:
1818
issues:
1919
types:
2020
- opened
21+
pull_request_target:
22+
types:
23+
- opened
2124

2225
jobs:
2326
add-to-project:
2427
if: github.repository == 'NVIDIA/spark-rapids'
25-
name: Add new issues to project
28+
name: Add new issues and pull requests to project
2629
runs-on: ubuntu-latest
2730
steps:
31+
# TODO: update project version when new release supports node 16 instead of 12
2832
- uses: actions/add-to-project@v0.3.0
2933
with:
3034
project-url: https://github.com/orgs/NVIDIA/projects/4

.github/workflows/auto-merge.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ name: auto-merge HEAD to BASE
1818
on:
1919
pull_request_target:
2020
branches:
21-
- branch-22.10
21+
- branch-22.12
2222
types: [closed]
2323

2424
jobs:
@@ -27,15 +27,15 @@ jobs:
2727
runs-on: ubuntu-latest
2828

2929
steps:
30-
- uses: actions/checkout@v2
30+
- uses: actions/checkout@v3
3131
with:
32-
ref: branch-22.10 # force to fetch from latest upstream instead of PR ref
32+
ref: branch-22.12 # force to fetch from latest upstream instead of PR ref
3333

3434
- name: auto-merge job
3535
uses: ./.github/workflows/auto-merge
3636
env:
3737
OWNER: NVIDIA
3838
REPO_NAME: spark-rapids
39-
HEAD: branch-22.10
40-
BASE: branch-22.12
39+
HEAD: branch-22.12
40+
BASE: branch-23.02
4141
AUTOMERGE_TOKEN: ${{ secrets.AUTOMERGE_TOKEN }} # use to merge PR

.github/workflows/blossom-ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ jobs:
6565
NVnavkumar,\
6666
amahussein,\
6767
mattahrens,\
68-
sinkinben,\
69-
thirtiseven,\
7068
YanxuanLiu,\
7169
cindyyuanjiang,\
7270
', format('{0},', github.actor)) && github.event.comment.body == 'build'
@@ -84,17 +82,18 @@ jobs:
8482
runs-on: ubuntu-latest
8583
steps:
8684
- name: Checkout code
87-
uses: actions/checkout@v2
85+
uses: actions/checkout@v3
8886
with:
8987
repository: ${{ fromJson(needs.Authorization.outputs.args).repo }}
9088
ref: ${{ fromJson(needs.Authorization.outputs.args).ref }}
9189
lfs: 'true'
9290

9391
# repo specific steps
9492
- name: Setup java
95-
uses: actions/setup-java@v1
93+
uses: actions/setup-java@v3
9694
with:
97-
java-version: 1.8
95+
distribution: adopt
96+
java-version: 8
9897

9998
# add blackduck properties https://synopsys.atlassian.net/wiki/spaces/INTDOCS/pages/631308372/Methods+for+Configuring+Analysis#Using-a-configuration-file
10099
- name: Setup blackduck properties

.github/workflows/markdown-links-check/markdown-links-check-config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
},
99
{
1010
"pattern": "/docs/archives"
11+
},
12+
{
13+
"pattern": "http://localhost*"
1114
}
1215
],
1316
"timeout": "15s",

.github/workflows/mvn-verify-check.yml

Lines changed: 64 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,48 +24,61 @@ concurrency:
2424
cancel-in-progress: true
2525

2626
jobs:
27-
get-noSnapshot-versions-from-dist:
27+
get-shim-versions-from-dist:
2828
runs-on: ubuntu-latest
2929
outputs:
30-
sparkHeadVersion: ${{ steps.noSnapshotVersionsStep.outputs.headVersion }}
31-
sparkTailVersions: ${{ steps.noSnapshotVersionsStep.outputs.tailVersions }}
30+
sparkHeadVersion: ${{ steps.allShimVersionsStep.outputs.headVersion }}
31+
sparkTailVersions: ${{ steps.allShimVersionsStep.outputs.tailVersions }}
32+
sparkJDK11Versions: ${{ steps.allShimVersionsStep.outputs.jdk11Versions }}
3233
steps:
33-
- uses: actions/checkout@v2 # refs/pull/:prNumber/merge
34+
- uses: actions/checkout@v3 # refs/pull/:prNumber/merge
3435

3536
- name: Setup Java and Maven Env
3637
uses: actions/setup-java@v3
3738
with:
3839
distribution: adopt
3940
java-version: 8
4041

41-
- name: all noSnapshot versions
42-
id: noSnapshotVersionsStep
42+
- name: all shim versions
43+
id: allShimVersionsStep
4344
run: |
4445
set -x
4546
. jenkins/version-def.sh
46-
svArrBody=$(printf ",{\"spark-version\":\"%s\"}" "${SPARK_SHIM_VERSIONS_NOSNAPSHOTS_TAIL[@]}")
47-
svArrBody=${svArrBody:1}
48-
svJsonStr=$(printf {\"include\":[%s]} $svArrBody)
49-
echo ::set-output name=headVersion::$SPARK_BASE_SHIM_VERSION
50-
echo ::set-output name=tailVersions::$svJsonStr
51-
52-
package-aggregator:
53-
needs: get-noSnapshot-versions-from-dist
47+
svArrBodyNoSnapshot=$(printf ",{\"spark-version\":\"%s\",\"isSnapshot\":false}" "${SPARK_SHIM_VERSIONS_NOSNAPSHOTS_TAIL[@]}")
48+
svArrBodyNoSnapshot=${svArrBodyNoSnapshot:1}
49+
svArrBodySnapshot=$(printf ",{\"spark-version\":\"%s\",\"isSnapshot\":true}" "${SPARK_SHIM_VERSIONS_SNAPSHOTS_ONLY[@]}")
50+
51+
# add snapshot versions which are not in snapshot property in pom file
52+
svArrBodySnapshot+=$(printf ",{\"spark-version\":\"%s\",\"isSnapshot\":true}" 340)
53+
svArrBodySnapshot=${svArrBodySnapshot:1}
54+
svJsonStr=$(printf {\"include\":[%s]} $svArrBodyNoSnapshot,$svArrBodySnapshot)
55+
echo "headVersion=$SPARK_BASE_SHIM_VERSION" >> $GITHUB_OUTPUT
56+
echo "tailVersions=$svJsonStr" >> $GITHUB_OUTPUT
57+
jdkVersionArrBody=$(printf ",{\"spark-version\":\"%s\"}" "${SPARK_SHIM_VERSIONS_JDK11[@]}")
58+
jdkVersionArrBody=${jdkVersionArrBody:1}
59+
jdkVersionJsonStr=$(printf {\"include\":[%s]} $jdkVersionArrBody)
60+
echo "jdk11Versions=$jdkVersionJsonStr" >> $GITHUB_OUTPUT
61+
62+
package-tests:
63+
needs: get-shim-versions-from-dist
64+
continue-on-error: ${{ matrix.isSnapshot }}
5465
strategy:
55-
matrix: ${{ fromJSON(needs.get-noSnapshot-versions-from-dist.outputs.sparkTailVersions) }}
66+
matrix: ${{ fromJSON(needs.get-shim-versions-from-dist.outputs.sparkTailVersions) }}
67+
fail-fast: false
5668
runs-on: ubuntu-latest
5769
steps:
58-
- uses: actions/checkout@v2 # refs/pull/:prNumber/merge
70+
- uses: actions/checkout@v3 # refs/pull/:prNumber/merge
5971

6072
- name: Setup Java and Maven Env
6173
uses: actions/setup-java@v3
6274
with:
6375
distribution: adopt
6476
java-version: 8
6577

66-
- name: package aggregator check
78+
- name: package tests check
6779
run: >
68-
mvn -Dmaven.wagon.http.retryHandler.count=3 -B package -pl aggregator -am
80+
mvn -Dmaven.wagon.http.retryHandler.count=3 -B package
81+
-pl integration_tests,tests -am
6982
-P 'individual,pre-merge'
7083
-Dbuildver=${{ matrix.spark-version }}
7184
-DskipTests
@@ -74,11 +87,12 @@ jobs:
7487
-Dmaven.scalastyle.skip=true
7588
-Drat.skip=true
7689
90+
7791
verify-all-modules-with-headSparkVersion:
78-
needs: get-noSnapshot-versions-from-dist
92+
needs: get-shim-versions-from-dist
7993
runs-on: ubuntu-latest
8094
steps:
81-
- uses: actions/checkout@v2 # refs/pull/:prNumber/merge
95+
- uses: actions/checkout@v3 # refs/pull/:prNumber/merge
8296

8397
- name: Setup Java and Maven Env
8498
uses: actions/setup-java@v3
@@ -91,7 +105,36 @@ jobs:
91105
run: >
92106
mvn -Dmaven.wagon.http.retryHandler.count=3 -B verify
93107
-P 'individual,pre-merge'
94-
-Dbuildver=${{ needs.get-noSnapshot-versions-from-dist.outputs.sparkHeadVersion }}
108+
-Dbuildver=${{ needs.get-shim-versions-from-dist.outputs.sparkHeadVersion }}
109+
-DskipTests
110+
-Dskip
111+
-Dmaven.javadoc.skip
112+
113+
verify-modules-with-jdk11:
114+
needs: get-shim-versions-from-dist
115+
runs-on: ubuntu-latest
116+
strategy:
117+
matrix: ${{ fromJSON(needs.get-shim-versions-from-dist.outputs.sparkJDK11Versions) }}
118+
steps:
119+
- uses: actions/checkout@v3 # refs/pull/:prNumber/merge
120+
121+
- name: Setup Java and Maven Env
122+
uses: actions/setup-java@v3
123+
with:
124+
distribution: adopt
125+
java-version: 11
126+
127+
- name: Build JDK11
128+
run: >
129+
mvn -Dmaven.wagon.http.retryHandler.count=3 -B verify
130+
-P 'individual,pre-merge'
131+
-Dbuildver=${{ matrix.spark-version }}
132+
-Dmaven.compiler.release=11
133+
-Dmaven.compiler.source=11
134+
-Dmaven.compiler.target=11
135+
-Dscala.plugin.version=4.6.1
136+
-DallowConventionalDistJar=true
95137
-DskipTests
96138
-Dskip
97139
-Dmaven.javadoc.skip
140+

.github/workflows/signoff-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2020, NVIDIA CORPORATION.
1+
# Copyright (c) 2020-2022, NVIDIA CORPORATION.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ jobs:
2323
signoff-check:
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v3
2727

2828
- name: sigoff-check job
2929
uses: ./.github/workflows/signoff-check

0 commit comments

Comments
 (0)