-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use dist/pom file as source of truth for spark versions #6437
Conversation
Signed-off-by: YanxuanLiu <[email protected]>
Signed-off-by: YanxuanLiu <[email protected]>
build |
Please update the PR description to describe what is changing. The title will go into the changelog, so a good description is important. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as Sameer said. Please change the title to a meaningful one and update desc, thx~
Signed-off-by: YanxuanLiu <[email protected]>
build |
Signed-off-by: YanxuanLiu <[email protected]>
Signed-off-by: YanxuanLiu <[email protected]>
build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. The only real comment is to try to get rid of "31*". Other comments are nits.
Signed-off-by: YanxuanLiu <[email protected]>
Signed-off-by: YanxuanLiu <[email protected]>
Signed-off-by: YanxuanLiu <[email protected]>
Signed-off-by: YanxuanLiu <[email protected]>
Signed-off-by: YanxuanLiu <[email protected]>
Signed-off-by: YanxuanLiu <[email protected]>
Signed-off-by: YanxuanLiu <[email protected]>
build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
build |
retrigger after the regex fix |
jenkins/common.sh
Outdated
@@ -0,0 +1,23 @@ | |||
#!/bin/bash | |||
# | |||
# Copyright (c) 2020-2022, NVIDIA CORPORATION. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license: # Copyright (c) 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Would be nice to wait for the premerge run and check the actual log
jenkins/spark-premerge-build.sh
Outdated
# build and run unit tests on one 3.1.X version (base version covers this), one 3.2.X and one 3.3.X version | ||
if [[ "${TEST_SPARK_SHIM_VERSIONS[*]}" =~ "$version" ]]; then | ||
# build and run unit test | ||
if [[ "${SPARK_SHIM_VERSIONS_TEST[@]}" =~ "$version" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another thing to mention is that we separate some UT to ci_2 stage for balancing the duration of different stages, I think we could still have some hardcode exception here to put a heads-up of versions moved to other paralleled stages
https://github.com/NVIDIA/spark-rapids/blob/branch-22.10/jenkins/spark-premerge-build.sh#L136-L139
would be better to have premergeUT1
and premergeUT2
Signed-off-by: YanxuanLiu <[email protected]>
build |
Signed-off-by: YanxuanLiu <[email protected]>
Signed-off-by: YanxuanLiu <[email protected]>
build |
failed unrelated #6558. will retrigger after the issue is resolved |
jenkins/spark-premerge-build.sh
Outdated
$MVN_INSTALL_CMD -Dbuildver=$version | ||
fi | ||
done | ||
|
||
# enable UTF-8 for regular expression tests | ||
env -u SPARK_HOME LC_ALL="en_US.UTF-8" $MVN_CMD $MVN_URM_MIRROR -Dbuildver=320 test $MVN_BUILD_ARGS \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another hardcoding overlooked: Should it be $SPARK_SHIM_VERSIONS_PREMERGE_UT_1
or some dedicated variable. Would be good if didn't have to come back to this file when we are going to update versions in dist/pom.
Signed-off-by: YanxuanLiu <[email protected]>
build |
build |
Looks like previous trigger met internal gitlab 500 error and fail to start the corresponding jenkins pipeline |
fixes #5086
Signed-off-by: YanxuanLiu [email protected]
snapshot and released spark shims versions list should take dist/pom file as source of truth instead of define in multiple places with hard code.
modifications: