-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-29787 Run Yetus General Checks as a GitHub Action (addendum) #7638
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
base: master
Are you sure you want to change the base?
Conversation
Conditionally execute publishing to nightlies.
|
🎊 +1 overall
This message was automatically generated. |
|
Context on https://issues.apache.org/jira/browse/INFRA-27571 . I'm not sure if this tweak will actually work without merging it, though maybe the PR from my external repo will teach us something. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
Hmm strange. Nothing at all from GHA on #7639 |
|
How do other projects which use GHA store the build result? |
|
https://github.com/apache/dubbo/actions/runs/21034081969/job/60477885181?pr=16005 This project just uploads the artifacts to github. https://github.com/apache/dubbo/blob/3.3/.github/workflows/build-and-test-pr.yml |
|
OK, we also upload the yetus output to artifacts on github. So what do we want to upload to nightlies? Can we also upload them to github artifacts? |
|
I started by uploading to GH artifacts, not using nightlies. The trouble is with the links out from the report on the comment -- they need a url for each plugin's output. GH artifacts does not support this. With multiple artifact files (we ship everything from the build) it only permits you to upload an archive and there's no way to deep link into the contents of that archive. So, no links. I built out nightlies support thinking that would be a solution. To migrate to GHA, it appears that all failures need to be reported to the Checks API. We can use Annotations as well, but not all of our plugins support this (our spotless appears to be one such plugin). For all the plugins we want to run, we'll need to ensure that they report any details properly via annotation. Of course, a human can still download the entire test-patch archive bundle, but the need to know where to find it in the Actions run UI. |
|
Argh this means we don't have use of the hide-old-comments feature either. That will get annoying fast. I'm going to remove reliance on secrets in this addendum. Let's looks more closely at what remains. For hiding old comments, I guess we could implement a cron action. Let me add that and y'all can tell me what you think. And let me see if it's a simple thing to add linecomment support to our spotless extension. |
Conditionally execute publishing to nightlies.