-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[improve][ci] Improve CI ssh access in forks, don't fail build if setting up ssh access fails #19127
[improve][ci] Improve CI ssh access in forks, don't fail build if setting up ssh access fails #19127
Conversation
a6e6bba
to
6d8ca0a
Compare
151480c
to
0ca1168
Compare
…ting up ssh access fails - address error message "flag needs an argument: --admin-socket" - wait up to 10 seconds for admin socket to appear - add "continue-on-error: true" to ssh setup step so that errors don't prevent the build from continuing
0ca1168
to
d56a9c1
Compare
/pulsarbot rerun-failure-checks |
Codecov Report
@@ Coverage Diff @@
## master #19127 +/- ##
============================================
- Coverage 47.73% 47.34% -0.39%
+ Complexity 10819 10716 -103
============================================
Files 712 712
Lines 69645 69645
Branches 7481 7481
============================================
- Hits 33242 32975 -267
- Misses 32699 32963 +264
- Partials 3704 3707 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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
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.
Merging... |
Motivation
The ssh access setup step that is part of Pulsar CI can fail in builds that are run in forks. The ssh access feature is active in CI builds run in forks to allow connecting to the running build with ssh for debugging purposes.
This is the ssh access setup step:
https://github.com/apache/pulsar/blob/master/.github/workflows/pulsar-ci.yaml#L88-L93
Sometime this fails with an error message "flag needs an argument: --admin-socket". Example of failure:
https://github.com/michaeljmarshall/pulsar/actions/runs/3833202322/jobs/6527659487#step:4:150
Modifications
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: lhotari#122