-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
[FLINK-12370][python][travis] Integrated Travis for Python Table API. #8392
Conversation
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
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.
@WeiZhong94 Thanks a lot for the PR. Have left a few comments.
tools/travis/stage.sh
Outdated
@@ -23,6 +23,7 @@ STAGE_LIBRARIES="libraries" | |||
STAGE_CONNECTORS="connectors" | |||
STAGE_TESTS="tests" | |||
STAGE_MISC="misc" | |||
STAGE_PYTHON="python" |
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.
Put this line under STAGE_CORE="core"
to keep the order same in .travis.yml
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.
Done.
tools/travis_python_watchdog.sh
Outdated
# limitations under the License. | ||
################################################################################ | ||
|
||
HERE="`dirname \"$0\"`" # relative |
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.
Most of the scripts of this file is same as travis_mvn_watchdog.sh. The only difference is how to execute the tests. What about moving the changes here to travis_mvn_watchdog.sh and do some refactoring of travis_mvn_watchdog.sh to make it work for both java and python? Maybe we should also rename travis_mvn_watchdog.sh to travis_watchdog.sh?
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.
That makes sense. I have combined them in the new commit.
…der stage variable
@dianfu Thanks for your review! I have addressed your comments. |
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.
@WeiZhong94 Thanks a lot for the update. The new PR LGTM. Have left just one minor comments.
tools/travis_watchdog.sh
Outdated
@@ -78,6 +83,24 @@ UPLOAD_SECRET_KEY=$ARTIFACTS_AWS_SECRET_KEY | |||
|
|||
ARTIFACTS_FILE=${TRAVIS_JOB_NUMBER}.tar.gz | |||
|
|||
if [ $TEST == $STAGE_PYTHON ]; 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.
remove the empty line
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.
Thanks for the PR. @WeiZhong94
LGTM. +1 to merged.
Best,Jincheng
I find one thing we need double check, is the cost of the testing, maybe there is a bug need fix(I am not sure, I will check it): |
We have two options for Python integration with Travis.
Of course, there are 2 aspects, 1. Independent stage 2. Is it integrated into MVN, that is, 2x2=4 options, I tend to the current PR. |
|
@sunjincheng121 Thanks for your review! Sorry for these mistakes. I have fixed them in the new commit and ensure the travis works correctly. |
…sage after python test finished.
Thanks for the fix @WeiZhong94 |
Brief change log: - Added python stage for Python API travis testing. - Integrated flink-python/dev/lint-python.sh for CI testing of the Python API. This closes apache#8392
What is the purpose of the change
This pull request integrates travis for Python Table API.
Brief change log
minimizeCachedFiles
logic to reserve files underflink-dist
directory and test jars.Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (no)Documentation