Repository navigation
HBASE-30572 [hbase-thirdparty] Migrate precommit checks from Jenkins … - #168
Merged
Merged
Conversation
Contributor
Author
|
This is the test result |
Contributor
Author
|
I've also disabled https://ci-hbase.apache.org/job/HBase-Thirdparty-PreCommit/ since it is already broken... |
ndimiduk
approved these changes
Nov 26, 2026
…to GitHub Actions Add GitHub Actions workflows mirroring the two precommit stages of the Jenkins Jenkinsfile, keeping the Jenkins setup intact while both run in parallel: - yetus-precommit-check.yml: Yetus test-patch in the dev-support/jenkins Docker image with PLUGINS=all,-jira (the jira plugin treats the GH:NNN issue key as a JIRA key and aborts the run), plus a zizmor job for workflow changes. Publishes a job summary via yetus_console_to_md.py and uploads the output as an artifact. - noop-htrace-dropin-check.yml: builds hbase-noop-htrace, swaps it in for the htrace jars of the released HBase 2.5.16 binary distribution (Hadoop 2 flavor) and of Hadoop 2.10.2, asserts no htrace*.jar remains and the noop jar is in place, and runs the pseudo-distributed smoke test from apache/hbase. Publishes a job summary with the drop-in swap details (which htrace jars were replaced where), the smoke test result, and log tails on failure, and uploads the full logs as an artifact. HBase 2.5+ code no longer uses HTrace, but the Hadoop 2 flavor of its binary distribution still bundles htrace-core4 in lib/client-facing-thirdparty because the shaded clients shade in Hadoop classes which load org.apache.htrace.core, and Hadoop 2.x ships htrace-core4 itself. The drop-in replaces those jars to drop their CVE-flagged transitive dependencies while keeping the API surface. The Hadoop 3 flavor is built against Hadoop 3.4.x and carries no htrace at all, and Hadoop 3.3.2+ dropped it as well, so no Hadoop 3 combination is tested. The yetus driver script now works both on Jenkins and GitHub Actions, and cache-apache-project-artifact.sh and yetus_console_to_md.py are vendored from apache/hbase so the workflows do not download scripts at CI time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…to GitHub Actions
Add GitHub Actions workflows mirroring the two precommit stages of the Jenkins Jenkinsfile, keeping the Jenkins setup intact while both run in parallel:
HBase 2.5+ code no longer uses HTrace, but the Hadoop 2 flavor of its binary distribution still bundles htrace-core4 in lib/client-facing-thirdparty because the shaded clients shade in Hadoop classes which load org.apache.htrace.core, and Hadoop 2.x ships htrace-core4 itself. The drop-in replaces those jars to drop their CVE-flagged transitive dependencies while keeping the API surface. The Hadoop 3 flavor is built against Hadoop 3.4.x and carries no htrace at all, and Hadoop 3.3.2+ dropped it as well, so no Hadoop 3 combination is tested.
The yetus driver script now works both on Jenkins and GitHub Actions, and cache-apache-project-artifact.sh and yetus_console_to_md.py are vendored from apache/hbase so the workflows do not download scripts at CI time.